@@ -1,7 +1,7 @@
11 @import "tailwindcss";
22 @plugin "@tailwindcss/typography";
33 @source "../templates";
4-@source inline("bg-{fe,be,both,none,h0,h1,h2,h3,h4,h5,h6,paper,card,ink,soft,line,empty,accent,det,pre,add,del} text-{t0,t1,t2,t3,t4,t5,t6}");
4+@source inline("bg-{fe,be,both,none,h0,h1,h2,h3,h4,h5,h6,paper,card,ink,soft,edge,line,empty,accent,det,pre,add,del} text-{t0,t1,t2,t3,t4,t5,t6}");
55
66 /* Every colour is light-dark(): the page follows the system, and data-theme forces one. */
77 @theme {
@@ -9,6 +9,8 @@
99 --color-card: light-dark(#fffaf0, #1d1b15);
1010 --color-ink: light-dark(#1a1a1a, #f1ead8);
1111 --color-soft: light-dark(#1a1a1ab3, #f1ead899);
12+ /* edge: structural lines. ink in light; in dark a quiet warm grey (3:1 on paper), so borders do not outshine text. */
13+ --color-edge: light-dark(#1a1a1a, #6b6453);
1214 --color-line: light-dark(#1a1a1a22, #f1ead81f);
1315 --color-empty: light-dark(#e7dfcd, #25231c);
1416 --color-accent: light-dark(#9e411c, #ffc94d);
@@ -70,7 +72,7 @@
7072 --tw-prose-code: var(--color-accent);
7173 --tw-prose-pre-code: var(--color-pre-fg);
7274 --tw-prose-pre-bg: var(--color-pre);
73- --tw-prose-th-borders: var(--color-ink);
75+ --tw-prose-th-borders: var(--color-edge);
7476 --tw-prose-td-borders: var(--color-line);
7577 font-size: 15.5px;
7678 }
@@ -106,14 +108,14 @@
106108 /* Two-thumb range: two range inputs stacked on a track under a bar per month, and only their thumbs take the pointer.
107109 The bars are inset by half a thumb so each lines up with the thumb position of its month. */
108110 .range { position: relative; height: 4rem; }
109-.range::before { content: ""; position: absolute; inset: auto 0 calc(.75rem - 1.5px); height: 3px; background: var(--color-ink); }
111+.range::before { content: ""; position: absolute; inset: auto 0 calc(.75rem - 1.5px); height: 3px; background: var(--color-edge); }
110112 #bars { position: absolute; inset: 0 .625rem 1.75rem; display: flex; align-items: flex-end; }
111113 #bars i { flex: 1; min-height: 2px; background: var(--color-line); }
112114 #bars i.on { background: var(--color-accent); }
113115 @media (width >= 40rem) { #bars { gap: 1px; } }
114116 .range input { position: absolute; inset: auto 0 0; height: 1.5rem; width: 100%; margin: 0; appearance: none; background: none; pointer-events: none; }
115-.range input::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border: 1.5px solid var(--color-ink); border-radius: 2px; background: var(--color-accent); cursor: grab; }
116-.range input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; box-sizing: border-box; border: 1.5px solid var(--color-ink); border-radius: 2px; background: var(--color-accent); cursor: grab; }
117+.range input::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border: 1.5px solid var(--color-edge); border-radius: 2px; background: var(--color-accent); cursor: grab; }
118+.range input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; box-sizing: border-box; border: 1.5px solid var(--color-edge); border-radius: 2px; background: var(--color-accent); cursor: grab; }
117119 .range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--color-ink); outline-offset: 2px; }
118120 .range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--color-ink); outline-offset: 2px; }
119121
@@ -128,14 +130,14 @@
128130 /* Tag pools: linked chips pop in one after another (--i is their place), then lift and fill on hover. */
129131 .pool > a { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 18ms); transition: transform .12s, box-shadow .12s; }
130132 .pool > a > span { transition: background-color .12s, color .12s; }
131-.pool > a:hover, .pool > a:focus-visible { transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--color-ink); }
133+.pool > a:hover, .pool > a:focus-visible { transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--color-edge); }
132134 .pool > a:hover > span, .pool > a:focus-visible > span { background: var(--color-accent); color: var(--color-paper); }
133135 .pool > a:active { transform: none; box-shadow: none; }
134136 @keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.85); } }
135137 @media (prefers-reduced-motion: reduce) { .pool > a { animation: none; transition: none; } .pool > a:hover, .pool > a:focus-visible { transform: none; } }
136138
137139 /* Search suggestions (search.js): a card under the header search, the selected row in accent. */
138-#suggest { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; width: 100%; min-width: min(24rem, calc(100vw - 2rem)); background: var(--color-card); border: 1.5px solid var(--color-ink); border-radius: 2px; box-shadow: 3px 3px 0 var(--color-ink); font-size: .875rem; }
140+#suggest { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; width: 100%; min-width: min(24rem, calc(100vw - 2rem)); background: var(--color-card); border: 1.5px solid var(--color-edge); border-radius: 2px; box-shadow: 3px 3px 0 var(--color-edge); font-size: .875rem; }
139141 #suggest a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: .375rem .75rem; color: inherit; text-decoration: none; }
140142 #suggest a + a { border-top: 1px solid var(--color-line); }
141143 #suggest span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-soft); font-size: .8rem; }