diff options
author | Jesús <heckyel@hyperbola.info> | 2019-03-06 18:19:58 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-03-06 18:19:58 -0500 |
commit | 444d439039564f55e8d844f4743ca47ebe548a37 (patch) | |
tree | 693b0fe66d62af99ef46a30deb91dd7da9914569 /src/sass/base/bulma/elements/title.sass | |
parent | 98a0f32cc84e2196687bf81adbb128403544229b (diff) | |
download | cl-theme-444d439039564f55e8d844f4743ca47ebe548a37.tar.lz cl-theme-444d439039564f55e8d844f4743ca47ebe548a37.tar.xz cl-theme-444d439039564f55e8d844f4743ca47ebe548a37.zip |
prepare for new version - step 2
Diffstat (limited to 'src/sass/base/bulma/elements/title.sass')
-rw-r--r-- | src/sass/base/bulma/elements/title.sass | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/sass/base/bulma/elements/title.sass b/src/sass/base/bulma/elements/title.sass new file mode 100644 index 0000000..febe2fc --- /dev/null +++ b/src/sass/base/bulma/elements/title.sass @@ -0,0 +1,64 @@ +$title-color: $grey-darker !default +$title-size: $size-3 !default +$title-weight: $weight-semibold !default +$title-line-height: 1.125 !default +$title-strong-color: inherit !default +$title-strong-weight: inherit !default +$title-sub-size: 0.75em !default +$title-sup-size: 0.75em !default + +$subtitle-color: $grey-dark !default +$subtitle-size: $size-5 !default +$subtitle-weight: $weight-normal !default +$subtitle-line-height: 1.25 !default +$subtitle-strong-color: $grey-darker !default +$subtitle-strong-weight: $weight-semibold !default +$subtitle-negative-margin: -1.25rem !default + +.title, +.subtitle + @extend %block + word-break: break-word + em, + span + font-weight: inherit + sub + font-size: $title-sub-size + sup + font-size: $title-sup-size + .tag + vertical-align: middle + +.title + color: $title-color + font-size: $title-size + font-weight: $title-weight + line-height: $title-line-height + strong + color: $title-strong-color + font-weight: $title-strong-weight + & + .highlight + margin-top: -0.75rem + &:not(.is-spaced) + .subtitle + margin-top: $subtitle-negative-margin + // Sizes + @each $size in $sizes + $i: index($sizes, $size) + &.is-#{$i} + font-size: $size + +.subtitle + color: $subtitle-color + font-size: $subtitle-size + font-weight: $subtitle-weight + line-height: $subtitle-line-height + strong + color: $subtitle-strong-color + font-weight: $subtitle-strong-weight + &:not(.is-spaced) + .title + margin-top: $subtitle-negative-margin + // Sizes + @each $size in $sizes + $i: index($sizes, $size) + &.is-#{$i} + font-size: $size |