|
| 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 | +body { |
| 29 | + margin: 0; |
| 30 | +} |
| 31 | +p { |
| 32 | + margin: 0; |
| 33 | +} |
| 34 | + |
| 35 | +/* TYPOGRAPHY ------------------------------------------------------------- */ |
| 36 | + |
| 37 | +.primary-heading { |
| 38 | + color: var(--heading-color); |
| 39 | + font-family: var(--heading-font); |
| 40 | + font-size: 2rem; |
| 41 | + font-weight: 400; |
| 42 | +} |
| 43 | + |
| 44 | + |
| 45 | +/* LINKS & BUTTONS -------------------------------------------------------- */ |
| 46 | + |
| 47 | +/* LAYOUT ----------------------------------------------------------------- */ |
| 48 | + |
| 49 | +.box { |
| 50 | + border-radius: max(0px, min(8px, calc((100vw - 100%) * 9999))); |
| 51 | + max-width: 400px; |
| 52 | + background-color: var(--heading-color); |
| 53 | + padding: 20px; |
| 54 | + margin: auto; |
| 55 | + color: #fff; |
| 56 | + |
| 57 | +} |
| 58 | +/* COMPONENTS ------------------------------------------------------------- */ |
| 59 | + |
| 60 | +/* COSMETIC --------------------------------------------------------------- */ |
| 61 | + |
| 62 | +/* UTILITY ---------------------------------------------------------------- */ |
| 63 | + |
| 64 | +/* STATE ------------------------------------------------------------------ */ |
0 commit comments