SAE_WEB_S1/CSS/styles.css

305 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;
2023-12-29 12:04:07 +01:00
}
2024-01-18 15:28:25 +01:00
p{
font-family:sans-serif ;
}
2024-01-17 10:22:00 +01:00
header{
margin-bottom: 10vh;
}
2024-01-16 17:24:29 +01:00
2024-01-18 15:28:25 +01:00
.txt_rouge{color: red;}
.txt_jaune{color: gold;}
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-16 17:24:29 +01:00
2024-01-15 10:57:06 +01:00
2024-01-15 11:26:46 +01:00
2024-01-16 17:24:29 +01:00
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-18 15:28:25 +01:00
a{
text-decoration: none;
2024-01-02 15:51:16 +01:00
}
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-16 17:24:29 +01:00
z-index: 100;
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%;
}
2024-01-15 18:47:24 +01:00
.button {
width: 9.5em;
height: 2.3em;
margin: 0.5em;
background: rgb(255, 0, 0);
2024-01-16 17:24:29 +01:00
color: white;
2024-01-15 18:47:24 +01:00
border: none;
border-radius: 1.625em;
font-size: 20px;
font-weight: bold;
cursor: pointer;
position: relative;
z-index: 1;
}
.button:hover {
color: rgb(255, 0, 0);
}
2023-12-31 13:17:44 +01:00
2024-01-15 18:47:24 +01:00
.button:after {
content: "";
background: rgb(0, 0, 0);
position: absolute;
z-index: -1;
2024-01-16 17:24:29 +01:00
left: -6%;
right: -6%;
2024-01-15 18:47:24 +01:00
top: 0;
bottom: 0;
transform: skewX(-45deg) scale(0, 1);
transition: all 0.5s;
}
.button:hover:after {
transform: skewX(-45deg) scale(1, 1);
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
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
#btn_up{
2024-01-17 13:42:30 +01:00
z-index: 100;
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-16 17:24:29 +01:00
#page_courante{
color: gold;
background-color: rgba(255,0,0,0.2);
2024-01-03 18:38:44 +01:00
}
2024-01-03 13:49:08 +01:00
2024-01-16 17:24:29 +01:00
2024-01-03 13:49:08 +01:00
main p{
2024-01-18 15:28:25 +01:00
font-weight: 100;
margin: 0;
text-align: justify;
2024-01-03 13:49:08 +01:00
font-size: 25px;
}
2024-01-01 19:32:41 +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{
2024-01-19 10:33:58 +01:00
width: 5vw;
height: 5vh;
2024-01-02 15:51:16 +01:00
}
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-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
}
2024-01-16 17:24:29 +01:00
footer #autres a:hover{
text-decoration: underline;
}
2024-01-19 14:39:33 +01:00
footer #cp {
position: absolute;
color: rgba(255, 255, 255, 0.5);
font-weight: 100;
list-style-type: none;
margin: 0;
padding:0;
}
2024-01-16 17:24:29 +01:00
#menu-mobile{
2024-01-19 12:07:30 +01:00
background-color: darkred;
z-index: 100;
2024-01-16 17:24:29 +01:00
height: 10vh;
2024-01-19 12:07:30 +01:00
width: 30vw;
2024-01-16 17:24:29 +01:00
display: none;
}
2024-01-17 10:22:00 +01:00
2024-01-19 10:33:58 +01:00
@media only screen and (max-width: 800px){
2024-01-19 12:07:30 +01:00
main{
2024-01-19 10:33:58 +01:00
overflow-x: hidden;
}
footer a,footer p {
font-size: 7px;
}
#reseaux p{
display: none;
}
#menu-ordi{
display: none;
}
#menu-mobile{
position: fixed;
display: block;
}
2024-01-19 12:07:30 +01:00
#menu-mobile ul{
display: none;
margin-bottom: 2vh;
}
#menu-mobile button {
display: none;
height: 5vh;
width: 20vw;
}
#menu-mobile:hover{
width: 30vw;
height: 75vh;
}
#menu-mobile:hover ul{
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
#menu-mobile:hover button{
display: block;
}
2024-01-19 10:33:58 +01:00
}