From: Thomas Krug Date: Tue, 7 Nov 2017 15:53:13 +0000 (+0100) Subject: Adds sup and sub to titles and subtitles (#1343) X-Git-Tag: 0.6.2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbaeae0f3bdbd874a0d6d3cfcae083c32aabe57;p=thirdparty%2Fbulma.git Adds sup and sub to titles and subtitles (#1343) * Adds sup and sub to titles and subtitles * Changes sub and sup to 75% and makes them variables * Merge .title and .subtitle variables Merged the .title and .subtitle sub and sup variables into just one $title-sub-size and $title-sup-size --- diff --git a/sass/elements/title.sass b/sass/elements/title.sass index f9a50c5f2..907216560 100644 --- a/sass/elements/title.sass +++ b/sass/elements/title.sass @@ -3,6 +3,8 @@ $title-size: $size-3 !default $title-weight: $weight-semibold !default $title-strong-color: inherit !default $title-strong-weight: inherit !default +$title-sub-size: 75% !default +$title-sup-size: 75% !default $subtitle-color: $grey-dark !default $subtitle-size: $size-5 !default @@ -17,6 +19,10 @@ $subtitle-strong-weight: $weight-semibold !default em, span font-weight: inherit + sub + font-size: $title-sub-size + sup + font-size: $title-sup-size .tag vertical-align: middle