SAE_WEB_S1/CSS/styles.css

298 lines
3.6 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-15 10:57:06 +01:00
.txt_rouge{color: red;font-weight: bold;}
.txt_jaune{color: gold;font-weight: bold;}
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-15 10:57:06 +01:00
2024-01-03 15:17:36 +01:00
2024-01-01 19:32:41 +01:00
header{
2024-01-15 10:57:06 +01:00
}
2024-01-15 11:26:46 +01:00
#presentation{
position: relative;
height: 100vh;
top: 0;
}
2024-01-15 10:57:06 +01:00
h1{
text-align: center;
margin-bottom: 10vh;
font-size: 3em;
}
h2{
padding: 0;
margin: 0;
text-align: center;
font-size: 2.5em;
}
h3{
text-align: center;
font-size: 2em;
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-08 13:52:38 +01:00
background: #000000;
2023-12-29 12:04:07 +01:00
width: 100%;
}
2023-12-31 13:17:44 +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-15 10:57:06 +01:00
filter: blur(3px);
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;
2024-01-15 10:57:06 +01:00
color: rgb(255,255,255);
2024-01-03 13:49:08 +01:00
}
2024-01-03 18:38:44 +01:00
.page p{
margin-right: 10vh;
2024-01-15 10:57:06 +01:00
color: rgb(255,0,0);
2024-01-03 20:41:13 +01:00
transition: color linear 0.7s;
2024-01-03 18:38:44 +01:00
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 20:41:13 +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;
2024-01-15 10:57:06 +01:00
color: rgb(0,255,25);
2024-01-03 18:38:44 +01:00
}
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;
2024-01-15 10:57:06 +01:00
padding-bottom: 20vh;
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);
2024-01-15 10:57:06 +01:00
backdrop-filter: blur(10px);
border-radius: 30px;
width: 40%;
2024-01-02 01:14:43 +01:00
padding: 1%;
}
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;
2024-01-15 10:57:06 +01:00
padding-bottom: 20vh;
2024-01-01 19:32:41 +01:00
}
2024-01-03 15:17:36 +01:00
#img_droite_txt_gauche p{
2024-01-15 10:57:06 +01:00
background-color: rgba(250,250,250,0.2);
backdrop-filter: blur(10px);
border-radius: 30px;
2024-01-02 01:14:43 +01:00
padding: 1%;
2024-01-15 10:57:06 +01:00
width: 40%;
2024-01-02 01:14:43 +01:00
}
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_main{
2024-01-15 10:57:06 +01:00
backdrop-filter: blur(10px);
height: 20rem;
width: 25rem;
border-radius: 15px;
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-15 10:57:06 +01:00
.img_txt:hover .img_main{
2024-01-03 15:17:36 +01:00
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
2024-01-15 10:57:06 +01:00
transform: scale(1.2,1.2);
2024-01-03 15:17:36 +01:00
transition: transform ease 0.8s;
filter: saturate(1);
2024-01-15 10:57:06 +01:00
}
2024-01-03 15:17:36 +01:00
2024-01-15 10:57:06 +01:00
#img_gauche_txt_droite:not(:hover) p{
background-color: rgba(150,150,150,0.4);
2023-12-28 17:23:12 +01:00
}
2023-12-29 12:04:07 +01:00
2024-01-15 10:57:06 +01:00
#img_droite_txt_gauche:not(:hover) p{
background-color: rgba(150,150,150,0.4);
2024-01-03 20:41:13 +01:00
}
2023-12-29 20:15:06 +01:00
2024-01-15 10:57:06 +01:00
#fond_2{
z-index: -1;
backdrop-filter: blur(10px);
text-align: center;
display: block;
flex-direction: column;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding-bottom:20%;
2024-01-03 20:41:13 +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-15 10:57:06 +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
}