nimes: fix toplinks hiding logo in low resolutions (#77680)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
50cf847ddb
commit
f7bf983a36
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue