aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / public / assets / turing-look.css
| 1 | /* |
| 2 | * The Turing look: one shared layer that gives every page the feel of |
| 3 | * /turing/ (cinematic near-black page, soft blue and green glow, small |
| 4 | * blue capital kickers, large heavy headings, roomy sections, rounded |
| 5 | * cards that lift on hover, pill badges, a blue-to-green reading bar). |
| 6 | * Loaded last on every page so it wins over older page styles. |
| 7 | * Motion (reading bar, glide-in) comes from /js/turing-look.js, the same |
| 8 | * effects the Turing page runs; without it every element simply shows. |
| 9 | * The /turing/ page itself does not load this file. |
| 10 | */ |
| 11 | :root { |
| 12 | --tl-bg: var(--bg-base); |
| 13 | --tl-card: var(--bg-surface); |
| 14 | --tl-card-2: var(--turing-card); |
| 15 | --tl-line: var(--hairline); |
| 16 | --tl-line-2: var(--turing-line); |
| 17 | --tl-ink: var(--turing-ink); |
| 18 | --tl-ink-2: var(--turing-slate); |
| 19 | --tl-ink-3: var(--text-muted); |
| 20 | --tl-blue: var(--kicker-blue); |
| 21 | --tl-blue-soft: var(--turing-blue-soft); |
| 22 | --tl-green: var(--accent-green); |
| 23 | --tl-amber: var(--accent-amber); |
| 24 | --tl-violet: var(--accent-violet); |
| 25 | --tl-radius: 18px; |
| 26 | } |
| 27 | |
| 28 | /* ---------- page ---------- */ |
| 29 | html, body { |
| 30 | background-color: var(--tl-bg); |
| 31 | color: var(--tl-ink); |
| 32 | /* clip, not hidden: hidden turns the page into its own scroll box and |
| 33 | the pinned header stops sticking. */ |
| 34 | overflow-x: clip; |
| 35 | } |
| 36 | |
| 37 | body { |
| 38 | background-image: |
| 39 | radial-gradient(ellipse 70% 42rem at 50% -8rem, color-mix(in srgb, var(--kicker-blue) 13%, transparent), transparent 70%), |
| 40 | radial-gradient(ellipse 40% 30rem at 88% 10rem, color-mix(in srgb, var(--accent-green) 5%, transparent), transparent 70%); |
| 41 | background-repeat: no-repeat; |
| 42 | } |
| 43 | |
| 44 | /* The old technical grid gives way to the Turing page's clean field. */ |
| 45 | .bg-grid { |
| 46 | background-image: none !important; |
| 47 | } |
| 48 | |
| 49 | /* Reading bar across the top, blue to green, as on /turing/. |
| 50 | The bar element is added by /js/turing-look.js. */ |
| 51 | .tl-progress { |
| 52 | position: fixed; |
| 53 | top: 0; |
| 54 | left: 0; |
| 55 | width: 0; |
| 56 | height: 3px; |
| 57 | z-index: 200; |
| 58 | background: linear-gradient(90deg, var(--tl-blue), var(--tl-green)); |
| 59 | pointer-events: none; |
| 60 | } |
| 61 | |
| 62 | /* A soft cross-fade when moving from one page to the next. */ |
| 63 | @view-transition { |
| 64 | navigation: auto; |
| 65 | } |
| 66 | |
| 67 | ::view-transition-old(root), |
| 68 | ::view-transition-new(root) { |
| 69 | animation-duration: 0.35s; |
| 70 | } |
| 71 | |
| 72 | /* ---------- header ---------- */ |
| 73 | .aien-header { |
| 74 | background: color-mix(in srgb, var(--bg-base) 72%, transparent); |
| 75 | -webkit-backdrop-filter: blur(14px); |
| 76 | backdrop-filter: blur(14px); |
| 77 | } |
| 78 | |
| 79 | /* ---------- sections ---------- */ |
| 80 | .hub-section, |
| 81 | .narr-section, |
| 82 | .rs-section { |
| 83 | padding-top: 96px; |
| 84 | padding-bottom: 96px; |
| 85 | } |
| 86 | |
| 87 | @media (max-width: 640px) { |
| 88 | .hub-section, |
| 89 | .narr-section, |
| 90 | .rs-section { |
| 91 | padding-top: 56px; |
| 92 | padding-bottom: 56px; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | .section-alt { |
| 97 | background: transparent; |
| 98 | border-color: var(--tl-line); |
| 99 | } |
| 100 | |
| 101 | /* ---------- kickers: small blue capitals above a heading ---------- */ |
| 102 | .kicker, |
| 103 | .blog-kicker, |
| 104 | .rs-kicker, |
| 105 | .hub-kicker, |
| 106 | .narr-kicker, |
| 107 | .section-head .badge, |
| 108 | .theory-fig .fig-kicker { |
| 109 | display: inline-block; |
| 110 | font-family: var(--font-mono, ui-monospace, monospace); |
| 111 | font-size: 12px; |
| 112 | font-weight: 500; |
| 113 | letter-spacing: 0.22em; |
| 114 | text-transform: uppercase; |
| 115 | color: var(--tl-blue); |
| 116 | background: none; |
| 117 | border: 0; |
| 118 | padding: 0; |
| 119 | margin-bottom: 18px; |
| 120 | } |
| 121 | |
| 122 | /* ---------- headings ---------- */ |
| 123 | h1, |
| 124 | .blog-title, |
| 125 | .rs-page-title, |
| 126 | .hub-title, |
| 127 | .narr-title { |
| 128 | font-weight: 800; |
| 129 | letter-spacing: -0.03em; |
| 130 | line-height: 1.04; |
| 131 | color: var(--tl-ink); |
| 132 | } |
| 133 | |
| 134 | .blog-title, |
| 135 | .rs-page-title, |
| 136 | .hub-title, |
| 137 | .narr-title, |
| 138 | .wrap > header h1, |
| 139 | .page-head h1 { |
| 140 | font-size: clamp(38px, 6vw, 68px); |
| 141 | } |
| 142 | |
| 143 | h2, |
| 144 | .section-head h2, |
| 145 | .hub-h2, |
| 146 | .rs-h2, |
| 147 | .narr-section h2, |
| 148 | .blog-wrap article h2, |
| 149 | .loop-title, |
| 150 | .home-questions-title { |
| 151 | font-weight: 800; |
| 152 | letter-spacing: -0.025em; |
| 153 | line-height: 1.1; |
| 154 | color: var(--tl-ink); |
| 155 | } |
| 156 | |
| 157 | .section-head h2, |
| 158 | .hub-h2, |
| 159 | .rs-h2, |
| 160 | .narr-section h2, |
| 161 | .loop-title, |
| 162 | .home-questions-title { |
| 163 | font-size: clamp(30px, 4.4vw, 46px); |
| 164 | margin-bottom: 18px; |
| 165 | } |
| 166 | |
| 167 | h3 { |
| 168 | letter-spacing: -0.01em; |
| 169 | } |
| 170 | |
| 171 | /* Lead paragraphs: larger, calm grey, white for emphasis. */ |
| 172 | .section-head p, |
| 173 | .blog-standfirst, |
| 174 | .rs-standfirst, |
| 175 | .hub-standfirst, |
| 176 | .narr-mission p, |
| 177 | .loop-intro, |
| 178 | .rs-section-lede, |
| 179 | p.lead, |
| 180 | .lead { |
| 181 | font-size: 18px; |
| 182 | line-height: 1.65; |
| 183 | color: var(--tl-ink-2); |
| 184 | } |
| 185 | |
| 186 | .section-head p strong, |
| 187 | .lead strong, |
| 188 | .hub-standfirst strong { |
| 189 | color: var(--tl-ink); |
| 190 | } |
| 191 | |
| 192 | /* ---------- cards: dark, rounded, lift on hover ---------- */ |
| 193 | .glow-box, |
| 194 | .blog-card, |
| 195 | .hub-card, |
| 196 | .narr-card, |
| 197 | .rs-card, |
| 198 | .rs-attempt, |
| 199 | .rs-impl-item, |
| 200 | .home-q, |
| 201 | .receipt, |
| 202 | .pdf-callout, |
| 203 | .hub-callout, |
| 204 | .hub-data, |
| 205 | .theory-fig, |
| 206 | .entry, |
| 207 | .card, |
| 208 | .step-card, |
| 209 | .doc { |
| 210 | background: var(--tl-card); |
| 211 | border: 1px solid var(--tl-line); |
| 212 | border-radius: var(--tl-radius); |
| 213 | transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; |
| 214 | } |
| 215 | |
| 216 | .glow-box:hover, |
| 217 | .blog-card:hover, |
| 218 | .hub-card:hover, |
| 219 | .narr-card:hover, |
| 220 | .rs-card:hover, |
| 221 | .home-q:hover, |
| 222 | .entry:hover, |
| 223 | .card:hover { |
| 224 | border-color: var(--tl-blue); |
| 225 | transform: translateY(-4px); |
| 226 | box-shadow: 0 18px 50px color-mix(in srgb, var(--kicker-blue) 14%, transparent); |
| 227 | } |
| 228 | |
| 229 | /* Status cards keep their verdict colour on the border. */ |
| 230 | .rs-card--fail:hover { border-color: var(--rs-fail, var(--turing-red-soft)); } |
| 231 | |
| 232 | /* Feature panels: the Turing "big stat" gradient. */ |
| 233 | .pdf-callout, |
| 234 | .hub-callout, |
| 235 | .receipt { |
| 236 | background: linear-gradient(135deg, color-mix(in srgb, var(--kicker-blue) 10%, transparent), color-mix(in srgb, var(--accent-green) 6%, transparent)), var(--tl-card); |
| 237 | } |
| 238 | |
| 239 | /* Code and formula blocks sit on the page colour, as on /turing/. */ |
| 240 | pre, |
| 241 | .narr-formula, |
| 242 | .narr-formula pre, |
| 243 | .data-table-wrap { |
| 244 | border-radius: 14px; |
| 245 | } |
| 246 | |
| 247 | pre, |
| 248 | .narr-formula pre { |
| 249 | background: var(--tl-bg); |
| 250 | border: 1px solid var(--tl-line); |
| 251 | } |
| 252 | |
| 253 | /* ---------- badges: pills ---------- */ |
| 254 | .badge, |
| 255 | .rs-badge, |
| 256 | .home-q-badge, |
| 257 | .source-tag { |
| 258 | border-radius: 999px; |
| 259 | letter-spacing: 0.06em; |
| 260 | } |
| 261 | |
| 262 | /* ---------- buttons: the Turing page's two button styles ---------- */ |
| 263 | .home-cta, |
| 264 | .hub-button, |
| 265 | .pdf-button, |
| 266 | .btn { |
| 267 | display: inline-flex; |
| 268 | align-items: center; |
| 269 | gap: 10px; |
| 270 | padding: 14px 28px; |
| 271 | border-radius: 12px; |
| 272 | font-weight: 700; |
| 273 | font-size: 15px; |
| 274 | text-decoration: none; |
| 275 | border: 1px solid var(--tl-line); |
| 276 | background: transparent; |
| 277 | color: var(--tl-ink-2); |
| 278 | transition: 0.25s; |
| 279 | } |
| 280 | |
| 281 | .home-cta-primary, |
| 282 | .hub-button, |
| 283 | .pdf-button, |
| 284 | .btn:not(.ghost):not(.secondary) { |
| 285 | border-color: var(--tl-blue); |
| 286 | background: color-mix(in srgb, var(--kicker-blue) 14%, transparent); |
| 287 | color: var(--tl-blue-soft); |
| 288 | } |
| 289 | |
| 290 | .home-cta:hover, |
| 291 | .hub-button:hover, |
| 292 | .pdf-button:hover, |
| 293 | .btn:hover { |
| 294 | border-color: var(--tl-blue); |
| 295 | color: var(--tl-ink); |
| 296 | transform: translateY(-2px); |
| 297 | } |
| 298 | |
| 299 | .home-cta-primary:hover, |
| 300 | .hub-button:hover, |
| 301 | .pdf-button:hover, |
| 302 | .btn:not(.ghost):not(.secondary):hover { |
| 303 | background: color-mix(in srgb, var(--kicker-blue) 28%, transparent); |
| 304 | color: var(--tl-blue-soft); |
| 305 | box-shadow: 0 12px 40px color-mix(in srgb, var(--kicker-blue) 25%, transparent); |
| 306 | } |
| 307 | |
| 308 | /* Inline "read more" links in the Turing blue. */ |
| 309 | .readmore, |
| 310 | .blog-read-more, |
| 311 | .prose-link { |
| 312 | color: var(--tl-blue-soft); |
| 313 | } |
| 314 | |
| 315 | /* ---------- tables ---------- */ |
| 316 | .data-table th, |
| 317 | .status-table th { |
| 318 | font-family: var(--font-mono, ui-monospace, monospace); |
| 319 | font-size: 11.5px; |
| 320 | letter-spacing: 0.14em; |
| 321 | text-transform: uppercase; |
| 322 | color: var(--tl-ink-3); |
| 323 | } |
| 324 | |
| 325 | /* ---------- footer ---------- */ |
| 326 | .aien-footer { |
| 327 | border-top: 1px solid var(--tl-line); |
| 328 | background: transparent; |
| 329 | } |
| 330 | |
| 331 | /* ---------- glide up and fade in once, as on /turing/ ---------- |
| 332 | The script adds .tl-reveal only to things below the first screen and |
| 333 | .tl-in when they come into view. "translate" is used so the hover lift |
| 334 | ("transform") still works on revealed cards. */ |
| 335 | :root .tl-reveal { |
| 336 | opacity: 0; |
| 337 | translate: 0 34px; |
| 338 | transition: opacity 0.8s ease, translate 0.8s ease, border-color 0.3s ease, |
| 339 | transform 0.3s ease, box-shadow 0.3s ease; |
| 340 | } |
| 341 | |
| 342 | :root .tl-reveal.tl-in { |
| 343 | opacity: 1; |
| 344 | translate: none; |
| 345 | } |
| 346 | |
| 347 | @media (prefers-reduced-motion: reduce) { |
| 348 | :root .tl-reveal { |
| 349 | opacity: 1; |
| 350 | translate: none; |
| 351 | transition: none; |
| 352 | } |
| 353 | @view-transition { |
| 354 | navigation: none; |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | /* ---------- research and paper pages ---------- */ |
| 359 | /* Their sections set their own margin; the site-wide .section padding |
| 360 | stacked on top of it and left large empty gaps. */ |
| 361 | .research-wrap .section { |
| 362 | padding: 0; |
| 363 | margin: 64px 0; |
| 364 | } |
| 365 | |
| 366 | .research-wrap { |
| 367 | padding-top: 72px; |
| 368 | } |
| 369 | |
| 370 | .research-wrap .section > h2 { |
| 371 | font-size: clamp(24px, 3vw, 30px); |
| 372 | margin-bottom: 16px; |
| 373 | } |
| 374 | |
| 375 | .research-wrap .paper-sub { |
| 376 | font-size: 19px; |
| 377 | line-height: 1.6; |
| 378 | color: var(--tl-ink-2); |
| 379 | } |
| 380 | |
| 381 | .research-wrap .artifact { |
| 382 | border-radius: 14px; |
| 383 | background: var(--tl-card); |
| 384 | border-color: var(--tl-line); |
| 385 | transition: border-color 0.3s ease; |
| 386 | } |
| 387 | |
| 388 | .research-wrap .artifact:hover { |
| 389 | border-color: var(--tl-blue); |
| 390 | } |
| 391 | |
| 392 | .research-wrap .btn.forthcoming:hover { |
| 393 | transform: none; |
| 394 | border-color: var(--tl-line); |
| 395 | color: var(--tl-ink-2); |
| 396 | } |
| 397 | |
| 398 | /* ---------- every box is a link to its evidence ---------- |
| 399 | Each box carries one a.box-link in its footer. The anchor's ::after is |
| 400 | stretched over the whole box, so the box is the click target; links |
| 401 | inside the box sit above it (z-index 2) and keep working. */ |
| 402 | .mx-card, |
| 403 | .mx-row, |
| 404 | .glow-box, |
| 405 | .lineage-card, |
| 406 | .lineage-role, |
| 407 | .status-row, |
| 408 | .live-row, |
| 409 | .receipt, |
| 410 | .rs-card, |
| 411 | .rs-step, |
| 412 | .rs-impl-item, |
| 413 | .hub-card, |
| 414 | .narr-card, |
| 415 | .blog-card, |
| 416 | .now-card, |
| 417 | .now-queue-row, |
| 418 | .now-tl { |
| 419 | position: relative; |
| 420 | } |
| 421 | |
| 422 | a.box-link { |
| 423 | display: inline-flex; |
| 424 | align-items: center; |
| 425 | gap: 7px; |
| 426 | margin-top: auto; |
| 427 | font-family: var(--font-mono, ui-monospace, monospace); |
| 428 | font-size: 11px; |
| 429 | font-weight: 600; |
| 430 | letter-spacing: 0.18em; |
| 431 | text-transform: uppercase; |
| 432 | color: var(--tl-blue-soft); |
| 433 | text-decoration: none; |
| 434 | white-space: nowrap; |
| 435 | transition: color 0.3s ease; |
| 436 | } |
| 437 | |
| 438 | .box-link::after { |
| 439 | content: ""; |
| 440 | position: absolute; |
| 441 | inset: 0; |
| 442 | z-index: 1; |
| 443 | border-radius: inherit; |
| 444 | } |
| 445 | |
| 446 | .box-link .box-arrow { |
| 447 | display: inline-block; |
| 448 | font-size: 13px; |
| 449 | line-height: 1; |
| 450 | transition: transform 0.3s cubic-bezier(.22,.61,.36,1); |
| 451 | } |
| 452 | |
| 453 | a.box-link-source { |
| 454 | color: var(--tl-ink-3); |
| 455 | } |
| 456 | |
| 457 | /* Narrow cards let the words wrap rather than clip. */ |
| 458 | .hub-card a.box-link, |
| 459 | .rs-card a.box-link, |
| 460 | .lineage-card a.box-link, |
| 461 | .lineage-role a.box-link { |
| 462 | white-space: normal; |
| 463 | line-height: 1.5; |
| 464 | } |
| 465 | |
| 466 | /* Inline links and controls inside a box stay above the stretched link. */ |
| 467 | .mx-card a:not(.box-link), |
| 468 | .mx-row a:not(.box-link), |
| 469 | .glow-box a:not(.box-link), |
| 470 | .glow-box button, |
| 471 | .glow-box #turing-game, |
| 472 | .status-row a:not(.box-link), |
| 473 | .live-row a:not(.box-link), |
| 474 | .receipt a:not(.box-link), |
| 475 | .rs-card a:not(.box-link), |
| 476 | .rs-step a:not(.box-link), |
| 477 | .rs-impl-item a:not(.box-link), |
| 478 | .rs-impl-item details, |
| 479 | .hub-card a:not(.box-link), |
| 480 | .narr-card a:not(.box-link), |
| 481 | .blog-card a:not(.box-link), |
| 482 | .now-card a:not(.box-link), |
| 483 | .now-queue-row a:not(.box-link), |
| 484 | .now-tl a:not(.box-link) { |
| 485 | position: relative; |
| 486 | z-index: 2; |
| 487 | } |
| 488 | |
| 489 | /* Hover: the existing lift, and the border goes to the blue accent. */ |
| 490 | .mx-card:hover, |
| 491 | .mx-row:hover, |
| 492 | .lineage-card:hover, |
| 493 | .lineage-role:hover, |
| 494 | .status-row:hover, |
| 495 | .live-row:hover, |
| 496 | .receipt:hover, |
| 497 | .rs-step:hover .rs-step-body, |
| 498 | .rs-impl-item:hover, |
| 499 | .now-card:hover, |
| 500 | .now-queue-row:hover, |
| 501 | .now-tl:hover { |
| 502 | border-color: var(--tl-blue); |
| 503 | } |
| 504 | |
| 505 | .lineage-role, |
| 506 | .status-row, |
| 507 | .rs-impl-item, |
| 508 | .now-queue-row, |
| 509 | .now-tl { |
| 510 | transition: border-color 0.3s ease, background-color 0.3s ease; |
| 511 | } |
| 512 | |
| 513 | .mx-row:hover td, |
| 514 | .live-row:hover td { |
| 515 | background: color-mix(in srgb, var(--kicker-blue) 5%, transparent); |
| 516 | } |
| 517 | |
| 518 | .mx-card:hover .box-link, |
| 519 | .mx-row:hover .box-link, |
| 520 | .glow-box:hover .box-link, |
| 521 | .lineage-card:hover .box-link, |
| 522 | .lineage-role:hover .box-link, |
| 523 | .status-row:hover .box-link, |
| 524 | .live-row:hover .box-link, |
| 525 | .receipt:hover .box-link, |
| 526 | .rs-card:hover .box-link, |
| 527 | .rs-step:hover .box-link, |
| 528 | .rs-impl-item:hover .box-link, |
| 529 | .hub-card:hover .box-link, |
| 530 | .narr-card:hover .box-link, |
| 531 | .blog-card:hover .box-link, |
| 532 | .now-card:hover .box-link, |
| 533 | .now-queue-row:hover .box-link, |
| 534 | .now-tl:hover .box-link { |
| 535 | color: var(--tl-green); |
| 536 | } |
| 537 | |
| 538 | .mx-card:hover .box-arrow, |
| 539 | .glow-box:hover .box-arrow, |
| 540 | .rs-card:hover .box-arrow, |
| 541 | .hub-card:hover .box-arrow, |
| 542 | .now-card:hover .box-arrow { |
| 543 | transform: translate(2px, -2px); |
| 544 | } |
| 545 | |
| 546 | .box-link:focus-visible { |
| 547 | outline: none; |
| 548 | } |
| 549 | |
| 550 | .box-link:focus-visible::after { |
| 551 | outline: 2px solid var(--tl-blue); |
| 552 | outline-offset: 2px; |
| 553 | } |
| 554 | |
| 555 | /* Where the footer sits in each kind of box. */ |
| 556 | .mx-card .box-link, |
| 557 | .rs-card .box-link, |
| 558 | .hub-card .box-link, |
| 559 | .narr-card .box-link, |
| 560 | .blog-card .box-link, |
| 561 | .now-card .box-link { |
| 562 | display: flex; |
| 563 | width: fit-content; |
| 564 | margin-top: 14px; |
| 565 | } |
| 566 | |
| 567 | .narr-card .box-link { |
| 568 | margin-bottom: 16px; |
| 569 | } |
| 570 | |
| 571 | .lineage-card .box-link, |
| 572 | .lineage-role .box-link { |
| 573 | margin-top: 10px; |
| 574 | } |
| 575 | |
| 576 | .status-row .box-link, |
| 577 | .rs-impl-item .box-link, |
| 578 | .rs-step .box-link { |
| 579 | margin-top: 8px; |
| 580 | } |
| 581 | |
| 582 | /* Implementation items are cards in this look; give the words room. */ |
| 583 | .rs-impl-item { |
| 584 | padding: 16px 20px; |
| 585 | } |
| 586 | |
| 587 | .rs-impl-list { |
| 588 | gap: 10px; |
| 589 | } |
| 590 | |
| 591 | .rs-step .box-link { |
| 592 | display: inline-flex; |
| 593 | } |
| 594 | |
| 595 | .mx-row .box-link, |
| 596 | .live-row .box-link, |
| 597 | .status-table td.name .box-link { |
| 598 | margin-top: 6px; |
| 599 | display: inline-flex; |
| 600 | color: var(--tl-blue-soft); |
| 601 | font-weight: 600; |
| 602 | white-space: nowrap; |
| 603 | } |
| 604 | |
| 605 | .now-queue-row .box-link { |
| 606 | grid-column: 2 / -1; |
| 607 | margin-top: 2px; |
| 608 | } |
| 609 | |
| 610 | .now-tl .box-link { |
| 611 | margin-top: 8px; |
| 612 | } |
| 613 | |
| 614 | @media (prefers-reduced-motion: reduce) { |
| 615 | .box-link, |
| 616 | .box-link .box-arrow { |
| 617 | transition: none; |
| 618 | } |
| 619 | } |
| 620 | |
| 621 | /* Links to /omega/ wherever the site names Omega in running text. */ |
| 622 | a.omega-link { |
| 623 | color: var(--tl-blue-soft); |
| 624 | text-decoration: underline; |
| 625 | text-decoration-color: color-mix(in srgb, var(--turing-blue-soft) 40%, transparent); |
| 626 | text-underline-offset: 3px; |
| 627 | } |
| 628 | a.omega-link:hover { text-decoration-color: var(--tl-blue-soft); } |