Skip to content

Is it on purpose that warnings have a smaller font size? #138

Closed Answered by pradyunsg
C0DK asked this question in Potential Issue
Discussion options

You must be logged in to vote

As noted already, these are configurable. The choice to make them smaller is a stylistic one and has been discussed before.

From #104 (comment):

It's essentially an opinionated design choice, and there's a knob for it too -- admonitions are supposed to be side content, something that's an aside from the regular text in the document. At the same size as the rest of the page, they look significantly more eye catching and distract the content's flow way more than I'd like.

I looked around and there seemed to be an even split in how they're handled, and I picked the approach that mkdocs-material takes on that front; since that's where I borrowed the admonitions' design from. :)

If you care …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@OriolAbril
Comment options

Answer selected by C0DK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants