1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-22 06:39:52 +00:00

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 // Inline code
code { code {
font-size: $code-font-size; font-size: $code-font-size;

View File

@ -232,15 +232,13 @@ a:not([href]):not([tabindex]) {
// Code // Code
// //
// stylelint-disable font-family-no-duplicate-names
pre, pre,
code, code,
kbd, kbd,
samp { 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. font-size: 1em; // Correct the odd `em` font sizing in all browsers.
} }
// stylelint-enable font-family-no-duplicate-names
pre { pre {
// Remove browser default top margin // Remove browser default top margin