|
1 | 1 | // App |
2 | | -@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap"); |
| 2 | +@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap'); |
3 | 3 |
|
4 | 4 | @font-face { |
5 | | - font-family: "Cubano"; |
6 | | - src: url("./Cubano.ttf") format("truetype"); |
| 5 | + font-family: 'Cubano'; |
| 6 | + src: url('./Cubano.ttf') format('truetype'); |
7 | 7 | font-weight: normal; |
8 | 8 | font-style: normal; |
9 | 9 | } |
|
33 | 33 | --module-nav-bdr: #3d444d; |
34 | 34 |
|
35 | 35 | // Font |
36 | | - --app-font-heads: "Cubano", serif !important; |
37 | | - --app-font-content: "Outfit", sans-serif; |
| 36 | + --app-font-heads: 'Cubano', serif !important; |
| 37 | + --app-font-content: 'Outfit', sans-serif; |
38 | 38 | --font-size-lg: 3.6rem; |
39 | 39 | --font-size-rg: 1.8rem; |
40 | 40 | --font-size-md: 1.6rem; |
@@ -136,21 +136,27 @@ app-root, |
136 | 136 | user-select: none !important; |
137 | 137 | } |
138 | 138 |
|
139 | | -.highlight { |
| 139 | +@mixin highlight($fontFamily: var(--app-font-heads), $fontSize: 1.8rem, $letterSpace: 0) { |
140 | 140 | display: flex; |
141 | 141 | gap: 1rem; |
142 | | - |
| 142 | + |
143 | 143 | span { |
144 | 144 | @include blurLayer($bdrRds: 1rem); |
145 | | - font-family: var(--app-font-heads) !important; |
146 | | - color: #ffffff !important; |
147 | | - font-size: 1.8rem; |
| 145 | + font-family: $fontFamily !important; |
| 146 | + color: var(--theme-colour) !important; |
| 147 | + font-size: $fontSize !important; |
| 148 | + font-weight: 600; |
148 | 149 | line-height: 1.8rem !important; |
149 | 150 | padding: 0.6rem 1rem !important; |
150 | 151 | margin-bottom: 0.6rem; |
| 152 | + letter-spacing: $letterSpace !important; |
151 | 153 | } |
152 | 154 | } |
153 | 155 |
|
| 156 | +.highlight { |
| 157 | + @include highlight(); |
| 158 | +} |
| 159 | + |
154 | 160 | .uline { |
155 | 161 | text-decoration: underline; |
156 | 162 | } |
|
0 commit comments