diff options
| author | acj <[email protected]> | 2018-08-14 10:35:11 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-08-26 14:48:51 +0300 |
| commit | cd28869a2f208930d130f6f7c5acb1c2762785b8 (patch) | |
| tree | d4075f6cbefa8b48d17d1c46628200d361419dd8 | |
| parent | 00398e31c79640df9d27c5d3989f91c89f2c5b87 (diff) | |
| download | bootstrap-cd28869a2f208930d130f6f7c5acb1c2762785b8.tar.xz bootstrap-cd28869a2f208930d130f6f7c5acb1c2762785b8.zip | |
Move blockquote footer font size to variables
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.
80% as a default is still fine.
| -rw-r--r-- | scss/_type.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_type.scss b/scss/_type.scss index 57d610f0c..ea3d9ab90 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -116,7 +116,7 @@ mark, .blockquote-footer { display: block; - font-size: 80%; // back to default font-size + font-size: $blockquote-small-font-size; color: $blockquote-small-color; &::before { diff --git a/scss/_variables.scss b/scss/_variables.scss index be13b5647..b18325cdb 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -298,6 +298,7 @@ $small-font-size: 80% !default; $text-muted: $gray-600 !default; $blockquote-small-color: $gray-600 !default; +$blockquote-small-font-size: $small-font-size !default; $blockquote-font-size: ($font-size-base * 1.25) !default; $hr-border-color: rgba($black, .1) !default; |
