Skip to content

Commit

Permalink
Adds sup and sub to titles and subtitles (#1343)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Thomas Krug authored and jgthms committed Nov 7, 2017
1 parent f17975d commit 5fbaeae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sass/elements/title.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 5fbaeae

Please sign in to comment.