bulma and fontawesome instaled
[josuexyz/.git] / node_modules / bulma / sass / elements / title.sass
1 $title-color: $text-strong !default
2 $title-family: false !default
3 $title-size: $size-3 !default
4 $title-weight: $weight-semibold !default
5 $title-line-height: 1.125 !default
6 $title-strong-color: inherit !default
7 $title-strong-weight: inherit !default
8 $title-sub-size: 0.75em !default
9 $title-sup-size: 0.75em !default
10
11 $subtitle-color: $text !default
12 $subtitle-family: false !default
13 $subtitle-size: $size-5 !default
14 $subtitle-weight: $weight-normal !default
15 $subtitle-line-height: 1.25 !default
16 $subtitle-strong-color: $text-strong !default
17 $subtitle-strong-weight: $weight-semibold !default
18 $subtitle-negative-margin: -1.25rem !default
19
20 .title,
21 .subtitle
22   @extend %block
23   word-break: break-word
24   em,
25   span
26     font-weight: inherit
27   sub
28     font-size: $title-sub-size
29   sup
30     font-size: $title-sup-size
31   .tag
32     vertical-align: middle
33
34 .title
35   color: $title-color
36   @if $title-family
37     font-family: $title-family
38   font-size: $title-size
39   font-weight: $title-weight
40   line-height: $title-line-height
41   strong
42     color: $title-strong-color
43     font-weight: $title-strong-weight
44   & + .highlight
45     margin-top: -0.75rem
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