diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-08 17:45:16 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-08 17:45:16 +0100 |
| commit | 414474f61fe78a937cf570945db699bb1a915971 (patch) | |
| tree | ef7038b1e511e07679f76f4fe28f6db515121dff /src/styles | |
| parent | dc5b2569e3265ccd4d462c1fb76d838a66b3e832 (diff) | |
chore: adjust h2 styles
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/base/_typography.scss | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/styles/base/_typography.scss b/src/styles/base/_typography.scss index 21f0e73..5bf8eea 100644 --- a/src/styles/base/_typography.scss +++ b/src/styles/base/_typography.scss @@ -6,7 +6,15 @@ h1 { } h2 { + padding-bottom: fun.convert-px(3); + background: linear-gradient( + to top, + var(--color-primary-dark) 0.3rem, + transparent 0.3rem + ) + 0 0 / 3rem 100% no-repeat; font-size: var(--font-size-2xl); + text-shadow: fun.convert-px(1) fun.convert-px(1) 0 var(--color-shadow-lighter); } h3 { @@ -126,11 +134,7 @@ dd { } a { - background: linear-gradient( - to top, - var(--color-primary) 50%, - var(--color-bg) 50% - ) + background: linear-gradient(to top, var(--color-primary) 50%, transparent 50%) 0 0 / 100% 200% no-repeat; color: var(--color-primary); text-decoration-thickness: 13%; |
