SAE_WEB_S1/CSS/styles.css

213 lines
2.8 KiB
CSS
Raw Normal View History

2023-12-29 12:04:07 +01:00
body{
2023-12-31 13:17:44 +01:00
margin: 0;
2024-01-02 17:47:36 +01:00
background: linear-gradient(180deg,rgba(83, 0, 0, 0.7),#ff0000 50%);
2023-12-29 12:04:07 +01:00
}
2024-01-02 17:47:36 +01:00
2024-01-02 15:51:16 +01:00
ul{
margin: 0;
padding: 0;
}
2023-12-29 12:04:07 +01:00
2024-01-01 19:32:41 +01:00
header{
2024-01-02 01:14:43 +01:00
margin-bottom: 20vh;
2024-01-01 19:32:41 +01:00
}
2024-01-02 01:14:43 +01:00
2024-01-02 15:51:16 +01:00
p {
margin: 0;
font-size: 25px ;
}
2023-12-29 12:04:07 +01:00
nav{
2024-01-02 15:51:16 +01:00
font-size: 20px ;
2023-12-29 12:04:07 +01:00
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;
2024-01-02 15:51:16 +01:00
flex-direction: row-reverse;
2023-12-29 20:15:06 +01:00
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
2024-01-02 01:14:43 +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;
}
2024-01-02 17:47:36 +01:00
#background-video{
height: 100vh;
width: 100vw;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
}
2023-12-31 13:17:44 +01:00
#cas{
2024-01-02 01:14:43 +01:00
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
2023-12-31 13:17:44 +01:00
height: 25%;
width: 25%;
2023-12-29 12:04:07 +01:00
2023-12-31 13:17:44 +01:00
}
#btn_up{
position: fixed;
right: 2vw;
bottom: 2vh;
height: 4vh;
width: 4vh;
}
2024-01-02 15:51:16 +01:00
nav li{
2023-12-28 17:23:12 +01:00
display: inline-block;
2023-12-29 12:04:07 +01:00
}
2024-01-01 19:32:41 +01:00
.img_gauche_txt_droite{
2024-01-02 01:14:43 +01:00
2024-01-01 19:32:41 +01:00
display: flex;
justify-content: space-around;
2024-01-02 01:14:43 +01:00
align-items: center;
margin-bottom: 10vh;
2024-01-01 19:32:41 +01:00
}
.img_gauche_txt_droite p{
2024-01-02 01:14:43 +01:00
background-color: rgba(250,250,250,0.2);
border-radius: 15px;
box-shadow: 15px 10px rgba(0,0,0,0.5);
2024-01-01 19:32:41 +01:00
width: 50%;
2024-01-02 01:14:43 +01:00
padding: 1%;
}
.img_gauche_txt_droite p:hover{
box-shadow: -10px -15px rgba(0,0,0,0.5);
2023-12-31 13:17:44 +01:00
}
2024-01-01 19:32:41 +01:00
.img_gauche_txt_droite img{border-radius: 10px;}
2024-01-02 01:14:43 +01:00
.img_gauche_txt_droite img:not(:hover){
filter: saturate(0.2);
transform: scale(0.8,0.8);
}
2024-01-01 19:32:41 +01:00
.img_droite_txt_gauche{
2024-01-02 15:51:16 +01:00
display: inline-flex;
2024-01-01 19:32:41 +01:00
flex-direction: row-reverse;
justify-content: space-around;
2024-01-02 01:14:43 +01:00
align-items: center;
margin-bottom: 10vh;
2024-01-01 19:32:41 +01:00
}
.img_droite_txt_gauche p{
2024-01-02 01:14:43 +01:00
background-color: rgba(250,250,250,0.2);
border-radius: 15px;
padding: 1%;
2024-01-01 19:32:41 +01:00
width: 50%;
2024-01-02 01:14:43 +01:00
box-shadow: 15px 10px rgba(0,0,0,0.5);
2024-01-01 19:32:41 +01:00
}
2024-01-02 01:14:43 +01:00
.img_droite_txt_gauche p:hover{
box-shadow: -15px -10px rgba(0,0,0,0.5);
}
2024-01-02 15:51:16 +01:00
.img_droite_txt_gauche img{border-radius: 10px;transform: transform linear 1s;}
2024-01-02 01:14:43 +01:00
.img_droite_txt_gauche img:not(:hover) {
2024-01-02 15:51:16 +01:00
transform: transform linear 1s;
2024-01-02 01:14:43 +01:00
filter: saturate(0.2);
2024-01-02 15:51:16 +01:00
transform: scale(0.9,0.9);
2024-01-02 01:14:43 +01:00
}
2024-01-01 19:32:41 +01:00
2023-12-31 13:17:44 +01:00
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;
2024-01-02 15:51:16 +01:00
}
.page p{margin-right: 10vh;
transition: transform linear 0.2s;
2023-12-28 17:23:12 +01:00
}
2024-01-02 15:51:16 +01:00
.page p:hover{
2023-12-29 20:15:06 +01:00
color: gold;
2024-01-02 15:51:16 +01:00
transform: scale(1.2,1.2);
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-31 13:17:44 +01:00
2024-01-02 01:14:43 +01:00
footer{
2024-01-02 15:51:16 +01:00
display: flex;
padding: 2%;
align-items: center;
flex-direction: row-reverse;
justify-content: space-around;
2024-01-02 17:47:36 +01:00
background-color: #581845;
2024-01-02 15:51:16 +01:00
}
footer #reseaux li{
list-style-type: none;
text-decoration: none;
display: inline-block;
}
footer #reseaux p{
color: black;
padding-left: 15px;
font-size: 25px;
}
footer #reseaux li img{
width: 3vw;
height: 3vh;
}
footer #reseaux li img:not(:hover){
transition: transform linear 0.5s;
opacity: 50%;
}
footer #reseaux li img:hover{
transition: transform linear 0.2s;
transform: scale(1.5);
}
footer #autres{
margin-top: 2%;
}
footer #autres p{
color: black;
font-size: 30px;
2023-12-29 12:04:07 +01:00
}