-
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Aug 1, 2021
Replies: 1 comment 2 replies
-
All typography is defined in mkdocs-material/src/assets/stylesheets/main/_typeset.scss Lines 89 to 97 in 619d47f Note that we use custom functions in SCSS (which transpiles to CSS) like .md-typeset h1 {
margin-bottom: 0;
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Fatih20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All typography is defined in
_typeset.scss
. For example, here are the styles for ah1
:mkdocs-material/src/assets/stylesheets/main/_typeset.scss
Lines 89 to 97 in 619d47f
Note that we use custom functions in SCSS (which transpiles to CSS) like
px2em
which are not available in CSS. You can use.md-typeset h1
to style the selector, or something similar (matching the specificity of the original definition):