From 18af0ed805ebe7a18a1b77dd09cd2e1a33a5b469 Mon Sep 17 00:00:00 2001 From: James Fenwick Date: Fri, 29 Sep 2017 16:27:00 +0100 Subject: [PATCH] Allow inline `` elements Move the block styling and reduced font size on `` to only apply when it is a child of `
`. Fixes issue #10226 --- scss/typography/_base.scss | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scss/typography/_base.scss b/scss/typography/_base.scss index 000bd3354..20e5f0656 100644 --- a/scss/typography/_base.scss +++ b/scss/typography/_base.scss @@ -455,17 +455,21 @@ $abbr-underline: 1px dotted $black !default; line-height: $paragraph-lineheight; color: $blockquote-color; } + + // Citations + cite { + display: block; + font-size: $cite-font-size; + + &:before { + content: $cite-pseudo-content; + } + } } - // Citations + // Inline Citations cite { - display: block; - font-size: $cite-font-size; color: $cite-color; - - &:before { - content: $cite-pseudo-content; - } } // Abbreviations -- 2.47.3