Skip to content

Commit 97993fd

Browse files
committed
πŸŽ‰ Add OWID logo and extra CSS for styling
1 parent f87cb2f commit 97993fd

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

β€Ždocs/assets/owid-logo.svgβ€Ž

Lines changed: 1 addition & 0 deletions
Loading

β€Ždocs/css/extra.cssβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.md-header__button.md-logo img,
2+
.md-header__button.md-logo svg {
3+
height: 2.4rem;
4+
width: auto;
5+
}

β€Žzensical.tomlβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ nav = [
2525
# docs_dir = "docs"
2626
# site_dir = "site"
2727

28+
# Extra CSS
29+
extra_css = ["css/extra.css"]
30+
2831
# Theme configuration
2932
[project.theme]
3033
# variant = "modern" # Options: "modern" (default) or "classic" (matches Material for MkDocs look)
3134
variant = "modern" # Using classic for consistency with current Material theme
3235
# Logo and favicon
33-
logo = "assets/site-logo.svg"
36+
logo = "assets/owid-logo.svg"
3437
favicon = "assets/favicon.png"
3538

3639
[project.theme.font]

0 commit comments

Comments
Β (0)