Skip to content

Commit 5c00afb

Browse files
Add custom styles for logo button in extra.css
1 parent bf24864 commit 5c00afb

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/img/zorac_logo.png

292 KB
Loading

docs/stylesheets/extra.css

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

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ docs_dir: docs/
1212

1313
theme:
1414
name: material
15+
logo: img/zorac_logo.png
16+
favicon: img/zorac_logo.png
1517
palette:
1618
- scheme: slate
1719
primary: deep purple
@@ -32,6 +34,9 @@ theme:
3234
- content.code.annotate
3335
- search.suggest
3436

37+
extra_css:
38+
- stylesheets/extra.css
39+
3540
markdown_extensions:
3641
- admonition
3742
- pymdownx.details

0 commit comments

Comments
 (0)