From 755fdacd40ed786b405cbf1bc59af8165642d800 Mon Sep 17 00:00:00 2001 From: nickg <nickg@signalsciences.com> Date: Wed, 11 Apr 2018 05:45:38 +0000 Subject: [PATCH] Replace reboot monospace hack with system font stack --- scss/_code.scss | 8 -------- scss/_reboot.scss | 4 +--- 2 files changed, 1 insertion(+), 11 deletions(-) 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 -- GitLab