From cd28869a2f208930d130f6f7c5acb1c2762785b8 Mon Sep 17 00:00:00 2001 From: acj Date: Tue, 14 Aug 2018 10:35:11 +0200 Subject: [PATCH] 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. --- scss/_type.scss | 2 +- scss/_variables.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_type.scss b/scss/_type.scss index 57d610f0c1..ea3d9ab909 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 be13b56476..b18325cdbb 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;