aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Ansum/ansum.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-01-17 15:52:29 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-17 15:52:29 +0100
commit33468def4a5fc0e3af92e5759f463d4d4872fd84 (patch)
tree2bb4ad26afc307628c46a308f526d816f8e27b61 /p/themes/Ansum/ansum.css
parent0ab130eb9c3df3227a70624bcd5e8133afb00ae5 (diff)
Improved: navigation menu structure (#4937)
Diffstat (limited to 'p/themes/Ansum/ansum.css')
-rw-r--r--p/themes/Ansum/ansum.css18
1 files changed, 13 insertions, 5 deletions
diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css
index 5c7433fce..6789320b5 100644
--- a/p/themes/Ansum/ansum.css
+++ b/p/themes/Ansum/ansum.css
@@ -552,21 +552,29 @@ form th {
/* Sidebar des pages de configuration */
/*=== Navigation */
-.nav-list .nav-header,
+.nav-list {
+ font-size: 1rem;
+}
+.nav-list .item.nav-header,
.nav-list .item {
- height: 2.5em;
+ min-height: 2.5em;
line-height: 2.5em;
- font-size: 1rem;
}
.nav-list .item {
background: #fbf9f6;
+ min-height: 2.5em;
+ line-height: 2.5em;
+}
+.nav-list .item.nav-header {
+ min-height: 2.5em;
+ line-height: 2.5em;
}
.nav-list .item a {
padding: 0 1rem;
color: #363330;
transition: all 0.15s ease-in-out;
}
-.nav-list .item:hover a {
+.nav-list .item a:hover {
background: #efe3d3;
text-decoration: none;
}
@@ -580,7 +588,7 @@ form th {
text-decoration: none;
}
.nav-list .nav-header {
- padding: 0 10px;
+ padding: 0 1rem;
font-weight: bold;
color: #766556;
text-transform: uppercase;