-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, enough.css used the rem unit to decrease the size of monospace fonts. It chose rems because that prevented code elements inside of pre blocks to be rendered smaller than elements without it. However, that approach also caused code elements in headings to be rendered at 0.8 rems, which is strange for a 2.0 rem headline. Instead of the previous approach, use a 0.8 em font size for all code blocks, but add an exception for code elements nested within pre blocks.
- Loading branch information
1 parent
3180f29
commit f73d399
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.