Projet_Prog_Web/CSS/aide_ami.css

169 行
4.2 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;
}
.textRotate1 {
font-size: 0.75vw;
transform: rotate(12deg);
animation: flotter 2s infinite;
}
.textRotate2 {
transform: rotate(-10deg);
font-size: 1.2vw;
}
.textRotate3{
transform: rotate(-18deg);
font-size: 1vw;
}
@keyframes flotter {
50% {
transform: translate3D(0,-5vh,0);
}
to {
transform: translate3D(0,0,0);
}
}
#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;
}