Projet_Prog_Web/CSS/aide_ami.css

179 lines
4.5 KiB
CSS

body {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
color:white;
font-family: 'Special Elite', cursive;
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 {
width: 95vw;
display: flex;
flex-direction: column;
justify-content: space-between;
flex: 4;
}
#content {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#content aside {
display : flex;
flex-direction: column;
justify-content: space-around;
width: 33vw;
}
.textWillAppear {
opacity: 0;
}
.questionWillAppear {
opacity: 0;
}
/* Animations des questions sur les côtés */
#question1 {
animation: levite 3s forwards infinite ease-in-out;
}
#question2 {
animation: levite 3s forwards infinite ease-in-out;
animation-delay: 1s;
}
#question3 {
animation: levite 3s forwards infinite ease-in-out;
animation-delay: 2s;
}
#question4 {
animation: levite 3s forwards infinite ease-in-out;
animation-delay: 3s;
}
@keyframes levite {
50% {transform: translate(0,-3vh);}
}
@keyframes fade {
100% {opacity: 1;}
}
#text {
font-family: 'Special Elite', cursive;
font-size: 1.8vw;
text-align: center;
color: white;
width: 60vw;
}
#text p {
margin: 0.1vh 0 0.1vh 0;
}
#pseudoInput{
font-family:'Special Elite',cursive;
font-size:1.5vw;
border-radius:1vw;
width: 15vw;
padding:0.5vw 0.7vw 0.3vw 0.7vw;
}
#pseudoInput:focus{
outline:none;
font-family:'Special Elite',cursive;
font-size:1.5vw;
border-radius:1vw;
padding:0.5vw 0.7vw 0.3vw 0.7vw;
}
#buttons {
display: flex;
justify-content: space-around;
}
.button {
outline: none;
border:0.2vw solid #b9b9b9;
border-radius: 4vw;
min-width: 15vw;
width: 20vw;
padding: 1vw 1.2vw 1vw 1.2vw;
color: black;
font-family: 'Special Elite', cursive;
font-size: 0.8vw;
background-image: linear-gradient(to top, black -50%, #BF0909 80%);
cursor : pointer;
}
.button:hover {
border: 0.2vw solid white;
box-shadow: 0 0 3vw #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{
flex:0.5;
display:flex;
flex-direction: column;
justify-content:flex-end;
align-items: center;
font-size:1vw;
margin-top:2vw;
}
#names{
margin : 0;
}