Make inline code font size relative to parent

Previously, `rem` was used, which sets the font-size irrespective of its
surrounding context. Changing this to `em` makes it possible to e.g. use inline
code in headings without rendering them much smaller than the surrounding font.
This commit is contained in:
Marius Bergmann 2023-01-07 17:16:01 +01:00
parent e412efb718
commit 0840d5a6db

View File

@ -131,7 +131,7 @@ code, kbd {
padding: 1px 6px;
margin: 0 2px;
border-radius: 5px;
font-size: .9rem;
font-size: .9em;
font-weight: normal;
font-feature-settings: normal;