| 1 |
.sd-text-justify { |
| 2 |
text-align: justify !important; |
| 3 |
} |
| 4 |
|
| 5 |
.sd-text-left { |
| 6 |
text-align: left !important; |
| 7 |
} |
| 8 |
|
| 9 |
.sd-text-right { |
| 10 |
text-align: right !important; |
| 11 |
} |
| 12 |
|
| 13 |
.sd-text-center { |
| 14 |
text-align: center !important; |
| 15 |
} |
| 16 |
|
| 17 |
.sd-font-weight-light { |
| 18 |
font-weight: 300 !important; |
| 19 |
} |
| 20 |
|
| 21 |
.sd-font-weight-lighter { |
| 22 |
font-weight: lighter !important; |
| 23 |
} |
| 24 |
|
| 25 |
.sd-font-weight-normal { |
| 26 |
font-weight: 400 !important; |
| 27 |
} |
| 28 |
|
| 29 |
.sd-font-weight-bold { |
| 30 |
font-weight: 700 !important; |
| 31 |
} |
| 32 |
|
| 33 |
.sd-font-weight-bolder { |
| 34 |
font-weight: bolder !important; |
| 35 |
} |
| 36 |
|
| 37 |
.sd-font-italic { |
| 38 |
font-style: italic !important; |
| 39 |
} |
| 40 |
|
| 41 |
.sd-text-decoration-none { |
| 42 |
text-decoration: none !important; |
| 43 |
} |
| 44 |
|
| 45 |
.sd-text-lowercase { |
| 46 |
text-transform: lowercase !important; |
| 47 |
} |
| 48 |
|
| 49 |
.sd-text-uppercase { |
| 50 |
text-transform: uppercase !important; |
| 51 |
} |
| 52 |
|
| 53 |
.sd-text-capitalize { |
| 54 |
text-transform: capitalize !important; |
| 55 |
} |
| 56 |
|
| 57 |
.sd-text-wrap { |
| 58 |
white-space: normal !important; |
| 59 |
} |
| 60 |
|
| 61 |
.sd-text-nowrap { |
| 62 |
white-space: nowrap !important; |
| 63 |
} |
| 64 |
|
| 65 |
// requires `display: inline-block` or `display: block` |
| 66 |
.sd-text-truncate { |
| 67 |
overflow: hidden; |
| 68 |
text-overflow: ellipsis; |
| 69 |
white-space: nowrap; |
| 70 |
} |
| 71 |
|
| 72 |
$font-sizes: ( |
| 73 |
1: calc(1.375rem + 1.5vw), |
| 74 |
2: calc(1.325rem + 0.9vw), |
| 75 |
3: calc(1.3rem + 0.6vw), |
| 76 |
4: calc(1.275rem + 0.3vw), |
| 77 |
5: 1.25rem, |
| 78 |
6: 1rem |
| 79 |
); |
| 80 |
|
| 81 |
@each $id, $value in $font-sizes { |
| 82 |
.sd-fs-#{$id}, .sd-fs-#{$id} > p { |
| 83 |
font-size: $value !important; |
| 84 |
line-height: unset !important; |
| 85 |
} |
| 86 |
} |