aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / public / assets / now.css
| 1 | /* |
| 2 | * /now/: the live ledger. Sits inside the Turing look (turing-look.css): |
| 3 | * near-black field, blue and green glow, mono kickers, heavy headings, |
| 4 | * rounded cards. What is new here is warmth: every line is coloured by |
| 5 | * how recently it was written, never by opinion. Hot is the last half |
| 6 | * hour (green), warm the last two hours (blue), cool today (soft), cold |
| 7 | * older (ink). |
| 8 | */ |
| 9 | :root { |
| 10 | --now-hot: var(--accent-green); |
| 11 | --now-warm: var(--turing-blue-soft); |
| 12 | --now-cool: var(--turing-blue-44); |
| 13 | --now-cold: var(--turing-line); |
| 14 | --now-op: var(--accent-amber); |
| 15 | --now-drop: var(--turing-red-soft); |
| 16 | } |
| 17 | |
| 18 | .now-hero { |
| 19 | padding: 120px 0 56px; |
| 20 | position: relative; |
| 21 | } |
| 22 | |
| 23 | .now-hero .container, |
| 24 | .now-section .container { |
| 25 | max-width: 1200px; |
| 26 | } |
| 27 | |
| 28 | .now-title { |
| 29 | font-size: clamp(38px, 6vw, 68px); |
| 30 | font-weight: 800; |
| 31 | letter-spacing: -0.03em; |
| 32 | line-height: 1.04; |
| 33 | max-width: 18ch; |
| 34 | } |
| 35 | |
| 36 | .now-lead, |
| 37 | .now-sub { |
| 38 | margin-top: 18px; |
| 39 | max-width: 68ch; |
| 40 | color: var(--tl-ink-2); |
| 41 | font-size: 17px; |
| 42 | line-height: 1.6; |
| 43 | } |
| 44 | |
| 45 | .now-sub { |
| 46 | font-size: 15.5px; |
| 47 | margin-top: 12px; |
| 48 | } |
| 49 | |
| 50 | .now-empty { |
| 51 | margin-top: 28px; |
| 52 | color: var(--tl-ink-3); |
| 53 | font-style: italic; |
| 54 | } |
| 55 | |
| 56 | /* ---------- the pulse row ---------- */ |
| 57 | .now-stats { |
| 58 | display: grid; |
| 59 | grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); |
| 60 | gap: 14px; |
| 61 | margin-top: 40px; |
| 62 | } |
| 63 | |
| 64 | .now-stat { |
| 65 | padding: 18px 20px 16px; |
| 66 | border: 1px solid var(--tl-line); |
| 67 | border-radius: var(--tl-radius); |
| 68 | background: linear-gradient(180deg, color-mix(in srgb, var(--turing-card) 90%, transparent), color-mix(in srgb, var(--bg-surface) 90%, transparent)); |
| 69 | display: flex; |
| 70 | flex-direction: column; |
| 71 | gap: 6px; |
| 72 | transition: border-color 0.3s ease, transform 0.3s ease; |
| 73 | } |
| 74 | |
| 75 | .now-stat:hover { |
| 76 | transform: translateY(-2px); |
| 77 | border-color: var(--tl-line-2); |
| 78 | } |
| 79 | |
| 80 | .now-stat-n { |
| 81 | font-family: var(--font-mono); |
| 82 | font-size: 34px; |
| 83 | font-weight: 600; |
| 84 | letter-spacing: -0.03em; |
| 85 | line-height: 1; |
| 86 | color: var(--tl-ink); |
| 87 | } |
| 88 | |
| 89 | .now-stat-l { |
| 90 | font-size: 12.5px; |
| 91 | letter-spacing: 0.02em; |
| 92 | color: var(--tl-ink-3); |
| 93 | line-height: 1.35; |
| 94 | } |
| 95 | |
| 96 | .now-stat-hot .now-stat-n { color: var(--now-hot); text-shadow: 0 0 24px color-mix(in srgb, var(--accent-green) 35%, transparent); } |
| 97 | .now-stat-done .now-stat-n { color: var(--now-warm); } |
| 98 | .now-stat-op .now-stat-n { color: var(--now-op); } |
| 99 | |
| 100 | .now-stamp { |
| 101 | margin-top: 22px; |
| 102 | font-size: 13px; |
| 103 | color: var(--tl-ink-3); |
| 104 | } |
| 105 | |
| 106 | .now-stamp .mono { color: var(--tl-ink-2); } |
| 107 | |
| 108 | .now-pulse { |
| 109 | list-style: none; |
| 110 | display: flex; |
| 111 | flex-wrap: wrap; |
| 112 | gap: 8px 22px; |
| 113 | margin-top: 14px; |
| 114 | padding: 0; |
| 115 | } |
| 116 | |
| 117 | .now-pulse li { |
| 118 | display: inline-flex; |
| 119 | gap: 8px; |
| 120 | font-size: 12.5px; |
| 121 | color: var(--tl-ink-3); |
| 122 | } |
| 123 | |
| 124 | .now-pulse-v { color: var(--tl-ink-2); } |
| 125 | |
| 126 | /* ---------- sections ---------- */ |
| 127 | .now-section { |
| 128 | padding: 72px 0; |
| 129 | border-top: 1px solid var(--tl-line); |
| 130 | } |
| 131 | |
| 132 | .now-h2 { |
| 133 | font-size: clamp(26px, 3.4vw, 36px); |
| 134 | font-weight: 800; |
| 135 | letter-spacing: -0.025em; |
| 136 | line-height: 1.1; |
| 137 | } |
| 138 | |
| 139 | .now-op-section { |
| 140 | background: |
| 141 | radial-gradient(ellipse 60% 24rem at 20% 0%, color-mix(in srgb, var(--accent-amber) 7%, transparent), transparent 70%); |
| 142 | } |
| 143 | |
| 144 | /* ---------- streams and their rivers ---------- */ |
| 145 | .now-stream { |
| 146 | margin-top: 48px; |
| 147 | } |
| 148 | |
| 149 | .now-stream-head { |
| 150 | display: flex; |
| 151 | align-items: baseline; |
| 152 | justify-content: space-between; |
| 153 | gap: 16px; |
| 154 | } |
| 155 | |
| 156 | .now-stream-name { |
| 157 | font-size: 21px; |
| 158 | font-weight: 700; |
| 159 | letter-spacing: -0.015em; |
| 160 | } |
| 161 | |
| 162 | .now-stream-n { |
| 163 | font-family: var(--font-mono); |
| 164 | font-size: 12px; |
| 165 | letter-spacing: 0.08em; |
| 166 | text-transform: uppercase; |
| 167 | color: var(--tl-ink-3); |
| 168 | } |
| 169 | |
| 170 | .now-river { |
| 171 | display: flex; |
| 172 | gap: 3px; |
| 173 | height: 6px; |
| 174 | margin: 12px 0 20px; |
| 175 | } |
| 176 | |
| 177 | .now-seg { |
| 178 | flex: 1 1 0; |
| 179 | min-width: 6px; |
| 180 | max-width: 72px; |
| 181 | border-radius: 3px; |
| 182 | background: var(--now-cold); |
| 183 | transition: transform 0.3s ease; |
| 184 | } |
| 185 | |
| 186 | .now-seg:hover { transform: scaleY(1.6); } |
| 187 | .now-seg.now-hot { background: var(--now-hot); box-shadow: 0 0 14px color-mix(in srgb, var(--accent-green) 55%, transparent); } |
| 188 | .now-seg.now-warm { background: var(--now-warm); box-shadow: 0 0 10px color-mix(in srgb, var(--turing-blue-soft) 35%, transparent); } |
| 189 | .now-seg.now-cool { background: var(--now-cool); } |
| 190 | |
| 191 | /* ---------- cards ---------- */ |
| 192 | .now-grid { |
| 193 | display: grid; |
| 194 | grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); |
| 195 | gap: 16px; |
| 196 | } |
| 197 | |
| 198 | .now-card { |
| 199 | position: relative; |
| 200 | padding: 20px 22px 18px 24px; |
| 201 | border: 1px solid var(--tl-line); |
| 202 | border-radius: var(--tl-radius); |
| 203 | background: var(--tl-card); |
| 204 | overflow: hidden; |
| 205 | transition: transform 0.35s cubic-bezier(.22,.61,.36,1), border-color 0.35s ease, box-shadow 0.35s ease; |
| 206 | } |
| 207 | |
| 208 | .now-card::before { |
| 209 | content: ""; |
| 210 | position: absolute; |
| 211 | left: 0; |
| 212 | top: 14px; |
| 213 | bottom: 14px; |
| 214 | width: 3px; |
| 215 | border-radius: 3px; |
| 216 | background: var(--now-cold); |
| 217 | } |
| 218 | |
| 219 | .now-card.now-hot::before { background: var(--now-hot); box-shadow: 0 0 16px color-mix(in srgb, var(--accent-green) 60%, transparent); } |
| 220 | .now-card.now-warm::before { background: var(--now-warm); } |
| 221 | .now-card.now-cool::before { background: var(--now-cool); } |
| 222 | .now-card.now-k-operator::before { background: var(--now-op); box-shadow: 0 0 16px color-mix(in srgb, var(--accent-amber) 45%, transparent); } |
| 223 | |
| 224 | .now-card:hover { |
| 225 | transform: translateY(-3px); |
| 226 | border-color: var(--tl-blue); |
| 227 | box-shadow: 0 18px 40px color-mix(in srgb, var(--turing-black) 45%, transparent); |
| 228 | } |
| 229 | |
| 230 | .now-card.now-hot:hover { box-shadow: 0 18px 40px color-mix(in srgb, var(--turing-black) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent-green) 18%, transparent); } |
| 231 | |
| 232 | .now-card-top { |
| 233 | display: flex; |
| 234 | align-items: center; |
| 235 | gap: 10px; |
| 236 | flex-wrap: wrap; |
| 237 | font-family: var(--font-mono); |
| 238 | font-size: 11.5px; |
| 239 | letter-spacing: 0.04em; |
| 240 | } |
| 241 | |
| 242 | .now-id { |
| 243 | color: var(--tl-ink-3); |
| 244 | font-family: var(--font-mono); |
| 245 | font-size: 11.5px; |
| 246 | letter-spacing: 0.06em; |
| 247 | } |
| 248 | |
| 249 | .now-owner { |
| 250 | padding: 2px 9px; |
| 251 | border-radius: 999px; |
| 252 | border: 1px solid var(--tl-line-2); |
| 253 | color: var(--tl-ink-2); |
| 254 | font-family: var(--font-mono); |
| 255 | font-size: 11px; |
| 256 | letter-spacing: 0.05em; |
| 257 | white-space: nowrap; |
| 258 | } |
| 259 | |
| 260 | .now-owner-operator { color: var(--now-op); border-color: color-mix(in srgb, var(--accent-amber) 45%, transparent); } |
| 261 | .now-owner-desk { color: var(--tl-violet); border-color: color-mix(in srgb, var(--accent-violet) 40%, transparent); } |
| 262 | .now-owner-coordinator { color: var(--now-warm); border-color: color-mix(in srgb, var(--turing-blue-soft) 40%, transparent); } |
| 263 | .now-owner-unassigned { color: var(--tl-ink-3); border-style: dashed; } |
| 264 | |
| 265 | .now-age { |
| 266 | margin-left: auto; |
| 267 | display: inline-flex; |
| 268 | align-items: center; |
| 269 | gap: 7px; |
| 270 | color: var(--tl-ink-3); |
| 271 | white-space: nowrap; |
| 272 | } |
| 273 | |
| 274 | .now-dot { |
| 275 | width: 7px; |
| 276 | height: 7px; |
| 277 | border-radius: 50%; |
| 278 | background: var(--now-cold); |
| 279 | } |
| 280 | |
| 281 | .now-hot .now-dot { |
| 282 | background: var(--now-hot); |
| 283 | box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-green) 60%, transparent); |
| 284 | animation: now-beat 2.4s cubic-bezier(.22,.61,.36,1) infinite; |
| 285 | } |
| 286 | |
| 287 | .now-warm .now-dot { background: var(--now-warm); } |
| 288 | .now-cool .now-dot { background: var(--now-cool); } |
| 289 | |
| 290 | @keyframes now-beat { |
| 291 | 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-green) 55%, transparent); } |
| 292 | 70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent-green) 0%, transparent); } |
| 293 | 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-green) 0%, transparent); } |
| 294 | } |
| 295 | |
| 296 | .now-item { |
| 297 | margin-top: 12px; |
| 298 | font-size: 16.5px; |
| 299 | font-weight: 650; |
| 300 | letter-spacing: -0.01em; |
| 301 | line-height: 1.35; |
| 302 | color: var(--tl-ink); |
| 303 | overflow-wrap: anywhere; |
| 304 | } |
| 305 | |
| 306 | .now-note { |
| 307 | margin-top: 10px; |
| 308 | font-size: 13.5px; |
| 309 | line-height: 1.55; |
| 310 | color: var(--tl-ink-2); |
| 311 | overflow-wrap: anywhere; |
| 312 | display: -webkit-box; |
| 313 | -webkit-line-clamp: 4; |
| 314 | -webkit-box-orient: vertical; |
| 315 | overflow: hidden; |
| 316 | } |
| 317 | |
| 318 | .now-card:hover .now-note { -webkit-line-clamp: unset; } |
| 319 | |
| 320 | .now-done { |
| 321 | margin-top: 12px; |
| 322 | padding-top: 10px; |
| 323 | border-top: 1px dashed var(--tl-line); |
| 324 | font-size: 12.5px; |
| 325 | line-height: 1.5; |
| 326 | color: var(--tl-ink-3); |
| 327 | overflow-wrap: anywhere; |
| 328 | } |
| 329 | |
| 330 | .now-done-k { |
| 331 | font-family: var(--font-mono); |
| 332 | font-size: 10.5px; |
| 333 | letter-spacing: 0.12em; |
| 334 | text-transform: uppercase; |
| 335 | color: var(--tl-blue); |
| 336 | margin-right: 4px; |
| 337 | } |
| 338 | |
| 339 | /* ---------- queue ---------- */ |
| 340 | .now-queue { |
| 341 | list-style: none; |
| 342 | padding: 0; |
| 343 | margin-top: 28px; |
| 344 | border: 1px solid var(--tl-line); |
| 345 | border-radius: var(--tl-radius); |
| 346 | overflow: hidden; |
| 347 | } |
| 348 | |
| 349 | .now-queue-row { |
| 350 | display: grid; |
| 351 | grid-template-columns: 56px 1fr auto; |
| 352 | gap: 8px 16px; |
| 353 | align-items: baseline; |
| 354 | padding: 14px 20px; |
| 355 | border-top: 1px solid var(--tl-line); |
| 356 | background: var(--tl-card); |
| 357 | } |
| 358 | |
| 359 | .now-queue-row:first-child { border-top: 0; } |
| 360 | .now-queue-row:nth-child(even) { background: color-mix(in srgb, var(--bg-surface) 60%, transparent); } |
| 361 | |
| 362 | .now-queue-item { |
| 363 | font-size: 15px; |
| 364 | font-weight: 600; |
| 365 | color: var(--tl-ink); |
| 366 | overflow-wrap: anywhere; |
| 367 | } |
| 368 | |
| 369 | .now-queue-done { |
| 370 | grid-column: 2 / -1; |
| 371 | font-size: 12.5px; |
| 372 | color: var(--tl-ink-3); |
| 373 | overflow-wrap: anywhere; |
| 374 | } |
| 375 | |
| 376 | @media (max-width: 640px) { |
| 377 | .now-queue-row { grid-template-columns: 1fr; } |
| 378 | .now-queue-row .now-owner { justify-self: start; } |
| 379 | } |
| 380 | |
| 381 | /* ---------- settled timeline ---------- */ |
| 382 | .now-timeline { |
| 383 | list-style: none; |
| 384 | padding: 0; |
| 385 | margin-top: 36px; |
| 386 | position: relative; |
| 387 | } |
| 388 | |
| 389 | .now-timeline::before { |
| 390 | content: ""; |
| 391 | position: absolute; |
| 392 | left: 118px; |
| 393 | top: 6px; |
| 394 | bottom: 6px; |
| 395 | width: 1px; |
| 396 | background: linear-gradient(180deg, var(--tl-green), var(--tl-blue) 40%, var(--tl-line)); |
| 397 | } |
| 398 | |
| 399 | .now-tl { |
| 400 | display: grid; |
| 401 | grid-template-columns: 100px 1fr; |
| 402 | gap: 36px; |
| 403 | padding: 14px 0 22px; |
| 404 | position: relative; |
| 405 | } |
| 406 | |
| 407 | .now-tl::after { |
| 408 | content: ""; |
| 409 | position: absolute; |
| 410 | left: 114px; |
| 411 | top: 21px; |
| 412 | width: 9px; |
| 413 | height: 9px; |
| 414 | border-radius: 50%; |
| 415 | background: var(--tl-bg); |
| 416 | border: 2px solid var(--now-warm); |
| 417 | } |
| 418 | |
| 419 | .now-tl-done::after { border-color: var(--now-hot); } |
| 420 | .now-tl-dropped::after { border-color: var(--now-drop); } |
| 421 | |
| 422 | .now-tl-when { |
| 423 | text-align: right; |
| 424 | font-size: 12px; |
| 425 | color: var(--tl-ink-3); |
| 426 | padding-top: 3px; |
| 427 | } |
| 428 | |
| 429 | .now-verdict { |
| 430 | display: inline-block; |
| 431 | padding: 2px 9px; |
| 432 | border-radius: 999px; |
| 433 | font-family: var(--font-mono); |
| 434 | font-size: 10.5px; |
| 435 | letter-spacing: 0.12em; |
| 436 | text-transform: uppercase; |
| 437 | margin-right: 10px; |
| 438 | } |
| 439 | |
| 440 | .now-verdict-done { color: var(--now-hot); border: 1px solid color-mix(in srgb, var(--accent-green) 40%, transparent); } |
| 441 | .now-verdict-dropped { color: var(--now-drop); border: 1px solid color-mix(in srgb, var(--turing-red-soft) 40%, transparent); } |
| 442 | |
| 443 | .now-tl-item { |
| 444 | margin-top: 8px; |
| 445 | font-size: 15.5px; |
| 446 | font-weight: 600; |
| 447 | color: var(--tl-ink); |
| 448 | overflow-wrap: anywhere; |
| 449 | } |
| 450 | |
| 451 | .now-tl-evidence { |
| 452 | margin-top: 6px; |
| 453 | font-size: 13px; |
| 454 | line-height: 1.55; |
| 455 | color: var(--tl-ink-2); |
| 456 | overflow-wrap: anywhere; |
| 457 | } |
| 458 | |
| 459 | @media (max-width: 640px) { |
| 460 | .now-timeline::before { left: 4px; } |
| 461 | .now-tl { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; } |
| 462 | .now-tl::after { left: 0; top: 20px; } |
| 463 | .now-tl-when { text-align: left; } |
| 464 | } |
| 465 | |
| 466 | .now-how { padding-bottom: 110px; } |
| 467 | |
| 468 | @media (prefers-reduced-motion: reduce) { |
| 469 | .now-hot .now-dot { animation: none; } |
| 470 | .now-card, .now-stat, .now-seg { transition: none; } |
| 471 | } |
| 472 | |
| 473 | /* References inside a note (a commit, a pull request, an evidence folder) |
| 474 | are links; they read as such and stay clickable above the card's own link. */ |
| 475 | .now-ref { |
| 476 | color: var(--tl-blue-soft); |
| 477 | text-decoration: underline; |
| 478 | text-decoration-color: color-mix(in srgb, var(--turing-blue-soft) 35%, transparent); |
| 479 | text-decoration-thickness: 1px; |
| 480 | text-underline-offset: 3px; |
| 481 | transition: color 0.3s ease, text-decoration-color 0.3s ease; |
| 482 | } |
| 483 | |
| 484 | .now-ref:hover { |
| 485 | color: var(--tl-green); |
| 486 | text-decoration-color: var(--tl-green); |
| 487 | } |
| 488 | |
| 489 | /* ---------- jump bar, folds and compact rows ---------- */ |
| 490 | .now-jump { |
| 491 | display: flex; |
| 492 | flex-wrap: wrap; |
| 493 | gap: 8px; |
| 494 | margin-top: 22px; |
| 495 | } |
| 496 | .now-jump a { |
| 497 | padding: 7px 13px; |
| 498 | border: 1px solid var(--tl-line); |
| 499 | border-radius: 999px; |
| 500 | color: var(--tl-ink-2); |
| 501 | font: 600 12.5px/1.2 var(--font-mono); |
| 502 | text-decoration: none; |
| 503 | background: var(--tl-card); |
| 504 | } |
| 505 | .now-jump a:hover, |
| 506 | .now-jump a:focus-visible { color: var(--tl-ink); border-color: var(--now-warm); } |
| 507 | .now-jump a span { color: var(--now-warm); margin-left: 4px; } |
| 508 | |
| 509 | .now-section { scroll-margin-top: 72px; } |
| 510 | |
| 511 | .now-folds { |
| 512 | display: grid; |
| 513 | gap: 10px; |
| 514 | margin-top: 26px; |
| 515 | } |
| 516 | .now-fold { |
| 517 | border: 1px solid var(--tl-line); |
| 518 | border-radius: 14px; |
| 519 | background: var(--tl-card); |
| 520 | overflow: hidden; |
| 521 | } |
| 522 | .now-fold-sum { |
| 523 | display: flex; |
| 524 | flex-wrap: wrap; |
| 525 | align-items: baseline; |
| 526 | gap: 6px 16px; |
| 527 | padding: 15px 20px; |
| 528 | cursor: pointer; |
| 529 | list-style: none; |
| 530 | } |
| 531 | .now-fold-sum::-webkit-details-marker { display: none; } |
| 532 | .now-fold-sum::before { |
| 533 | content: "+"; |
| 534 | width: 14px; |
| 535 | color: var(--now-warm); |
| 536 | font: 700 16px/1 var(--font-mono); |
| 537 | } |
| 538 | .now-fold[open] > .now-fold-sum::before { content: "-"; } |
| 539 | .now-fold[open] > .now-fold-sum { border-bottom: 1px solid var(--tl-line); } |
| 540 | .now-fold-sum:hover .now-fold-name, |
| 541 | .now-fold-sum:focus-visible .now-fold-name { color: var(--now-warm); } |
| 542 | .now-fold-name { font-weight: 700; color: var(--tl-ink); } |
| 543 | .now-fold-n, |
| 544 | .now-fold-age { color: var(--tl-ink-3); font: 12px/1.4 var(--font-mono); } |
| 545 | .now-fold-age { margin-left: auto; } |
| 546 | .now-fold-rows { margin-top: 0; border: 0; border-radius: 0; } |
| 547 | .now-fold .now-timeline { padding: 4px 20px 16px; } |
| 548 | |
| 549 | .now-row { grid-template-columns: 64px 1fr auto; } |
| 550 | .now-row > .box-link { grid-column: 2 / -1; justify-self: start; } |
| 551 | .now-row-note { |
| 552 | display: -webkit-box; |
| 553 | -webkit-box-orient: vertical; |
| 554 | -webkit-line-clamp: 2; |
| 555 | overflow: hidden; |
| 556 | margin-top: 4px; |
| 557 | font-size: 13px; |
| 558 | font-weight: 400; |
| 559 | line-height: 1.5; |
| 560 | color: var(--tl-ink-2); |
| 561 | } |
| 562 | .now-row:hover .now-row-note, |
| 563 | .now-row:target .now-row-note { -webkit-line-clamp: unset; } |
| 564 | .now-row-meta { |
| 565 | display: flex; |
| 566 | flex-direction: column; |
| 567 | align-items: flex-end; |
| 568 | gap: 4px; |
| 569 | } |
| 570 | .now-row-age { color: var(--tl-ink-3); font: 11.5px/1.3 var(--font-mono); white-space: nowrap; } |
| 571 | |
| 572 | :target { scroll-margin-top: 80px; } |
| 573 | .now-row:target, |
| 574 | .now-tl:target, |
| 575 | .now-card:target { outline: 2px solid var(--now-warm); outline-offset: 2px; } |
| 576 | |
| 577 | @media (max-width: 640px) { |
| 578 | .now-row { grid-template-columns: 1fr; } |
| 579 | .now-row > .box-link { grid-column: 1; } |
| 580 | .now-row-meta { flex-direction: row; align-items: center; gap: 10px; } |
| 581 | .now-fold-age { margin-left: 0; } |
| 582 | .now-fold .now-timeline { padding: 4px 12px 12px; } |
| 583 | } |
| 584 | .now-row-done { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--tl-ink-3); overflow-wrap: anywhere; } |
| 585 | |
| 586 | /* ---------- models on the Spark ---------- */ |
| 587 | .now-model-track { color: var(--tl-ink-3); font: 600 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; } |
| 588 | .now-model-state { |
| 589 | margin-left: auto; |
| 590 | padding: 3px 9px; |
| 591 | border: 1px solid var(--tl-line); |
| 592 | border-radius: 999px; |
| 593 | font: 600 11px/1.3 var(--font-mono); |
| 594 | color: var(--tl-ink-3); |
| 595 | white-space: nowrap; |
| 596 | } |
| 597 | .now-model-state-answering { color: var(--now-hot); border-color: color-mix(in srgb, var(--accent-green) 45%, transparent); } |
| 598 | .now-model-state-not-answering { color: var(--now-drop); border-color: color-mix(in srgb, var(--turing-red-soft) 45%, transparent); } |
| 599 | .now-model-state-planned { color: var(--now-warm); border-color: color-mix(in srgb, var(--turing-blue-soft) 40%, transparent); } |
| 600 | .now-model-answering::before { background: var(--now-hot); } |
| 601 | .now-model-not-answering::before { background: var(--now-drop); } |
| 602 | .now-model .now-model-role { -webkit-line-clamp: unset; } |
| 603 | .now-model-figs { margin: 12px 0 0; display: grid; gap: 4px; } |
| 604 | .now-model-figs dt { color: var(--tl-ink-3); font: 600 11px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; margin-top: 6px; } |
| 605 | .now-model-figs dd { margin: 0; color: var(--tl-ink); font-size: 14px; line-height: 1.5; } |
| 606 | #models .now-grid { margin-top: 26px; } |
| 607 | |
| 608 | /* Keeper, the merge desk: one big dachshund standing on the page (public/assets/keeper.svg). */ |
| 609 | .now-owner-dog { |
| 610 | width: 42px; |
| 611 | height: 14px; |
| 612 | margin-right: 5px; |
| 613 | vertical-align: -2px; |
| 614 | } |
| 615 | |
| 616 | .now-hero-top { |
| 617 | display: grid; |
| 618 | grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); |
| 619 | gap: 24px; |
| 620 | align-items: end; |
| 621 | } |
| 622 | |
| 623 | .now-keeper { |
| 624 | margin: 0; |
| 625 | text-align: center; |
| 626 | } |
| 627 | |
| 628 | .now-keeper img { |
| 629 | display: block; |
| 630 | width: 100%; |
| 631 | height: auto; |
| 632 | } |
| 633 | |
| 634 | .now-keeper figcaption { |
| 635 | margin-top: 6px; |
| 636 | color: var(--tl-ink-3); |
| 637 | font-family: var(--font-mono); |
| 638 | font-size: 12px; |
| 639 | letter-spacing: 0.12em; |
| 640 | text-transform: uppercase; |
| 641 | } |
| 642 | |
| 643 | @media (max-width: 900px) { |
| 644 | .now-hero-top { grid-template-columns: 1fr; } |
| 645 | .now-keeper { order: -1; } |
| 646 | } |
| 647 | |
| 648 | /* Drake's Claude plan: what is left, and how to help pay for it. */ |
| 649 | .now-usage-wrap { |
| 650 | display: grid; |
| 651 | margin-top: 24px; |
| 652 | grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); |
| 653 | gap: 18px; |
| 654 | align-items: start; |
| 655 | } |
| 656 | |
| 657 | .now-usage { |
| 658 | position: relative; |
| 659 | padding: 20px 22px 18px 24px; |
| 660 | border: 1px solid var(--tl-line); |
| 661 | border-radius: var(--tl-radius); |
| 662 | background: var(--tl-card); |
| 663 | } |
| 664 | |
| 665 | .now-usage-plan { |
| 666 | font-weight: 700; |
| 667 | color: var(--tl-ink); |
| 668 | } |
| 669 | |
| 670 | .now-usage-row { |
| 671 | display: grid; |
| 672 | grid-template-columns: 1fr auto; |
| 673 | gap: 6px 12px; |
| 674 | margin-top: 16px; |
| 675 | } |
| 676 | |
| 677 | .now-usage-k { color: var(--tl-ink); font-size: 15px; } |
| 678 | .now-usage-v { justify-self: end; color: var(--tl-ink); font-size: 15px; } |
| 679 | .now-usage-used { color: var(--tl-ink-2); font-size: 13px; } |
| 680 | .now-usage-reset { grid-column: 1 / -1; color: var(--tl-ink-3); font-size: 12px; } |
| 681 | |
| 682 | .now-usage-meter { |
| 683 | grid-column: 1 / -1; |
| 684 | grid-row: 2; |
| 685 | width: 100%; |
| 686 | height: 12px; |
| 687 | } |
| 688 | |
| 689 | /* The limits as one menu: a chip per window flips the card between the |
| 690 | five-hour session and the weekly limits, with no script and no page jump. */ |
| 691 | .now-usage-menu { margin-top: 4px; } |
| 692 | |
| 693 | .now-usage-radio { |
| 694 | position: absolute; |
| 695 | width: 1px; |
| 696 | height: 1px; |
| 697 | margin: -1px; |
| 698 | padding: 0; |
| 699 | overflow: hidden; |
| 700 | clip: rect(0 0 0 0); |
| 701 | white-space: nowrap; |
| 702 | border: 0; |
| 703 | } |
| 704 | |
| 705 | .now-usage-tabs { |
| 706 | display: flex; |
| 707 | flex-wrap: wrap; |
| 708 | gap: 8px; |
| 709 | margin: 4px 0 2px; |
| 710 | } |
| 711 | |
| 712 | .now-usage-tab { |
| 713 | display: inline-flex; |
| 714 | align-items: baseline; |
| 715 | gap: 8px; |
| 716 | padding: 7px 12px; |
| 717 | border: 1px solid var(--tl-line); |
| 718 | border-radius: 999px; |
| 719 | color: var(--tl-ink-2); |
| 720 | font-size: 13px; |
| 721 | line-height: 1.2; |
| 722 | cursor: pointer; |
| 723 | transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; |
| 724 | } |
| 725 | |
| 726 | .now-usage-tab:hover { color: var(--tl-ink); border-color: var(--tl-line-2); } |
| 727 | .now-usage-tab-k { font-weight: 600; } |
| 728 | .now-usage-tab-v { color: var(--tl-ink-3); font-variant-numeric: tabular-nums; } |
| 729 | |
| 730 | .now-usage-panels .now-usage-panel { display: none; } |
| 731 | .now-usage-panel .now-usage-row { margin-top: 14px; } |
| 732 | |
| 733 | #now-usage-0:checked ~ .now-usage-tabs label[for="now-usage-0"], |
| 734 | #now-usage-1:checked ~ .now-usage-tabs label[for="now-usage-1"], |
| 735 | #now-usage-2:checked ~ .now-usage-tabs label[for="now-usage-2"] { |
| 736 | border-color: var(--now-op); |
| 737 | color: var(--tl-ink); |
| 738 | box-shadow: inset 0 -2px 0 var(--now-op); |
| 739 | } |
| 740 | |
| 741 | #now-usage-0:checked ~ .now-usage-tabs label[for="now-usage-0"] .now-usage-tab-v, |
| 742 | #now-usage-1:checked ~ .now-usage-tabs label[for="now-usage-1"] .now-usage-tab-v, |
| 743 | #now-usage-2:checked ~ .now-usage-tabs label[for="now-usage-2"] .now-usage-tab-v { color: var(--tl-ink); } |
| 744 | |
| 745 | #now-usage-0:focus-visible ~ .now-usage-tabs label[for="now-usage-0"], |
| 746 | #now-usage-1:focus-visible ~ .now-usage-tabs label[for="now-usage-1"], |
| 747 | #now-usage-2:focus-visible ~ .now-usage-tabs label[for="now-usage-2"] { |
| 748 | outline: 2px solid var(--now-op); |
| 749 | outline-offset: 2px; |
| 750 | } |
| 751 | |
| 752 | #now-usage-0:checked ~ .now-usage-panels .now-usage-panel-0, |
| 753 | #now-usage-1:checked ~ .now-usage-panels .now-usage-panel-1, |
| 754 | #now-usage-2:checked ~ .now-usage-panels .now-usage-panel-2 { display: block; } |
| 755 | |
| 756 | @media (max-width: 520px) { |
| 757 | .now-usage-tab { flex: 1 1 100%; } |
| 758 | } |
| 759 | |
| 760 | .now-give { |
| 761 | padding: 20px 22px; |
| 762 | border: 1px solid color-mix(in srgb, var(--accent-amber) 45%, transparent); |
| 763 | border-radius: var(--tl-radius); |
| 764 | background: color-mix(in srgb, var(--accent-amber) 6%, transparent); |
| 765 | color: var(--tl-ink-2); |
| 766 | font-size: 15px; |
| 767 | line-height: 1.55; |
| 768 | } |
| 769 | |
| 770 | .now-give-h { |
| 771 | margin: 0 0 8px; |
| 772 | color: var(--now-op); |
| 773 | font-size: 18px; |
| 774 | } |
| 775 | |
| 776 | .now-give-steps { margin: 10px 0; padding-left: 20px; } |
| 777 | .now-give-note { color: var(--tl-ink-3); font-size: 13px; } |
| 778 | |
| 779 | .now-give-btn { |
| 780 | display: inline-block; |
| 781 | margin-top: 8px; |
| 782 | padding: 10px 16px; |
| 783 | border-radius: 999px; |
| 784 | background: var(--now-op); |
| 785 | color: var(--turing-orange-6); |
| 786 | font-weight: 700; |
| 787 | text-decoration: none; |
| 788 | } |
| 789 | |
| 790 | .now-give-btn:hover, |
| 791 | .now-give-btn:focus-visible { background: var(--turing-amber-56); } |
| 792 | |
| 793 | @media (max-width: 760px) { |
| 794 | .now-usage-wrap { grid-template-columns: 1fr; } |
| 795 | } |