diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-13 01:02:11 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-13 01:06:57 +0100 |
| commit | a9c29c822a98882c2447629de2a085f094d58f8b (patch) | |
| tree | bb9aa7a711f4b3c4c64bfb8f5511faf5926c9f3b /src/styles/base/_base.scss | |
| parent | d0e1a4997f6cf8e7d694d40af78df4600f68bef4 (diff) | |
chore: define base and typography rules
Diffstat (limited to 'src/styles/base/_base.scss')
| -rw-r--r-- | src/styles/base/_base.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/styles/base/_base.scss b/src/styles/base/_base.scss new file mode 100644 index 0000000..745ee86 --- /dev/null +++ b/src/styles/base/_base.scss @@ -0,0 +1,44 @@ +@use "@styles/abstracts/functions" as fun; + +audio, +button, +figure, +form, +img, +input, +optgroup, +pre, +select, +table, +textarea, +video { + max-width: 100%; +} + +audio, +img, +video { + height: auto; + vertical-align: middle; +} + +button, +label, +summary { + cursor: pointer; +} + +body { + background: var(--color-bg); + border-top: fun.convert-px(5) solid; + border-image: radial-gradient( + ellipse at top, + var(--color-highlight) 20%, + var(--color-primary) 100% + ) + 5; + color: var(--color-fg); + font-family: var(--font-family-primary); + font-size: var(--font-size-md); + line-height: var(--line-height); +} |
