Projet_Prog_Web/CSS/etrange_decouverte.css

101 lines
No EOL
2.3 KiB
CSS

body {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: black;
height: 95vh;
}
header {
color: #BF0909;
font-family: 'Special Elite', cursive;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
flex: 1;
}
h1 {
font-size: 4vw;
}
header a {
text-decoration: none;
color: #494949;
}
header a:hover {
color: white;
}
#main {
display: flex;
flex: 4;
}
#content {
display: flex;
flex-direction: column;
justify-content: space-around;
width: 50vw;
}
#text {
font-family: 'Special Elite', cursive;
font-size: 2vw;
text-align: center;
color: white;
}
#buttons {
display: flex;
justify-content: space-around;
}
.button {
outline: none;
border: 3px solid white;
border-radius: 50px;
height: 8vh;
min-width: 15vw;
padding: 0px 10px 0px 10px;
color: black;
font-family: 'Special Elite', cursive;
font-size: 1.2vw;
background-image: linear-gradient(to top, black -50%, #BF0909 80%);
cursor : pointer;
}
.button:hover {
box-shadow: 0 0 50px #B0C4DE;
}
.button:active {
background-image: linear-gradient(to top, #BF0909 20%, black 150%);
}
/* Test d'animation */
@keyframes oscille {
from {
transform: rotate(0);
}
25% {
transform: rotate(8deg);
}
75% {
transform: rotate(-8deg);
}
to {
transform: rotate(0);
}
}
footer {
color: green;
display: flex;
flex : 1;
}