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:
parent
3d0d5f1247
commit
755fdacd40
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user