mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
docs: improve navbar a bit
This commit is contained in:
parent
3ec4f6b2c7
commit
e5fe220698
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
@media (max-width: 1200px) {
|
||||
nav > ul a {
|
||||
padding: 0.5em;
|
||||
padding: 1.45em 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
|||
@media (max-width: 640px) {
|
||||
nav > ul {
|
||||
padding-top: 0.5em;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
|
|
|
@ -107,14 +107,14 @@ nav ul {
|
|||
nav > ul a {
|
||||
background: var(--bg-transcluscent-slight);
|
||||
display: inline-block;
|
||||
padding: 1.2em 2em;
|
||||
padding: 1.45em 2em;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: var(--text-main);
|
||||
}
|
||||
nav li[aria-current=page] a {
|
||||
margin: -0.25em;
|
||||
border: 0.25em solid var(--bg-alt);
|
||||
color: var(--bg-bright);
|
||||
background: var(--text-main);
|
||||
}
|
||||
|
||||
nav a.image {
|
||||
|
|
Loading…
Reference in a new issue