Correction de #34 (+ dernières modif pour #27)

#27 induisait un bug d'affichage sur le menu lorsqu'il passe en haut. Ce 
commit résoud le problème
This commit is contained in:
Darks 2019-12-03 12:46:04 +01:00
parent a38c5378e8
commit c7318c6dd6
Signed by: Darks
GPG Key ID: F61F10FA138E797C
2 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@
width: auto; height: 100%; margin-bottom: 0;
}
#logo img {
width: 60px;
width: 60px; height: inherit;
margin-bottom: -4.5px;
}
@ -35,7 +35,7 @@
padding: 0 2px;
}
#light-menu li > a {
cursor: pointer;
cursor: pointer; margin: 0;
}
#light-menu li > a:hover {
text-decoration: none;
@ -106,7 +106,7 @@
margin: 5px 0;
}
@media all and (max-width: 549px) {
@media all and (max-width: 500px) {
#light-menu, #spacer-menu {
height: 40px;
}

View File

@ -32,7 +32,7 @@ nav a:focus {
transition: .15s ease;
}
#logo img {
display: block; height: 50px;
display: block; height: 65px;
margin: 0 auto; padding: 0;
filter: drop-shadow(0 0 2px rgba(0, 0, 0, .0));
transition: filter .15s ease;
@ -52,9 +52,9 @@ nav a:focus {
}
#light-menu li > a {
display: flex; flex-direction: column; flex-grow: 0;
align-items: center; justify-content: flex-start;
align-items: center; justify-content: center;
width: 100%; height: 100%;
margin-bottom: 15px;
margin: 20px 0;
transition: opacity .15s ease; /* because Chrome sucks */
}
@ -63,7 +63,7 @@ nav a:focus {
margin: 0 7px;
}
#light-menu li div {
flex-grow: 1;
/*flex-grow: 1;*/
}