bde-liste/static/css/main.css

218 lines
3.5 KiB
CSS

@import url('https://fonts.cdnfonts.com/css/modern-typewriter');
* {
box-sizing: border-box;
}
body {
font-family: 'MODERN TYPEWRITER', sans-serif;
font-size: medium;
color: black;
margin: 0;
}
h1 {
font-size: 60px;
font-weight: 900;
margin-top: 0px;
}
hr {
text-align: center;
border: none;
width: 200px;
margin-top: 0px;
margin-bottom: 0px;
}
hr::before {
content: url('../img/divider.svg');
}
img {
max-width: 100%;
height: auto
}
p {
font-weight: 300;
}
a {
text-decoration: none;
color: #d75b00;
}
a:hover {
text-decoration: underline;
cursor: pointer;
}
#wrapper {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
width: 100%;
height: 100%;
background: url('../img/spy-background.png');
background-size: cover;
overflow: scroll;
}
.container {
display: flex;
flex-direction: column;
position: absolute;
top: 40px;
width: calc(100% - 10vw);
height: auto;
padding: 4vw;
border-radius: 2px;
background: url("../img/background-letter.jpg");
background-size: cover;
background-position: right;
transition: 1.5s transform 0s ease-out;
}
#logo {
display: flex;
justify-content: center;
height: 220px;
}
#logo > img {
width: 220px;
}
#timer {
font-size: 40px;
color: red;
text-align: center;
}
#spacer {
padding: 1px;
margin: 30px 0 30px 0;
background-color: #00000054;
}
.row-section {
display: grid;
grid-auto-flow: column;
grid-auto-columns: 1fr 0fr 1fr;
}
.column-section {
display: flex;
flex-direction: column;
flex-shrink: 1;
flex-basis: fit-content;
padding: 2vw
}
#prank-button {
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 0 30px 0;
background: none;
}
#prank-button > span {
font-size: 25px;
}
#prank-button:hover{
text-decoration: none;
background: url("../img/circle-hand.png");
background-size: 100% 100%;
}
#underline {
width: 350px;
height: 25px;
}
#login-form {
margin-top: 25vh;
margin-bottom: 10vh;
padding: 0px;
width: 50vw;
}
.away {
transform: translate(-200vw, -100vh) rotate(-10deg);
}
.form-group {
margin: 10px;
width: 100%;
}
.login-form-control {
width: 100%;
border: none;
border-bottom: 1px solid #d75b00;
height: 40px;
background: none;
padding: 5px;
}
.login-form-control:focus {
outline: none;
border-bottom: 2px solid #923e01;
}
button[type="submit"] {
padding: 5px 10px;
height: 30px;
outline: 1px solid #d75b00;
background: none;
border: none;
font-family: inherit;
color: #d75b00;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-out;
}
button[type="submit"]:hover {
cursor: pointer;
background-color: #d75b00;
color: #ffffff;
}
@media screen and (max-width: 800px) {
.bg-full {
display: none;
}
.container {
margin: 0px;
width: 100%;
top: 0;
border-radius: 0px;
box-shadow: none;
padding: 2vw;
}
#logo {
height: 150px;
}
#logo > img {
width: 150px;
}
#spacer {
display: none;
}
.row-section {
display: flex;
flex-direction: column;
width: 100%;
align-items: center;
}
h1 {
font-size: 40px;
}
#wrapper{
background: none;
}
}