aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 9f2cd35..633d7f6 100644
--- a/src/style.css
+++ b/src/style.css
@@ -2197,3 +2197,17 @@ html:has(.call-overlay:not(.call-min)) { overflow: hidden; scrollbar-gutter: aut
.balance-settings-row .bs-title { font-weight: 600; }
.balance-settings-row .bs-tail { color: var(--muted); font-size: 20px; line-height: 1; flex-shrink: 0; width: 14px; text-align: center; }
.settings-prefs select { flex: 1 1 0; min-width: 0; }
+
+/* How far back the feed is scrolled: the post at the top of the screen's
+ date, under the top bar while scrolling (scrollWhen in messages.js). */
+.feed-when {
+ position: fixed; z-index: 29; transform: translate(-50%, -4px);
+ padding: 5px 12px; border-radius: 999px; white-space: nowrap;
+ font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
+ background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink);
+ border: 1px solid var(--line-strong);
+ -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
+ box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
+ pointer-events: none; opacity: 0; transition: opacity .25s, transform .25s;
+}
+.feed-when.on { opacity: 1; transform: translate(-50%, 0); }