diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-08 21:56:46 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-08 21:56:46 +0800 |
| commit | ae58c91ac49e822fd2cf8c5aa1b36cea0f8470ee (patch) | |
| tree | 48a9819bced94c6c29b0c171e80bc61bcd6b9ae5 /assets/css/core/theme-vars.css | |
| parent | cd0381f6d3b86adb02702f1848283d9f19b017b5 (diff) | |
| parent | bb02a60990dd79f9828798a044776984d51ff5da (diff) | |
Merge branch 'newsletter'
* newsletter: (28 commits)
newsletter section: only show list when there are pages
lower nav height in mobile
use content-gap instead of gap for header
consistant header gaps
subtle adjustments
clear debug code
finish newsletter archives
add newsletter sub box in single
enhance inline links
fix rss pages query
newsletter regular page responsive
enlarge post footer bottom border size from 1 to 3px
fix all pages query issues in: list, archives, newsletter section, post_nav_links
fixup! finish newsletter section styling
newsletter section page responsive
finish newsletter section styling
adjust first-entry ul/ol margin
styling newsletter section list
rename .list to .list-page
styling newsletter sub form
...
Diffstat (limited to 'assets/css/core/theme-vars.css')
| -rw-r--r-- | assets/css/core/theme-vars.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/assets/css/core/theme-vars.css b/assets/css/core/theme-vars.css index 7980b48..d67a361 100644 --- a/assets/css/core/theme-vars.css +++ b/assets/css/core/theme-vars.css @@ -27,6 +27,12 @@ --link-transition: all 0.3s ease; --line-yellow: url("data:image/svg+xml;charset=utf-8,%3Csvg preserveAspectRatio='none' width='120' height='6' viewBox='0 0 120 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M119 0.8C60 4 50-0.5 1 1.5' stroke='%23fc0' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); } +@media screen and (max-width: 500px) { + :root { + --header-height: 52px; + } + +} .dark { --theme: rgb(29, 30, 32); @@ -47,10 +53,10 @@ --link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color); } -.list { +.list-page { background: var(--code-bg); } -.dark.list { +.dark.list-page { background: var(--theme); } |
