aboutsummaryrefslogtreecommitdiffstats
path: root/web/dist/v3/themes/codex.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-18 19:40:46 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-18 19:40:46 -0800
commit8518868ee671c4bc99b27fbda47bb93a1e366eff (patch)
tree284630e24f4d9f505067df1f02fa617411f435b4 /web/dist/v3/themes/codex.css
parent7a7217d023d8decb433a57300072bb00064ef88d (diff)
downloadneko-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.css15
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