diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 22:51:34 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 22:51:34 +0800 |
| commit | a32112651bf6b1475fc670eadbda323dcc5fff1e (patch) | |
| tree | c5124d7214a8c76a8a32638d2566dd192d6e7a9c /assets/css | |
| parent | cd3b2782659b66af9869a48eceee8493290e698d (diff) | |
finish newsletter section styling
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/extended/newsletter.scss | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/assets/css/extended/newsletter.scss b/assets/css/extended/newsletter.scss index 776463d..1c8677c 100644 --- a/assets/css/extended/newsletter.scss +++ b/assets/css/extended/newsletter.scss @@ -10,9 +10,27 @@ body.type-newsletter { --signature-bg: rgba(203, 58, 87, 0.239); --signature-bg-dim: rgba(203, 58, 87, 0.147); --main-border: 5px solid var(--signature); - --link-hover-color: var(--signature); --icon-length: 50px; + // override theme-vars + --link-hover-color: var(--signature); + --link-hover-underline-color: var(--signature); + --link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color); + + .main { + + a { + font-weight: 500; + color: var(--primary); + box-shadow: var(--link-underline-shadow); + // transition: var(--link-transition); + &:hover { + color: var(--link-hover-color); + box-shadow: var(--link-hover-underline-shadow); + } + } + } + /* shared */ .sub-form { display: flex; @@ -87,14 +105,27 @@ body.type-newsletter.kind-section { .first-entry { margin-bottom: 0; - .entry-header h1 { + .entry-header { text-align: center; + margin-bottom: calc(var(--content-gap) * 1.5); + h1 { + // back to default + font-size: 36px; + } + .subtitle { + color: var(--secondary); + } } // .entry-content { // font-size: 16px; // } } + h2 { + margin: 40px 0 20px; + + } + .list { display: flex; flex-direction: column; @@ -118,8 +149,9 @@ body.type-newsletter.kind-section { a { display: block; width: 100%; + box-shadow: none; } - a:hover, a:active { + a:hover { color: var(--signature); } em { |
