summaryrefslogtreecommitdiff
path: root/_bulma/node_modules/bulma/sass/elements/title.sass
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-06-03 22:00:03 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-06-03 22:00:03 -0400
commitc6b5329e5c77b226a6b0cacd99607fc7650c3a9a (patch)
tree1b4676ab6d7e2257212d07cf5faf136f7bda89f7 /_bulma/node_modules/bulma/sass/elements/title.sass
parent4d129b527ee5d3a536849209c2a4e86a64190a5d (diff)
downloadcarpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.tar.xz
carpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.zip
actually include bulma data for scss rendering later
Diffstat (limited to '_bulma/node_modules/bulma/sass/elements/title.sass')
-rw-r--r--_bulma/node_modules/bulma/sass/elements/title.sass70
1 files changed, 70 insertions, 0 deletions
diff --git a/_bulma/node_modules/bulma/sass/elements/title.sass b/_bulma/node_modules/bulma/sass/elements/title.sass
new file mode 100644
index 0000000..fa9947d
--- /dev/null
+++ b/_bulma/node_modules/bulma/sass/elements/title.sass
@@ -0,0 +1,70 @@
+$title-color: $text-strong !default
+$title-family: false !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: $text !default
+$subtitle-family: false !default
+$subtitle-size: $size-5 !default
+$subtitle-weight: $weight-normal !default
+$subtitle-line-height: 1.25 !default
+$subtitle-strong-color: $text-strong !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
+ @if $title-family
+ font-family: $title-family
+ 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
+ @if $subtitle-family
+ font-family: $subtitle-family
+ 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