Debian Codegraph @

vendor/static/bulma/sass/elements/title.sass

raw
1 @import "../utilities/mixins"
2
3 $title-color: $text-strong !default
4 $title-family: false !default
5 $title-size: $size-3 !default
6 $title-weight: $weight-semibold !default
7 $title-line-height: 1.125 !default
8 $title-strong-color: inherit !default
9 $title-strong-weight: inherit !default
10 $title-sub-size: 0.75em !default
11 $title-sup-size: 0.75em !default
12
13 $subtitle-color: $text !default
14 $subtitle-family: false !default
15 $subtitle-size: $size-5 !default
16 $subtitle-weight: $weight-normal !default
17 $subtitle-line-height: 1.25 !default
18 $subtitle-strong-color: $text-strong !default
19 $subtitle-strong-weight: $weight-semibold !default
20 $subtitle-negative-margin: -1.25rem !default
21
22 .title,
23 .subtitle
24 @extend %block
25 word-break: break-word
26 em,
27 span
28 font-weight: inherit
29 sub
30 font-size: $title-sub-size
31 sup
32 font-size: $title-sup-size
33 .tag
34 vertical-align: middle
35
36 .title
37 color: $title-color
38 @if $title-family
39 font-family: $title-family
40 font-size: $title-size
41 font-weight: $title-weight
42 line-height: $title-line-height
43 strong
44 color: $title-strong-color
45 font-weight: $title-strong-weight
46 &:not(.is-spaced) + .subtitle
47 margin-top: $subtitle-negative-margin
48 // Sizes
49 @each $size in $sizes
50 $i: index($sizes, $size)
51 &.is-#{$i}
52 font-size: $size
53
54 .subtitle
55 color: $subtitle-color
56 @if $subtitle-family
57 font-family: $subtitle-family
58 font-size: $subtitle-size
59 font-weight: $subtitle-weight
60 line-height: $subtitle-line-height
61 strong
62 color: $subtitle-strong-color
63 font-weight: $subtitle-strong-weight
64 &:not(.is-spaced) + .title
65 margin-top: $subtitle-negative-margin
66 // Sizes
67 @each $size in $sizes
68 $i: index($sizes, $size)
69 &.is-#{$i}
70 font-size: $size