Skip to content

Commit d38a122

Browse files
committed
docs: keep top tabs always visible and hide footer
* per default, navigation tabs disappear when you scroll down the page, which may confuse some users * hide "Made with Material" footer which is visible when scrolling to the bottom, which takes up space and may make the left menu scrollbar to appear, and thus reduce usability.
1 parent 1fc5105 commit d38a122

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* hide "Made with Material" footer */
2+
.md-footer-meta {
3+
display: none;
4+
}

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ theme:
2121
features:
2222
- tabs
2323
- navigation.tabs
24+
- navigation.tabs.sticky
2425
- navigation.sections
2526

2627
plugins:
@@ -49,6 +50,9 @@ plugins:
4950
Menu-System.md: Developers/Menu-System.md
5051
Contributing-Services.md: Developers/index.md
5152

53+
extra_css:
54+
- style.css
55+
5256
markdown_extensions:
5357
- admonition
5458
- pymdownx.superfences

0 commit comments

Comments
 (0)