nimes: fix toplinks hiding logo in low resolutions (#77680)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Corentin Sechet 2023-06-21 15:24:11 +02:00 committed by Corentin Sechet
parent 50cf847ddb
commit f7bf983a36
1 changed files with 33 additions and 5 deletions

View File

@ -1,15 +1,43 @@
// Header
#top {
display: flex;
flex-wrap: wrap;
justify-content: end;
align-items: center;
}
h1#logo.has-logo {
flex-grow: 1;
}
#toplinks {
position: static;
padding: 0;
@media($max-mobile-viewport) {
display: none;
}
a {
@extend %button;
border-color: white;
margin: 0.5rem;
padding: 0.2rem 0.5rem;
}
}
#toplinks a {
@extend %button;
border-color: white;
padding: 0.2rem 0.5rem;
margin-right: 0.5rem;
.toplinks {
&--list {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
}
.gru-nav-wrapper {
position: absolute;
top: 0;
margin-top: 15px;
}
div#nav {