Skip to content

Commit

Permalink
Merge pull request #71 from scotttrinh/code-block-font
Browse files Browse the repository at this point in the history
Scale code font size relative to parent
  • Loading branch information
HerbCaudill committed Mar 27, 2024
2 parents 4d89f4e + 8cbca1f commit e9eb5e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/css/custom.css
Expand Up @@ -7,7 +7,7 @@

:root {
--ifm-font-size-base: 1rem;
--ifm-code-font-size: 0.9rem;
--ifm-code-font-size: 0.9em;
--ifm-font-family-base: 'Merriweather', serif;
--ifm-heading-font-family: Overpass, sans-serif;
--ifm-color-primary: #fbcc34;
Expand Down Expand Up @@ -124,4 +124,5 @@ code {
display: inline-block;
padding: 0 0.3rem;
margin: 0 0.1rem;
vertical-align: baseline;
}

0 comments on commit e9eb5e4

Please sign in to comment.