From: nickg Date: Wed, 11 Apr 2018 05:45:38 +0000 (+0000) Subject: Replace reboot monospace hack with system font stack X-Git-Tag: v4.1.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=755fdacd40ed786b405cbf1bc59af8165642d800;p=thirdparty%2Fbootstrap.git Replace reboot monospace hack with system font stack --- diff --git a/scss/_code.scss b/scss/_code.scss index 9de20fa0de..9b2e027f40 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -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; diff --git a/scss/_reboot.scss b/scss/_reboot.scss index cfc99391ec..73834226c3 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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