]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Replace reboot monospace hack with system font stack
authornickg <nickg@signalsciences.com>
Wed, 11 Apr 2018 05:45:38 +0000 (05:45 +0000)
committerMark Otto <markd.otto@gmail.com>
Tue, 24 Apr 2018 04:53:37 +0000 (21:53 -0700)
scss/_code.scss
scss/_reboot.scss

index 9de20fa0deea3bb4435458d597a0ff76abc2d1dc..9b2e027f4039b66438ab03e0fcb32fba6b33ac39 100644 (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;
index cfc99391ec353564fd4b79b157a8294da64726be..73834226c37f8ee2793ad56d5e42403228a7ac7f 100644 (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