Skip to content

Commit 8fde526

Browse files
committed
docs: add admonitions feature
1 parent edf4d74 commit 8fde526

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/overrides/stylesheets/extra.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,8 @@ h1, h2, h3, h4, h5, h6 {
7272
.md-typeset h6 {
7373
font-weight: 600; /* Bold */
7474
}
75+
76+
.md-typeset .admonition,
77+
.md-typeset details {
78+
font-size: 16px
79+
}

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nav:
99

1010
theme:
1111
name: material
12-
#logo: img/zxbasic_logo.png
12+
favicon: img/zxbasic_logo.png
1313
palette:
1414
# Palette toggle for light mode
1515
- media: "(prefers-color-scheme: light)"
@@ -31,6 +31,7 @@ theme:
3131
docs_dir: docs
3232

3333
markdown_extensions:
34+
- admonition
3435
- pymdownx.highlight:
3536
linenums: true
3637
anchor_linenums: true

0 commit comments

Comments
 (0)