diff options
| author | Matt Kosarek <matt.kosarek@canonical.com> | 2026-07-08 08:29:04 -0400 |
|---|---|---|
| committer | Matt Kosarek <matt.kosarek@canonical.com> | 2026-07-08 08:29:04 -0400 |
| commit | 418396ee5100eda8f6bc036ea35dbbe44db2f91a (patch) | |
| tree | 78686d2865e0cd18b97abb01ef7478d55ff6e28e /src/styles/index.css | |
| parent | 168eb38557c8ac5698f3ac89b1385089b5b4a5cd (diff) | |
feature: update styling
Diffstat (limited to 'src/styles/index.css')
| -rw-r--r-- | src/styles/index.css | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/src/styles/index.css b/src/styles/index.css index 72a8b4f..97e3eb5 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -398,27 +398,44 @@ only screen and (max-width:960px) { } #nav-menu > ul { - flex-direction: column; + flex-direction: row; + flex-wrap: wrap; gap: 0.5rem; } - #nav-menu > ul > li { + /* Main links: full-width rows, left-aligned */ + #nav-menu > ul > li:has(> a) { + flex: 0 0 100%; + } + + #nav-menu > ul > li:has(> a) a { width: 100%; + text-align: left; + font-size: 1.5rem; + padding: 0.75rem 0; } - #nav-menu > ul > li[style*="margin-left: auto"] { + /* Theme buttons: single side-by-side row */ + #nav-menu > ul > li:has(> button[id^="theme_button"]) { + flex: 1; margin-left: 0 !important; margin-top: 1rem; } + #nav-menu > ul > li:has(> button[id^="theme_button"]) button { + width: 100%; + text-align: center; + } + + /* Dark/light toggle: full-width row */ #nav-menu > ul > li[style*="margin-left: 1rem"] { + flex: 0 0 100%; margin-left: 0 !important; } - #nav-menu > ul button, - #nav-menu > ul a { + #nav-menu > ul > li[style*="margin-left: 1rem"] button { width: 100%; - text-align: center; + text-align: left; } header > nav { |
