You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
1.5 KiB
108 lines
1.5 KiB
.navbar {
|
|
display: table-header-group;
|
|
}
|
|
|
|
.link {
|
|
margin: 0 1vw;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.connexion {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin: 2vh;
|
|
}
|
|
|
|
/**************************/
|
|
|
|
.overlay {
|
|
height: 0;
|
|
width: 100%;
|
|
bottom: 100%;
|
|
position: fixed;
|
|
z-index: 9001;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: rgb(0, 0, 0);
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
overflow-x: hidden;
|
|
transition: 1s;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.overlay-content {
|
|
position: relative;
|
|
top: 25%;
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-top: 20vh;
|
|
}
|
|
|
|
.overlay a {
|
|
padding: 8px;
|
|
text-decoration: none;
|
|
font-size: 36px;
|
|
color: #818181;
|
|
display: block;
|
|
transition: 0.2s;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.overlay a:hover,
|
|
.overlay a:focus {
|
|
color: #f1f1f1;
|
|
}
|
|
|
|
.overlay .closebtn {
|
|
position: absolute;
|
|
right: 25px;
|
|
top: -20px;
|
|
font-size: 60px;
|
|
}
|
|
|
|
@media screen and (max-height: 450px) {
|
|
.overlay a {
|
|
font-size: 20px
|
|
}
|
|
|
|
.overlay .closebtn {
|
|
font-size: 40px;
|
|
top: 15px;
|
|
right: 35px;
|
|
}
|
|
}
|
|
|
|
.burgerButton {
|
|
font-size: 30px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* cache ou affiche un élement si mobile */
|
|
@media only screen and (max-width: 768px) {
|
|
.hidden-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.show-mobile {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
.hidden-mobile {
|
|
display: flex;
|
|
}
|
|
|
|
.show-mobile {
|
|
display: none;
|
|
}
|
|
} |