SAE_WEB_S1/CSS/styles.css
2024-01-02 17:47:36 +01:00

213 lines
2.8 KiB
CSS

body{
margin: 0;
background: linear-gradient(180deg,rgba(83, 0, 0, 0.7),#ff0000 50%);
}
ul{
margin: 0;
padding: 0;
}
header{
margin-bottom: 20vh;
}
p {
margin: 0;
font-size: 25px ;
}
nav{
font-size: 20px ;
top: 0;
left: 0;
z-index: 1;
position: fixed;
display: flex;
align-items: center;
justify-content: space-around;
flex-direction: row-reverse;
background: linear-gradient(45deg,orange 35%,darkred);
width: 100%;
}
nav:hover{
background: linear-gradient(45deg,orange ,darkred);
}
#icone{
height: 10vh;
width: 10vw;
}
main{
display: flex;
flex-direction: column;
}
#background-video{
height: 100vh;
width: 100vw;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
}
#cas{
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
height: 25%;
width: 25%;
}
#btn_up{
position: fixed;
right: 2vw;
bottom: 2vh;
height: 4vh;
width: 4vh;
}
nav li{
display: inline-block;
}
.img_gauche_txt_droite{
display: flex;
justify-content: space-around;
align-items: center;
margin-bottom: 10vh;
}
.img_gauche_txt_droite p{
background-color: rgba(250,250,250,0.2);
border-radius: 15px;
box-shadow: 15px 10px rgba(0,0,0,0.5);
width: 50%;
padding: 1%;
}
.img_gauche_txt_droite p:hover{
box-shadow: -10px -15px rgba(0,0,0,0.5);
}
.img_gauche_txt_droite img{border-radius: 10px;}
.img_gauche_txt_droite img:not(:hover){
filter: saturate(0.2);
transform: scale(0.8,0.8);
}
.img_droite_txt_gauche{
display: inline-flex;
flex-direction: row-reverse;
justify-content: space-around;
align-items: center;
margin-bottom: 10vh;
}
.img_droite_txt_gauche p{
background-color: rgba(250,250,250,0.2);
border-radius: 15px;
padding: 1%;
width: 50%;
box-shadow: 15px 10px rgba(0,0,0,0.5);
}
.img_droite_txt_gauche p:hover{
box-shadow: -15px -10px rgba(0,0,0,0.5);
}
.img_droite_txt_gauche img{border-radius: 10px;transform: transform linear 1s;}
.img_droite_txt_gauche img:not(:hover) {
transform: transform linear 1s;
filter: saturate(0.2);
transform: scale(0.9,0.9);
}
.page{
list-style-type: none;
text-decoration: none;
color: black;
}
.page p{margin-right: 10vh;
transition: transform linear 0.2s;
}
.page p:hover{
color: gold;
transform: scale(1.2,1.2);
}
footer{
display: flex;
padding: 2%;
align-items: center;
flex-direction: row-reverse;
justify-content: space-around;
background-color: #581845;
}
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;
}