Skip to content

Commit e41e3ed

Browse files
committed
feat(navbar): add styles for navbar logo dimensions
1 parent 4566fff commit e41e3ed

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

docs/assets/favicon.png

25.8 KB
Loading

docs/assets/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/assets/logo.png

15.3 KB
Loading

mkdocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ repo_name: httpdss/struct
66

77
theme:
88
name: material
9+
logo: assets/logo.png
10+
favicon: assets/favicon.png
911
palette:
1012
# Palette toggle for dark mode (default)
1113
- media: "(prefers-color-scheme: dark)"
@@ -44,6 +46,8 @@ theme:
4446
docs_dir: docs
4547
site_dir: site/docs
4648

49+
50+
4751
# Navigation structure based on existing docs
4852
nav:
4953
- Home: index.md
@@ -94,3 +98,6 @@ plugins:
9498

9599
extra_css:
96100
- stylesheets/extra.css
101+
102+
extra:
103+
homepage: https://httpdss.github.io/struct/

site/css/components.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
gap: var(--space-8); /* Add proper spacing between sections */
1919
}
2020

21+
.navbar-logo {
22+
height: 35px;
23+
width: auto;
24+
}
25+
2126
.navbar-brand {
2227
display: flex;
2328
align-items: center;

0 commit comments

Comments
 (0)