mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-21 23:35:08 +01:00
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:
parent
e412efb718
commit
0840d5a6db
@ -131,7 +131,7 @@ code, kbd {
|
|||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: .9rem;
|
font-size: .9em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-feature-settings: normal;
|
font-feature-settings: normal;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user