diff options
| author | Martijn Cuppens <[email protected]> | 2019-02-07 23:32:05 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-02-07 23:32:05 +0100 |
| commit | 51375abca5769682f1d27de2e29e6e9f15ec7314 (patch) | |
| tree | ad2db8138741ac05e9ed546a40c12b3e353ae7eb /scss/_code.scss | |
| parent | d250567ce0b193da0b5c500e985c2372492916cc (diff) | |
| download | bootstrap-51375abca5769682f1d27de2e29e6e9f15ec7314.tar.xz bootstrap-51375abca5769682f1d27de2e29e6e9f15ec7314.zip | |
Responsive font size implementation (#23816)
Diffstat (limited to 'scss/_code.scss')
| -rw-r--r-- | scss/_code.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/_code.scss b/scss/_code.scss index 9b2e027f4..74b6e1c89 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -1,6 +1,6 @@ // Inline code code { - font-size: $code-font-size; + @include font-size($code-font-size); color: $code-color; word-break: break-word; @@ -13,7 +13,7 @@ code { // User input typically entered via keyboard kbd { padding: $kbd-padding-y $kbd-padding-x; - font-size: $kbd-font-size; + @include font-size($kbd-font-size); color: $kbd-color; background-color: $kbd-bg; @include border-radius($border-radius-sm); @@ -21,7 +21,7 @@ kbd { kbd { padding: 0; - font-size: 100%; + @include font-size(100%); font-weight: $nested-kbd-font-weight; @include box-shadow(none); } @@ -30,12 +30,12 @@ kbd { // Blocks of code pre { display: block; - font-size: $code-font-size; + @include font-size($code-font-size); color: $pre-color; // Account for some code outputs that place code tags in pre tags code { - font-size: inherit; + @include font-size(inherit); color: inherit; word-break: normal; } |
