Mercurial > nebulaweb3
comparison default/assets/scss/components/_counter.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 // main: ../style.scss | |
2 /******************************** | |
3 ********************************* | |
4 Counters | |
5 ********************************* | |
6 *********************************/ | |
7 .counter-gradient { | |
8 text-align: center; | |
9 padding: em(30) em(20); | |
10 | |
11 .counter { | |
12 color: $color-scheme; | |
13 background: -webkit-linear-gradient($color-scheme, #{darken($color-scheme-dark, 10%)}); | |
14 background-size: cover; | |
15 -webkit-background-clip: text; | |
16 -webkit-text-fill-color: transparent; | |
17 } | |
18 } | |
19 | |
20 .counter-w-info { | |
21 margin-bottom: 10px; | |
22 .counter { | |
23 font-size: $h1-font-size; | |
24 margin: 0 0.15em; | |
25 } | |
26 .counter-title { | |
27 font-size: $h4-font-size; | |
28 font-family: $headings-font-family; | |
29 text-align: center; | |
30 //font-weight: 300; | |
31 line-height: 1.2; | |
32 letter-spacing: $headings-letter-spacing; | |
33 color: $headings-color; | |
34 } | |
35 .counter-info { | |
36 text-align: center; | |
37 font-family: $headings-font-family; | |
38 letter-spacing: -0.06em; | |
39 font-size: em(13); | |
40 font-weight: 600; | |
41 margin-top: em(5,13); | |
42 color: $text-muted; | |
43 .badge { font-size: inherit } | |
44 } | |
45 } |