diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-18 19:40:46 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-18 19:40:46 -0800 |
| commit | 8518868ee671c4bc99b27fbda47bb93a1e366eff (patch) | |
| tree | 284630e24f4d9f505067df1f02fa617411f435b4 /web/dist/v3/themes/codex.css | |
| parent | 7a7217d023d8decb433a57300072bb00064ef88d (diff) | |
| download | neko-8518868ee671c4bc99b27fbda47bb93a1e366eff.tar.gz neko-8518868ee671c4bc99b27fbda47bb93a1e366eff.tar.bz2 neko-8518868ee671c4bc99b27fbda47bb93a1e366eff.zip | |
Improve scroll-to-read robustness and add visual feedback for read items across all themes
Diffstat (limited to 'web/dist/v3/themes/codex.css')
| -rw-r--r-- | web/dist/v3/themes/codex.css | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/web/dist/v3/themes/codex.css b/web/dist/v3/themes/codex.css index 50942e6..fcf4e33 100644 --- a/web/dist/v3/themes/codex.css +++ b/web/dist/v3/themes/codex.css @@ -170,7 +170,7 @@ body { padding: 2.5rem 2rem; } -.main-content > * { +.main-content>* { max-width: 33em; } @@ -182,10 +182,19 @@ body { border-radius: 0; padding-bottom: 2.5rem; border-bottom: none; + transition: opacity 0.4s ease; +} + +.feed-item.read { + opacity: 0.5; +} + +.feed-item.read .item-title { + color: var(--codex-muted); } /* Decorative separator between items -- a subtle fleuron */ -.feed-item + .feed-item::before { +.feed-item+.feed-item::before { content: '\2766'; display: block; text-align: center; @@ -451,4 +460,4 @@ select:focus { .theme-dark .sidebar-backdrop { background: rgba(28, 26, 23, 0.6); -} +}
\ No newline at end of file |
