Skip to content

Commit

Permalink
Replace reboot monospace hack with system font stack
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg authored and mdo committed Apr 24, 2018
1 parent 3d0d5f1 commit 755fdac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
8 changes: 0 additions & 8 deletions scss/_code.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
// Inline and block code styles
code,
kbd,
pre,
samp {
font-family: $font-family-monospace;
}

// Inline code
code {
font-size: $code-font-size;
Expand Down
4 changes: 1 addition & 3 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,13 @@ a:not([href]):not([tabindex]) {
// Code
//

// stylelint-disable font-family-no-duplicate-names
pre,
code,
kbd,
samp {
font-family: monospace, monospace; // Correct the inheritance and scaling of font size in all browsers.
font-family: $font-family-monospace;
font-size: 1em; // Correct the odd `em` font sizing in all browsers.
}
// stylelint-enable font-family-no-duplicate-names

pre {
// Remove browser default top margin
Expand Down

0 comments on commit 755fdac

Please sign in to comment.