Skip to content

Commit 626ee95

Browse files
feat(docs): add label to version selector in site header (#139)
Add CSS rule to display Version: label next to the MkDocs Material version selector dropdown. Ref #134 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 28bc12f commit 626ee95

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.md-version::before {
2+
content: "Version:";
3+
margin-right: 0.4em;
4+
font-size: 0.8rem;
5+
color: var(--md-primary-bg-color);
6+
opacity: 0.7;
7+
}

docs/site/mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ extra:
3838
version:
3939
provider: mike
4040

41+
extra_css:
42+
- stylesheets/extra.css
43+
4144
plugins:
4245
- search
4346

0 commit comments

Comments
 (0)