Replace reboot monospace hack with system font stack

This commit is contained in:
nickg 2018-04-11 05:45:38 +00:00 committed by Mark Otto
parent 3d0d5f1247
commit 755fdacd40
2 changed files with 1 additions and 11 deletions

View File

@ -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;

View File

@ -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