diff options
| author | Volpeon <git@volpeon.ink> | 2021-03-26 22:48:01 +0100 | 
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-03-26 22:48:01 +0100 | 
| commit | ef58809a37a7ad95c9bdef8e9f465adb3904ffdf (patch) | |
| tree | a13c113552197dd3dbbd3c511a3cdef95d9d45b5 /assets/css/_basics.scss | |
| parent | WIP: Redesign (diff) | |
| download | volpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.tar.gz volpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.tar.bz2 volpeon.ink-ef58809a37a7ad95c9bdef8e9f465adb3904ffdf.zip | |
WIP: Redesign
Diffstat (limited to 'assets/css/_basics.scss')
| -rw-r--r-- | assets/css/_basics.scss | 30 | 
1 files changed, 5 insertions, 25 deletions
| diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 64b11cf..d05bc36 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
| @@ -1,24 +1,3 @@ | |||
| 1 | @font-face { | ||
| 2 | font-family: 'IBM Plex Sans'; | ||
| 3 | font-style: normal; | ||
| 4 | font-weight: normal; | ||
| 5 | src: url('/IBMPlexSans-Regular.woff2') format('woff2'); | ||
| 6 | } | ||
| 7 | |||
| 8 | @font-face { | ||
| 9 | font-family: 'IBM Plex Sans'; | ||
| 10 | font-style: normal; | ||
| 11 | font-weight: bold; | ||
| 12 | src: url('/IBMPlexSans-Bold.woff2') format('woff2'); | ||
| 13 | } | ||
| 14 | |||
| 15 | @font-face { | ||
| 16 | font-family: 'Garet Variable'; | ||
| 17 | font-style: normal; | ||
| 18 | font-weight: 50 950; | ||
| 19 | src: url('/GaretVariable.woff2') format('woff2-variations'); | ||
| 20 | } | ||
| 21 | |||
| 22 | ::selection { | 1 | ::selection { | 
| 23 | background-color: var(--select--bg); | 2 | background-color: var(--select--bg); | 
| 24 | color: var(--select--fg); | 3 | color: var(--select--fg); | 
| @@ -37,20 +16,21 @@ code { | |||
| 37 | html, | 16 | html, | 
| 38 | body, | 17 | body, | 
| 39 | main { | 18 | main { | 
| 40 | height: 100%; | 19 | box-sizing: border-box; | 
| 20 | height: 100%; | ||
| 41 | } | 21 | } | 
| 42 | 22 | ||
| 43 | html { | 23 | html { | 
| 44 | background-color: prop(--colors --bg); | 24 | background-color: prop(--colors --bg); | 
| 45 | color: prop(--colors --fg); | 25 | color: prop(--colors --fg); | 
| 46 | font-family: $font-fam--text; | 26 | font-family: $font-fam--text; | 
| 47 | font-size: px-to-em($font-size, 16px); | 27 | font-size: 1em / 16px * $font-size; | 
| 48 | line-height: $line-height; | 28 | line-height: $line-height; | 
| 49 | } | 29 | } | 
| 50 | 30 | ||
| 51 | body { | 31 | body { | 
| 52 | margin: 0; | 32 | margin: 0; | 
| 53 | padding: 0; | 33 | padding: prop(--dims --nav --height, $global: true) 0 0; | 
| 54 | } | 34 | } | 
| 55 | 35 | ||
| 56 | pre, | 36 | pre, | 
| @@ -180,7 +160,7 @@ h1 { | |||
| 180 | } | 160 | } | 
| 181 | 161 | ||
| 182 | p { | 162 | p { | 
| 183 | margin: ($line-height * 1em) 0 0; | 163 | margin: ($line-height * 1rem) 0 0; | 
| 184 | } | 164 | } | 
| 185 | 165 | ||
| 186 | :link, | 166 | :link, | 
