SAE_WEB_S1/CSS/styles.css

271 lines
3.1 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-03 18:38:44 +01:00
background:white ;
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-03 15:17:36 +01:00
.vide{
margin-top: 10vh;
}
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;
}
2024-01-03 13:49:08 +01:00
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;
2024-01-03 18:38:44 +01:00
background: #00010c;
2023-12-29 12:04:07 +01:00
width: 100%;
}
2024-01-03 18:38:44 +01:00
nav:not:hover{
filter: opacity(50%);
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{
2024-01-02 18:06:47 +01:00
height: 7vh;
width: 7vw;
2023-12-28 17:23:12 +01:00
}
2023-12-31 13:17:44 +01:00
main{
display: flex;
flex-direction: column;
}
2024-01-02 17:47:36 +01:00
#background-video{
2024-01-03 13:49:08 +01:00
filter: blur(2px);
2024-01-02 17:47:36 +01:00
height: 100vh;
2024-01-02 18:06:47 +01:00
width: 100vw;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
2024-01-03 13:49:08 +01:00
z-index: -5;
2024-01-02 17:47:36 +01:00
}
2023-12-29 12:04:07 +01:00
2023-12-31 13:17:44 +01:00
#btn_up{
2024-01-03 13:49:08 +01:00
background-color: white;
border-radius: 50px;
2023-12-31 13:17:44 +01:00
position: fixed;
right: 2vw;
bottom: 2vh;
height: 4vh;
width: 4vh;
2024-01-03 13:49:08 +01:00
transition: transform ease 1s;
2023-12-31 13:17:44 +01:00
}
2024-01-03 13:49:08 +01:00
#btn_up:hover{
transition: transform ease 0.4s;
transform: scale(1.5);
}
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-03 13:49:08 +01:00
.page{
list-style-type: none;
text-decoration: none;
color: black;
}
2024-01-03 18:38:44 +01:00
.page p{
margin-right: 10vh;
color: white;
2024-01-03 13:49:08 +01:00
}
.page p:hover{
color: gold;
2024-01-03 18:38:44 +01:00
transform: scale(1.3,1.3);
transition: transform cubic-bezier(0,0.6,0.4,1.03) 1s;
2024-01-03 13:49:08 +01:00
2024-01-03 18:38:44 +01:00
}
.page p:not(:hover){transition: color linear 0.7s;transition: transform ease 0.4s ;}
2024-01-03 13:49:08 +01:00
2024-01-03 18:38:44 +01:00
#page_courante p{
font-size: 1.4em;
color: red;
}
2024-01-03 13:49:08 +01:00
main p{
font-size: 25px;
}
2024-01-01 19:32:41 +01:00
2024-01-03 15:17:36 +01:00
#img_gauche_txt_droite{
2024-01-02 01:14:43 +01:00
2024-01-01 19:32:41 +01:00
display: flex;
2024-01-03 15:17:36 +01:00
flex-direction: row-reverse;
2024-01-01 19:32:41 +01:00
justify-content: space-around;
2024-01-02 01:14:43 +01:00
align-items: center;
margin-bottom: 10vh;
2024-01-03 15:17:36 +01:00
2024-01-01 19:32:41 +01:00
}
2024-01-03 15:17:36 +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;
2024-01-03 15:17:36 +01:00
box-shadow: -10px -15px 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%;
}
2024-01-03 15:17:36 +01:00
#img_gauche_txt_droite p:hover{
box-shadow: 15px 10px rgba(0,0,0,0.5);
2024-01-03 13:49:08 +01:00
}
2024-01-02 01:14:43 +01:00
2024-01-01 19:32:41 +01:00
2024-01-03 15:17:36 +01:00
#img_droite_txt_gauche{
2024-01-02 15:51:16 +01:00
display: inline-flex;
2024-01-03 15:17:36 +01:00
flex-direction: row;
2024-01-01 19:32:41 +01:00
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
}
2024-01-03 15:17:36 +01:00
#img_droite_txt_gauche p{
2024-01-03 18:38:44 +01:00
background-color: rgba(250,250,62,1);
2024-01-02 01:14:43 +01:00
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
2023-12-31 13:17:44 +01:00
2024-01-03 15:17:36 +01:00
#img_droite_txt_gauche p:hover{
2024-01-03 13:49:08 +01:00
box-shadow: 15px 10px rgba(0,0,0,0.5);
2024-01-03 15:17:36 +01:00
2024-01-03 13:49:08 +01:00
}
2023-12-31 13:17:44 +01:00
2024-01-03 15:17:36 +01:00
.img_main{
height: 20%;
width: 20%;
2024-01-03 13:49:08 +01:00
border-radius: 10px;
2024-01-03 15:17:36 +01:00
transition: transform ease 0.4s;
2024-01-03 13:49:08 +01:00
filter: saturate(0.2);
2023-12-28 17:23:12 +01:00
}
2024-01-03 15:17:36 +01:00
#img_gauche_txt_droite p:hover + .img_main,#img_droite_txt_gauche p:hover + .img_main,.img_main:hover{
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
transform: scale(1.3,1.3);
transition: transform ease 0.8s;
filter: saturate(1);
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
2024-01-03 13:49:08 +01:00
2024-01-03 15:17:36 +01:00
2024-01-03 13:49:08 +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-03 13:49:08 +01:00
background-color: #00010c;
color: white;
2024-01-02 15:51:16 +01:00
}
footer #reseaux li{
list-style-type: none;
text-decoration: none;
display: inline-block;
}
footer #reseaux p{
2024-01-03 13:49:08 +01:00
2024-01-02 15:51:16 +01:00
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);
}
2024-01-03 18:38:44 +01:00
2024-01-02 15:51:16 +01:00
2024-01-03 13:49:08 +01:00
footer #autres a{
color:white ;
list-style-type: none;
text-decoration: none;
}
footer #coordonne p{
margin-bottom: 1rem;
2024-01-03 18:38:44 +01:00
}