From 33468def4a5fc0e3af92e5759f463d4d4872fd84 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 17 Jan 2023 15:52:29 +0100 Subject: Improved: navigation menu structure (#4937) --- p/themes/Flat/flat.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'p/themes/Flat/flat.css') diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index c6c2a6aec..fa667c899 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -250,13 +250,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover, .nav-list .item.active { background: #2980b9; @@ -268,7 +271,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -276,7 +279,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #34495e; color: #fff; -- cgit v1.2.3