|
| 1 | +@charset "UTF-8"; |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +/* VARIABLES -------------------------------------------------------------- */ |
| 6 | + |
| 7 | +:root { |
| 8 | + --heading-font: 'Open Sans', sans-serif; |
| 9 | + --main-font: 'Open Sans', sans-serif; |
| 10 | + --minor-font: 'Open Sans', sans-serif; |
| 11 | + --heading-color: rgba(0,0,50,.9); |
| 12 | + --main-color: rgba(70,70,90,.9); |
| 13 | + --minor-color: rgb(190,190,200); |
| 14 | + --emphasis-color: rgb(27,211,165); |
| 15 | +} |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +/* DEFAULTS --------------------------------------------------------------- */ |
| 20 | + |
| 21 | +html { |
| 22 | + color: var(--main-color); |
| 23 | + font-family: var(--main-font); |
| 24 | + font-size: 16px; |
| 25 | + font-weight: 400; |
| 26 | +} |
| 27 | + |
| 28 | +/* TYPOGRAPHY ------------------------------------------------------------- */ |
| 29 | + |
| 30 | +.primary-heading { |
| 31 | + color: var(--heading-color); |
| 32 | + font-family: var(--heading-font); |
| 33 | + font-size: 2rem; |
| 34 | + font-weight: 400; |
| 35 | +} |
| 36 | + |
| 37 | +/* good for block-level */ |
| 38 | +.circle-letter-flex { |
| 39 | + align-items: center; |
| 40 | + background: var(--main-color); |
| 41 | + border-radius: 50%; |
| 42 | + color: #fff; |
| 43 | + display: flex; |
| 44 | + height: 3rem; |
| 45 | + justify-content: center; |
| 46 | + margin: .2rem; |
| 47 | + width: 3rem; |
| 48 | +} |
| 49 | + |
| 50 | +/* good for inline but margin doesn't work on table-cell */ |
| 51 | +.circle-letter-table { |
| 52 | + background: var(--main-color); |
| 53 | + border-radius: 50%; |
| 54 | + color: #fff; |
| 55 | + display: table-cell; |
| 56 | + height: 3rem; |
| 57 | + text-align: center; |
| 58 | + vertical-align: middle; |
| 59 | + width: 3rem; |
| 60 | +} |
| 61 | + |
| 62 | +/* good for inline but padding must change with width & height */ |
| 63 | +.circle-letter-padding { |
| 64 | + background: var(--main-color); |
| 65 | + border-radius: 50%; |
| 66 | + box-sizing: border-box; |
| 67 | + color: #fff; |
| 68 | + display: inline-block; |
| 69 | + height: 3rem; |
| 70 | + line-height: 1rem; |
| 71 | + margin: .2rem; |
| 72 | + padding-top: calc((3rem - 1rem) / 2); |
| 73 | + text-align: center; |
| 74 | + width: 3rem; |
| 75 | +} |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +/* LINKS & BUTTONS -------------------------------------------------------- */ |
| 80 | + |
| 81 | +/* LAYOUT ----------------------------------------------------------------- */ |
| 82 | + |
| 83 | +/* COMPONENTS ------------------------------------------------------------- */ |
| 84 | + |
| 85 | +/* COSMETIC --------------------------------------------------------------- */ |
| 86 | + |
| 87 | +/* UTILITY ---------------------------------------------------------------- */ |
| 88 | + |
| 89 | +/* STATE ------------------------------------------------------------------ */ |
0 commit comments