diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-22 16:46:39 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-22 16:46:39 +0800 |
| commit | bb55feb0a30eb40b52ef0c3403bcb86acba80364 (patch) | |
| tree | 59612181e42ff8117b7d1c9d62f246297cc66f56 /assets/css | |
| parent | 45ed6147f401535cdd8abd4ba951f223f9467912 (diff) | |
feat: add rss icon to nav bar instead of menu item
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/index.css | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/assets/css/index.css b/assets/css/index.css index ebee4b61..2c652fef 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -148,8 +148,17 @@ ul { color: var(--secondary-text-color); } -.header-items { - margin: 1rem auto; +/* Navigation */ + +#navigation-bar { + display: flex; + justify-content: center; + align-items: center; + gap: .75rem +} + +.navigation { + margin: 1rem 0; display: flex; justify-content: center; align-items: center; @@ -158,27 +167,27 @@ ul { overflow: hidden; } -.header-item a { +.navigation-item a { display: inline-block; color: var(--background-color); padding: 0.25rem 0.5rem; background-color: var(--text-color); } -.header-item:first-child a { +.navigation-item:first-child a { padding-left: 0.75rem } -.header-item:last-child a { +.navigation-item:last-child a { padding-right: 0.75rem } -.header-item.active a { +.navigation-item.active a { color: var(--text-color); background-color: var(--block-background-color); } -.header-item a:hover { +.navigation-item a:hover { text-decoration: none; } |
