diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-27 20:50:16 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-27 20:51:48 +0300 |
| commit | 7ebc72f3f5de24a293db144cd1745cea52c3e717 (patch) | |
| tree | 355a1c7c04a69af7023cc8afa7ee675596687253 /website/css | |
| parent | 4ec4d56fcf985e4464bce6b76e3578e9c941ad50 (diff) | |
feat: add website release notes
Diffstat (limited to 'website/css')
| -rw-r--r-- | website/css/style.css | 394 |
1 files changed, 394 insertions, 0 deletions
diff --git a/website/css/style.css b/website/css/style.css index 221ed3f4..fcadb011 100644 --- a/website/css/style.css +++ b/website/css/style.css @@ -2759,6 +2759,400 @@ td:last-child { } } +.content-shell { + padding-bottom: 5rem; +} + +.page-hero { + max-width: var(--max); + margin: 0 auto; + padding: 5rem 1.25rem 2.25rem; +} + +.page-hero-compact { + max-width: 860px; +} + +.page-hero h1 { + max-width: 14ch; + margin: 0; + color: var(--ink); + font-size: clamp(2.8rem, 7vw, 6rem); + line-height: 0.92; + letter-spacing: -0.07em; +} + +.article-header h1 { + max-width: 22ch; + margin: 0; + color: var(--ink); + font-size: clamp(2rem, 4vw, 3.4rem); + line-height: 1; + letter-spacing: -0.055em; +} + +.page-hero .hero-lede { + max-width: 680px; + color: var(--muted); +} + +.section-narrow { + max-width: 860px; +} + +.post-list { + display: grid; +} + +.post-card { + border-top: 1px solid var(--line); +} + +.post-card:last-child { + border-bottom: 1px solid var(--line); +} + +.post-card-link { + display: flex; + align-items: center; + justify-content: space-between; + gap: 1.5rem; + padding: 1.45rem 0; + text-decoration: none; +} + +.post-card h2 { + margin: 0; + color: var(--ink); + font-size: clamp(1.45rem, 3vw, 2.05rem); + line-height: 1; + letter-spacing: -0.055em; + transition: color 0.16s ease; +} + +.post-card p { + max-width: 680px; + margin: 0.55rem 0 0; + color: color-mix(in srgb, var(--ink) 62%, var(--muted)); + line-height: 1.55; +} + +.release-card-version { + margin: 0 0 0.42rem !important; + color: var(--accent) !important; + font-family: var(--mono); + font-size: 0.78rem; + font-weight: 800; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.post-card span { + flex: 0 0 auto; + color: var(--muted-2); + font-family: var(--mono); + font-size: 1.25rem; + font-weight: 800; + opacity: 0.55; + transition: + color 0.16s ease, + opacity 0.16s ease, + transform 0.16s ease; +} + +.post-card:hover h2 { + color: var(--accent); +} + +.post-card:hover span { + color: var(--accent); + opacity: 1; + transform: translateX(4px); +} + +.text-link { + display: inline-flex; + align-items: center; + flex: 0 0 auto; + color: var(--accent); + font-weight: 750; + text-decoration: underline; + text-decoration-thickness: 1px; + text-underline-offset: 0.18em; +} + +.post-meta { + display: flex; + flex-wrap: wrap; + gap: 0.55rem; + align-items: center; + margin: 0 0 0.85rem; + color: color-mix(in srgb, var(--ink) 58%, var(--muted)); + font-family: var(--mono); + font-size: 0.78rem; + font-weight: 700; + letter-spacing: -0.03em; + text-transform: uppercase; +} + +.post-meta > * + *::before { + content: "/"; + margin-right: 0.55rem; + color: var(--line-strong); +} + +.article-layout { + position: relative; + display: grid; + grid-template-columns: minmax(8rem, 12rem) minmax(0, 860px); + gap: clamp(2rem, 6vw, 4rem); + align-items: start; + padding-top: 4rem; +} + +.article-shell { + min-width: 0; +} + +.article-toc { + position: sticky; + top: 6rem; + padding-top: 0.35rem; + color: color-mix(in srgb, var(--ink) 58%, var(--muted)); + font-family: var(--mono); + font-size: 0.78rem; +} + +.article-toc p { + margin: 0 0 0.7rem; + color: color-mix(in srgb, var(--ink) 42%, var(--muted)); + font-weight: 800; + letter-spacing: 0.14em; + text-transform: uppercase; +} + +.article-toc nav { + display: grid; + gap: 0.55rem; +} + +.article-toc a { + color: color-mix(in srgb, var(--ink) 58%, var(--muted)); + line-height: 1.35; + text-decoration: none; +} + +.article-toc a:hover, +.article-toc a[aria-current="true"] { + color: var(--accent); +} + +.article-header { + margin-bottom: 2.35rem; + padding-bottom: 2rem; + border-bottom: 1px solid var(--line); +} + +.article-header p:last-child { + max-width: 680px; + margin: 1.2rem 0 0; + color: color-mix(in srgb, var(--ink) 68%, var(--muted)); + font-size: 1.18rem; + line-height: 1.7; +} + +.article-prose { + color: var(--ink); + font-size: 1.04rem; + line-height: 1.82; +} + +.article-prose > *:first-child { + margin-top: 0; +} + +.article-prose h1, +.article-prose h2, +.article-prose h3 { + color: var(--ink); + line-height: 1.05; + letter-spacing: -0.04em; +} + +.article-prose h1 { + margin: 2.3rem 0 1rem; + font-size: clamp(2rem, 5vw, 3.5rem); +} + +.article-prose h2 { + margin: 2.2rem 0 0.75rem; + font-size: clamp(1.55rem, 3vw, 2.2rem); +} + +.article-prose h3 { + margin: 1.7rem 0 0.65rem; + font-size: 1.25rem; +} + +.article-prose p, +.article-prose ul, +.article-prose ol { + margin: 1rem 0; +} + +.article-prose ul, +.article-prose ol { + padding-left: 1.35rem; +} + +.article-prose li + li { + margin-top: 0.42rem; +} + +.article-prose a { + color: var(--accent); + font-weight: 700; + text-decoration: underline; + text-decoration-thickness: 1px; + text-underline-offset: 0.18em; +} + +.article-prose code { + border: 1px solid var(--line); + border-radius: var(--radius-sm); + background: var(--bg-elevated); + color: var(--ink); + padding: 0.08rem 0.28rem; + font-size: 0.9em; +} + +.article-prose pre { + overflow-x: auto; + border: 1px solid var(--line); + border-radius: var(--radius-md); + background: var(--bg-elevated); + color: var(--ink); + padding: 1rem; +} + +.article-prose pre code { + border: 0; + background: transparent; + color: inherit; + padding: 0; +} + +.article-prose .expressive-code .frame { + border-color: var(--line) !important; + background: var(--bg-elevated) !important; + border-radius: var(--radius-md) !important; + overflow: hidden; +} + +.article-prose .expressive-code .frame figcaption.header { + display: none !important; +} + +.article-prose .expressive-code pre { + margin: 0 !important; + border: 0 !important; + border-radius: 0 !important; + background: var(--bg-elevated) !important; + color: var(--ink) !important; +} + +.article-prose .expressive-code .code, +.article-prose .expressive-code .code span { + color: var(--ink) !important; +} + +.release-shell { + max-width: 900px; +} + +.release-header h1 { + max-width: 820px; + font-size: clamp(1.9rem, 3.5vw, 3.1rem); + line-height: 1.04; +} + +.release-prose h2 { + margin-top: 3rem; +} + +.release-prose h3 { + margin-top: 1.9rem; + padding-top: 1.4rem; + border-top: 1px solid var(--line); +} + +.release-media { + margin: 1.6rem 0 2.4rem; +} + +.release-media video { + display: block; + width: 100%; + border: 1px solid var(--line); + border-radius: var(--radius-md); + background: var(--bg-elevated); +} + +.release-media figcaption { + margin-top: 0.75rem; + color: color-mix(in srgb, var(--ink) 52%, var(--muted)); + font-family: var(--mono); + font-size: 0.78rem; + line-height: 1.5; +} + +.release-video-placeholder { + display: grid; + min-height: 19rem; + place-items: center; + border: 1px solid var(--line); + border-radius: var(--radius-md); + background: + linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%), + var(--bg-elevated); + color: var(--ink); + padding: 2rem; + text-align: center; +} + +.release-video-placeholder span { + color: var(--accent); + font-family: var(--mono); + font-size: 0.74rem; + font-weight: 800; + letter-spacing: 0.12em; + text-transform: uppercase; +} + +.release-video-placeholder strong { + display: block; + margin-top: 0.6rem; + font-size: clamp(1.5rem, 4vw, 2.6rem); + line-height: 1; + letter-spacing: -0.055em; +} + +.release-video-placeholder code { + margin-top: 1rem; + overflow-wrap: anywhere; +} + +@media (max-width: 1040px) { + .article-layout { + display: block; + max-width: 860px; + } + + .article-toc { + display: none; + } +} + @media (prefers-reduced-motion: reduce) { *, *::before, |
