]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Adds sup and sub to titles and subtitles (#1343)
authorThomas Krug <thomas@simplesoftware.io>
Tue, 7 Nov 2017 15:53:13 +0000 (16:53 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Tue, 7 Nov 2017 15:53:13 +0000 (15:53 +0000)
* 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

sass/elements/title.sass

index f9a50c5f27c08c9764278412765a7e1f98bd9b83..90721656004d71a9bfc60e463e236a53e9885f26 100644 (file)
@@ -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