SAE_WEB_S1/CSS/styles.css

134 lines
1.7 KiB
CSS
Raw Normal View History

2024-01-01 19:32:41 +01:00
2023-12-28 17:23:12 +01:00
2023-12-29 12:04:07 +01:00
body{
2023-12-31 13:17:44 +01:00
margin: 0;
2024-01-01 19:32:41 +01:00
background: linear-gradient(90deg,rgba(63,94,251,0.7) 0%,rgba(252,70,107,0.7) 100%);
2023-12-29 12:04:07 +01:00
}
2024-01-01 19:32:41 +01:00
header{
margin-bottom: 10vh;
}
2023-12-29 12:04:07 +01:00
nav{
top: 0;
2023-12-29 20:15:06 +01:00
left: 0;
2024-01-01 19:32:41 +01:00
z-index: 1;
2023-12-29 12:04:07 +01:00
position: fixed;
display: flex;
2023-12-29 20:15:06 +01:00
align-items: center;
justify-content: space-around;
background: linear-gradient(45deg,orange 35%,darkred);
2023-12-29 12:04:07 +01:00
width: 100%;
}
2023-12-29 20:15:06 +01:00
nav:hover{
background: linear-gradient(45deg,orange ,darkred);
2023-12-31 13:17:44 +01:00
2023-12-29 20:15:06 +01:00
}
2023-12-29 12:04:07 +01:00
2023-12-28 17:23:12 +01:00
#icone{
height: 10vh;
width: 10vw;
}
2023-12-31 13:17:44 +01:00
main{
display: flex;
flex-direction: column;
}
#cas{
margin-top:10% ;
height: 25%;
width: 25%;
2023-12-29 12:04:07 +01:00
2023-12-31 13:17:44 +01:00
}
#btn_up{
position: fixed;
background-color: transparent;
border-color: transparent;
right: 2vw;
bottom: 2vh;
height: 4vh;
width: 4vh;
}
2023-12-28 17:23:12 +01:00
li{
display: inline-block;
2023-12-29 12:04:07 +01:00
}
p{
2024-01-01 19:32:41 +01:00
font-family: unset;
2023-12-29 12:04:07 +01:00
font-size: 30px;
2024-01-01 19:32:41 +01:00
}
.img_gauche_txt_droite{
display: flex;
justify-content: space-around;
align-items: flex-end;
}
.img_gauche_txt_droite p{
background-color: rgba(100,100,100,0.2);
border-radius: 10px;
width: 50%;
2023-12-31 13:17:44 +01:00
}
2024-01-01 19:32:41 +01:00
.img_gauche_txt_droite img{border-radius: 10px;}
.img_gauche_txt_droite img:not(:hover){filter: saturate(0.2);}
.img_droite_txt_gauche{
display: flex;
flex-direction: row-reverse;
justify-content: space-around;
align-items: flex-end;
}
.img_droite_txt_gauche p{
background-color: rgba(100,100,100,0.2);
border-radius: 10px;
width: 50%;
}
.img_droite_txt_gauche img{border-radius: 10px;}
.img_droite_txt_gauche img:not(:hover) {filter: saturate(0.2);}
2023-12-31 13:17:44 +01:00
#pied_de_page{
font-size: 15px;
2023-12-28 17:23:12 +01:00
}
.page{
2023-12-29 12:04:07 +01:00
list-style-type: none;
2023-12-28 17:23:12 +01:00
text-decoration: none;
color: black;
2023-12-29 12:04:07 +01:00
margin-right: 10vh;
2023-12-29 20:15:06 +01:00
font-size: 2vh;
2023-12-28 17:23:12 +01:00
}
.page:hover{
2023-12-29 20:15:06 +01:00
color: gold;
2023-12-28 17:23:12 +01:00
}
2023-12-29 12:04:07 +01:00
2023-12-29 20:15:06 +01:00
2023-12-29 12:04:07 +01:00
footer{
2023-12-31 13:17:44 +01:00
background-color: orange;
padding-bottom: 15vh;
2023-12-29 12:04:07 +01:00
}