Skip to content

Commit 8a6413f

Browse files
authored
Tweak docs theme to use full-size admonitions (#954)
1 parent b921898 commit 8a6413f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ def _get_version() -> str:
5858
# The theme to use for HTML and HTML Help pages. See the documentation for
5959
# a list of builtin themes.
6060
html_theme = "furo"
61+
html_theme_options = {
62+
"dark_css_variables": {
63+
"admonition-font-size": "100%",
64+
"admonition-title-font-size": "100%",
65+
},
66+
"light_css_variables": {
67+
"admonition-font-size": "100%",
68+
"admonition-title-font-size": "100%",
69+
},
70+
}
6171

6272
# The name of an image file (within the static path) to use as favicon
6373
# of the docs. This file should be a Windows icon file (.ico) being

0 commit comments

Comments
 (0)