bde-liste/static/css/main.css
2022-12-20 22:52:02 +01:00

256 lines
No EOL
3.8 KiB
CSS

@import url('https://fonts.cdnfonts.com/css/modern-typewriter');
* {
box-sizing: border-box;
z-index: 0;
}
body {
display: flex;
flex-direction: column;
font-family: 'MODERN TYPEWRITER', sans-serif;
font-size: medium;
color: black;
align-items: center;
justify-content: center;
height: 100%;
overflow: visible;
}
.bg-full {
position: fixed;
background: url('../img/spy-background.png');
background-size: cover;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
z-index: -99;
}
h1 {
font-size: 60px;
font-weight: 900;
margin-top: 0px;
}
.container {
position: absolute;
z-index: 0;
top: 0px;
margin: 5vh 0vh;
justify-content: center;
width: 90vw;
min-height: 100%;
border-radius: 2px;
border: none;
padding: 5vw;
background: url("../img/background-letter.jpg");
background-size: cover;
background-position-x: right;
}
.logo>img {
height: 220px;
margin-left: 3vw;
}
.row {
display: flex;
flex-direction: row;
width: 100%;
justify-content: center;
align-items: stretch;
background-position: absolute;
}
hr {
text-align: center;
border: none;
width: 200px;
margin-top: 0px;
margin-bottom: 0px;
}
hr::before {
content: url('../img/divider.svg');
}
p {
font-weight: 300;
}
a {
text-decoration: none;
color: #d75b00;
}
a:hover {
text-decoration: underline;
cursor: pointer;
}
.prank-button {
text-align: center;
font-size: 2.5vw;
margin-top: 30px;
}
img {
max-width: 100%;
height: auto;
}
.prank-button a .underline{
position: relative;
max-width: 100%;
top: -30px;
}
.prank-button a {
color: black;
position: relative;
padding: 20px 10px;
width: 100%;
}
.prank-button a:hover {
text-decoration: none;
}
.hover-circle {
position: absolute;
z-index: 10;
top: 2px;
left: 0px;
height: 100%;
width: 100%;
display: none;
}
.banner {
padding: 3vw;
display: flex;
flex-direction: column;
align-items: left;
}
.col {
display: flex;
flex-direction: column;
align-items: left;
padding: 20px;
margin: 50px 0px;
width: 50%;
justify-content: top;
}
.col-left {
border-right: 1px solid black;
padding-right: 5vw;
}
.col-right {
padding-left: 5vw;
}
.activite-temps {
font-size: 40px;
color: red;
text-align: center;
}
form {
margin-top: 25vh;
margin-bottom: 10vh;
padding: 0px;
width: 50vw;
display: flex;
align-items: center;
flex-direction: column;
}
.form-group {
margin: 10px;
width: 100%;
}
input {
width: 100%;
border: none;
border-bottom: 1px solid #d75b00;
height: 40px;
background: none;
padding: 5px;
}
input: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%;
border-radius: 0px;
box-shadow: none;
}
body {
margin: 0px;
}
.logo>img {
height: 150px;
margin-left: calc(50% - 75px);
}
.row {
flex-direction: column;
width: 100%;
align-items: center;
}
.col {
width: 100%;
margin: 10px 0px;
}
.col-left {
border: none;
}
h1 {
font-size: 40px;
}
form {
width: 85vw;
}
}