Document 100% font size admonitions #540
-
Furo’s admonitions use a font size about 80% of the surrounding content. This decision was picked to try and avoid distracting users, quote #104 (comment):
I prefer full-size admonitions, since they often contain important information for the reader, and I'm worried the smaller size de-emphasizes the text and leads readers to skip over it. I found the fix in that linked discussion: html_theme_options = {
"dark_css_variables": {
"admonition-font-size": "100%",
"admonition-title-font-size": "100%",
},
"light_css_variables": {
"admonition-font-size": "100%",
"admonition-title-font-size": "100%",
},
} Would it be acceptable to document this tweak? The docs don't currently cover |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yea, the docs don't list out the exact variables that you can use/override. I guess we could improve the docs by listing those but that's a non-trivial endeavour. I'm noticing that light/dark CSS variables also doesn't have a link to the sources (only colors does) so... that would be a good quick win as well. |
Beta Was this translation helpful? Give feedback.
Yea, the docs don't list out the exact variables that you can use/override.
I guess we could improve the docs by listing those but that's a non-trivial endeavour.
I'm noticing that light/dark CSS variables also doesn't have a link to the sources (only colors does) so... that would be a good quick win as well.