This repository has been archived on 2026-08-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

1502 lines
24 KiB
CSS

:root {
color-scheme: dark;
--bg: #070912;
--bg-soft: #0b0f1d;
--panel: #101527;
--panel-strong: #151b31;
--line: #26304f;
--line-bright: #3d4a78;
--text: #f7f4ff;
--muted: #aaa4bd;
--muted-2: #817a99;
--brand: #7c3cff;
--brand-2: #00f0d8;
--brand-3: #ffb000;
--danger: #ff4f7b;
--radius: 0;
font-family:
"IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
background: linear-gradient(180deg, #070912 0%, #080b15 44%, #0a0d18 100%);
color: var(--text);
}
body::after {
pointer-events: none;
content: "";
position: fixed;
top: 0;
right: 0;
left: 0;
height: 3px;
background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
}
.home-page .site-header,
.home-page .site-footer,
.home-page .title-context,
.home-page .hero .eyebrow,
.home-page .hero-lede,
.home-page .hero-manifesto,
.home-page .hero-actions,
.home-page .hero-stats,
.home-page .terminal,
.home-page main > section:not(.hero) {
opacity: 0;
animation: page-reveal 700ms ease-out 2.45s forwards;
}
.error-page .site-header,
.error-page .site-footer,
.error-page .error-code,
.error-page .error-copy,
.error-page .error-actions {
opacity: 0;
animation: page-reveal 700ms ease-out 1.55s forwards;
}
.intro-target {
display: inline;
}
.intro-word {
display: inline-block;
opacity: 0;
transform: translateY(-42vh);
animation: word-drop 520ms cubic-bezier(0.34, 0, 0.2, 1) forwards;
animation-delay: calc(140ms + (var(--i) * 190ms));
color: var(--intro-color, var(--text));
}
.intro-word:nth-child(1) {
--intro-color: #ffffff;
}
.intro-word:nth-child(2) {
--intro-color: #b7a2ff;
}
.intro-word:nth-child(3) {
--intro-color: var(--brand-2);
}
.intro-word:nth-child(4) {
--intro-color: var(--brand);
}
.intro-word:nth-child(5) {
--intro-color: var(--brand-3);
}
@keyframes word-drop {
0% {
opacity: 0;
transform: translateY(-42vh);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes page-reveal {
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.home-page .site-header,
.home-page .site-footer,
.home-page .title-context,
.home-page .hero .eyebrow,
.home-page .hero-lede,
.home-page .hero-manifesto,
.home-page .hero-actions,
.home-page .hero-stats,
.home-page .terminal,
.home-page main > section:not(.hero),
.error-page .site-header,
.error-page .site-footer,
.error-page .error-code,
.error-page .error-copy,
.error-page .error-actions,
.intro-word {
opacity: 1;
transform: none;
animation: none;
}
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: var(--brand-2);
}
img,
video {
display: block;
max-width: 100%;
}
.container {
width: min(1120px, calc(100% - 40px));
margin: 0 auto;
}
.site-header {
position: sticky;
top: 0;
z-index: 10;
border-bottom: 1px solid var(--line);
background: rgba(7, 9, 18, 0.94);
backdrop-filter: blur(10px);
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
min-height: 72px;
}
.brand {
display: inline-flex;
align-items: center;
gap: 12px;
color: var(--text);
font-size: 1.05rem;
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.brand::before {
content: "";
width: 18px;
height: 3px;
background: var(--brand-2);
}
.nav-links,
.nav-pages,
.nav-actions {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.nav-links {
color: var(--muted);
font-size: 0.95rem;
white-space: nowrap;
}
.nav-pages {
flex: 0 1 auto;
}
.nav-actions {
flex: 0 0 auto;
}
.nav-links a,
.theme-toggle {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 42px;
padding: 0 12px;
border: 1px solid transparent;
}
.nav-links a[aria-current="page"],
.nav-links a:hover,
.theme-toggle:hover {
border-color: var(--line-bright);
background: var(--panel);
color: var(--text);
}
.github-icon {
width: 1em;
height: 1em;
flex: 0 0 auto;
}
.theme-toggle {
width: 92px;
justify-content: center;
appearance: none;
line-height: 1;
background: transparent;
color: var(--muted);
font: inherit;
cursor: pointer;
}
.theme-toggle [data-theme-icon],
.theme-toggle [data-theme-label] {
display: inline-block;
line-height: 1;
}
.theme-toggle[data-theme="auto"] [data-theme-icon] {
color: var(--brand);
}
.theme-toggle[data-theme="dark"] [data-theme-icon] {
color: var(--brand-2);
}
.theme-toggle[data-theme="light"] [data-theme-icon] {
color: var(--brand-3);
}
.button,
.copy-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
border: 1px solid var(--line-bright);
border-radius: var(--radius);
background: var(--panel);
color: var(--text);
font: inherit;
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-weight: 600;
cursor: pointer;
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.button {
padding: 13px 18px;
}
.button.primary {
border-color: var(--brand-2);
background: var(--brand-2);
color: #02050a;
box-shadow: 7px 7px 0 var(--brand);
}
.button:hover,
.copy-button:hover {
transform: translate(-1px, -1px);
border-color: var(--brand-2);
background: var(--panel-strong);
color: var(--text);
}
.button.primary:hover {
border-color: var(--brand-3);
background: var(--brand-3);
color: #02050a;
}
.hero {
position: relative;
overflow: hidden;
padding: 84px 0 44px;
}
.hero-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
gap: 44px;
align-items: center;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 10px;
margin: 0 0 18px;
padding: 8px 12px;
border: 1px solid var(--line);
background: var(--panel);
color: var(--muted);
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 0.86rem;
}
.pulse {
width: 9px;
height: 9px;
background: var(--brand-2);
box-shadow: 0 0 0 5px rgba(0, 240, 216, 0.12);
}
h1,
h2,
h3 {
margin: 0;
letter-spacing: -0.055em;
}
h1 {
max-width: 760px;
font-size: clamp(3.2rem, 8vw, 6.8rem);
line-height: 0.9;
}
.gradient-text {
background: linear-gradient(90deg, #ffffff 0%, var(--brand-2) 48%, var(--brand-3) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero-lede {
max-width: 660px;
margin: 24px 0 0;
color: var(--muted);
font-size: clamp(1.12rem, 2vw, 1.36rem);
line-height: 1.62;
}
.hero-manifesto {
max-width: 660px;
margin: 18px 0 0;
padding-left: 18px;
border-left: 4px solid var(--brand-2);
color: var(--text);
font-size: 1.05rem;
line-height: 1.7;
}
.hero-actions,
.doc-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 30px;
}
.hero-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-top: 36px;
}
.stat,
.card,
.install-card,
.doc-card,
.faq-item,
.callout,
.toc,
.code-card,
.demo-frame,
.manifesto-panel {
border: 1px solid var(--line);
background: var(--panel);
}
.stat {
padding: 18px;
border-top: 3px solid var(--brand);
}
.stat strong {
display: block;
font-size: 1.4rem;
}
.stat span {
color: var(--muted-2);
font-size: 0.9rem;
}
.terminal {
overflow: hidden;
border: 1px solid var(--line-bright);
border-top: 4px solid var(--brand-2);
border-radius: var(--radius);
background: #050710;
}
.terminal-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 15px 16px;
border-bottom: 1px solid var(--line);
background: #0c1020;
color: var(--muted-2);
font-size: 0.86rem;
}
.dots {
display: flex;
gap: 7px;
}
.dots span {
width: 10px;
height: 10px;
background: var(--brand-2);
}
.dots span:first-child {
background: var(--danger);
}
.dots span:nth-child(2) {
background: var(--brand-3);
}
pre,
code {
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
pre {
margin: 0;
overflow-x: auto;
padding: 22px;
color: #e9e5ff;
font-size: 0.96rem;
line-height: 1.7;
}
code .prompt,
.prompt {
color: var(--brand-2);
}
code .comment,
.comment {
color: #928cab;
}
.quick-install {
margin-top: 18px;
}
.copy-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 18px 0;
}
.copy-row strong {
font-size: 0.95rem;
}
.copy-button {
padding: 8px 11px;
font-size: 0.82rem;
}
.section {
padding: 74px 0;
}
.section.compact {
padding-top: 40px;
}
.section-head {
max-width: 740px;
margin-bottom: 28px;
}
.section h2,
.page-hero h1 {
font-size: clamp(2.35rem, 5vw, 4.4rem);
line-height: 0.95;
}
.section p,
.page-hero p,
.doc-content p,
.doc-content li,
.faq-item p,
.faq-item li {
color: var(--muted);
line-height: 1.75;
}
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.card,
.install-card,
.doc-card,
.faq-item,
.callout,
.toc,
.code-card,
.manifesto-panel {
border-radius: var(--radius);
}
.card,
.doc-card,
.faq-item,
.callout,
.toc {
padding: 24px;
}
.card:hover,
.doc-card:hover {
border-color: var(--line-bright);
}
.card-icon {
display: grid;
width: 46px;
height: 46px;
margin-bottom: 20px;
place-items: center;
border: 1px solid var(--line-bright);
border-left: 4px solid var(--brand-2);
background: var(--panel-strong);
color: var(--brand-2);
font-size: 1.3rem;
}
.card-icon svg {
display: block;
width: 24px;
height: 24px;
}
.card h3,
.doc-card h3,
.faq-item h2,
.faq-item h3 {
margin-bottom: 10px;
font-size: 1.24rem;
letter-spacing: -0.035em;
}
.demo-frame {
overflow: hidden;
border-radius: var(--radius);
border-color: var(--line-bright);
}
.demo-caption {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: space-between;
gap: 14px 18px;
padding: 15px 18px;
border-bottom: 1px solid var(--line);
background: #0c1020;
color: var(--muted);
}
.demo-caption-copy {
display: grid;
min-width: min(100%, 340px);
gap: 3px;
}
.demo-caption-copy span {
color: var(--muted-2);
}
.demo-controls {
display: flex;
align-items: center;
gap: 10px;
margin-left: auto;
}
.demo-controls[hidden] {
display: none;
}
.demo-control,
.demo-dot {
appearance: none;
border: 1px solid var(--line-bright);
background: var(--panel-strong);
color: var(--text);
cursor: pointer;
}
.demo-control {
display: grid;
width: 38px;
height: 38px;
padding: 0;
place-items: center;
font: inherit;
font-size: 1.25rem;
line-height: 1;
}
.demo-control:hover:not(:disabled),
.demo-dot:hover {
border-color: var(--brand-2);
color: var(--brand-2);
}
.demo-control:focus-visible,
.demo-dot:focus-visible {
outline: 2px solid var(--brand-2);
outline-offset: 3px;
}
.demo-control:disabled {
cursor: not-allowed;
opacity: 0.35;
}
.demo-dots {
display: flex;
align-items: center;
gap: 7px;
}
.demo-dot {
width: 11px;
height: 11px;
padding: 0;
border-radius: 999px;
background: transparent;
}
.demo-dot[aria-current="true"] {
border-color: var(--brand-2);
background: var(--brand-2);
}
.demo-gallery {
display: flex;
gap: 18px;
overflow-x: auto;
overscroll-behavior-x: contain;
padding: 18px;
scroll-padding-inline: 18px;
scroll-snap-type: x mandatory;
scrollbar-color: var(--line-bright) transparent;
scrollbar-width: thin;
-webkit-overflow-scrolling: touch;
}
.demo-gallery::-webkit-scrollbar {
height: 10px;
}
.demo-gallery::-webkit-scrollbar-track {
background: transparent;
}
.demo-gallery::-webkit-scrollbar-thumb {
border: 3px solid transparent;
background: var(--line-bright);
background-clip: content-box;
}
.demo-gallery:focus-visible {
outline: 2px solid var(--brand-2);
outline-offset: -4px;
}
.demo-shot {
display: grid;
flex: 1 0 calc((100% - 36px) / 3);
min-width: 286px;
gap: 12px;
align-content: start;
margin: 0;
scroll-snap-align: start;
}
.demo-shot-media {
position: relative;
display: grid;
overflow: hidden;
aspect-ratio: 16 / 10;
place-items: center;
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background:
radial-gradient(circle at 0 0, rgba(124, 60, 255, 0.22), transparent 34%),
var(--panel-strong);
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}
.demo-lightbox-trigger {
position: absolute;
inset: 0;
display: grid;
width: 100%;
height: 100%;
padding: 0;
place-items: center;
border: 0;
background: transparent;
color: inherit;
cursor: zoom-in;
}
.demo-lightbox-trigger:focus-visible {
outline: 2px solid var(--brand-2);
outline-offset: -2px;
}
.demo-shot img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
}
.demo-shot figcaption {
display: grid;
gap: 4px;
color: var(--muted-2);
font-size: 0.9rem;
line-height: 1.45;
}
.demo-shot figcaption strong {
color: var(--text);
font-size: 0.94rem;
}
.demo-lightbox {
width: min(1120px, calc(100vw - 28px));
max-height: calc(100vh - 28px);
padding: 0;
border: 1px solid var(--line-bright);
background: var(--panel);
color: var(--text);
}
.demo-lightbox::backdrop {
background: rgba(5, 7, 16, 0.78);
backdrop-filter: blur(6px);
}
.demo-lightbox-panel {
position: relative;
display: grid;
gap: 12px;
max-height: calc(100vh - 28px);
padding: clamp(14px, 2vw, 22px);
}
.demo-lightbox-panel img {
width: auto;
height: auto;
max-width: 100%;
max-height: calc(100vh - 116px);
justify-self: center;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel-strong);
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}
.demo-lightbox-caption {
margin: 0;
color: var(--muted);
line-height: 1.5;
text-align: center;
}
.demo-lightbox-close {
position: absolute;
top: 12px;
right: 12px;
z-index: 1;
display: grid;
width: 42px;
height: 42px;
padding: 0;
place-items: center;
border: 1px solid var(--line-bright);
background: var(--panel);
color: var(--text);
cursor: pointer;
font: inherit;
font-size: 1.35rem;
line-height: 1;
}
.demo-lightbox-close:hover,
.demo-lightbox-close:focus-visible {
border-color: var(--brand-2);
color: var(--brand-2);
}
.manifesto-section {
padding-top: 46px;
}
.manifesto-panel {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
gap: 32px;
overflow: hidden;
padding: clamp(26px, 4vw, 38px);
border-left: 4px solid var(--brand-2);
background: var(--panel);
}
.manifesto-copy {
max-width: 760px;
}
.manifesto-copy h2 {
font-size: clamp(2.2rem, 4.6vw, 4rem);
line-height: 0.98;
}
.manifesto-copy p {
margin: 18px 0 0;
color: var(--muted);
font-size: 1.06rem;
line-height: 1.75;
}
.manifesto-lines {
display: grid;
align-content: end;
gap: 14px;
}
.manifesto-lines p {
margin: 0;
padding: 16px 18px;
border: 1px solid var(--line);
background: var(--panel-strong);
color: var(--text);
font-size: 1rem;
line-height: 1.55;
}
.manifesto-callout {
color: var(--text);
font-size: 1.08rem;
line-height: 1.65;
}
.install-panel {
display: grid;
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
gap: 22px;
align-items: stretch;
}
.install-card {
padding: 28px;
border-left: 4px solid var(--brand-2);
}
.install-card ol {
margin: 20px 0 0;
padding-left: 20px;
}
.install-card li {
margin-bottom: 14px;
color: var(--muted);
line-height: 1.65;
}
.doc-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.doc-card {
min-height: 190px;
}
.doc-card a {
color: var(--brand-2);
font-weight: 760;
}
.page-hero {
padding: 76px 0 26px;
}
.error-page main {
display: grid;
align-items: center;
min-height: calc(100vh - 175px);
}
.error-hero {
overflow: hidden;
padding: clamp(64px, 10vw, 122px) 0;
}
.error-code {
display: inline-flex;
align-items: center;
gap: 10px;
margin: 0 0 22px;
padding: 8px 12px;
border: 1px solid var(--line);
background: var(--panel);
color: var(--muted);
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 0.86rem;
}
.error-title {
max-width: 980px;
}
.error-title-line {
display: block;
}
.error-copy {
max-width: 680px;
margin: 28px 0 0;
color: var(--muted);
font-size: clamp(1.12rem, 2vw, 1.36rem);
line-height: 1.62;
}
.error-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 30px;
}
.doc-layout {
display: grid;
grid-template-columns: 260px minmax(0, 1fr);
gap: 28px;
align-items: start;
}
.toc {
position: sticky;
top: 96px;
box-shadow: none;
}
.toc strong {
display: block;
margin-bottom: 12px;
}
.toc a {
display: block;
padding: 9px 0;
border-left: 2px solid transparent;
color: var(--muted);
font-size: 0.95rem;
}
.toc a:hover {
border-left-color: var(--brand-2);
padding-left: 8px;
}
.doc-content {
min-width: 0;
}
.doc-content section {
scroll-margin-top: 100px;
margin-bottom: 26px;
}
.doc-content h2 {
margin: 28px 0 12px;
font-size: clamp(1.75rem, 3vw, 2.7rem);
}
.doc-content h3 {
margin: 22px 0 8px;
font-size: 1.25rem;
}
.table-scroll {
overflow-x: auto;
margin: 16px 0;
border: 1px solid var(--line);
background: var(--panel);
}
.doc-content table {
width: 100%;
min-width: 860px;
border-collapse: collapse;
}
.doc-content th,
.doc-content td {
padding: 12px 14px;
border-bottom: 1px solid var(--line);
text-align: left;
vertical-align: top;
}
.doc-content th {
background: var(--panel-strong);
color: var(--text);
font-size: 0.78rem;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.doc-content .table-section th {
border-top: 2px solid var(--line-bright);
border-bottom-color: var(--line-bright);
background: var(--panel-strong);
color: var(--text);
letter-spacing: 0.08em;
}
.doc-content td {
color: var(--muted);
}
.doc-content td:first-child {
color: var(--text);
font-weight: 700;
}
.doc-content tr:last-child td {
border-bottom: 0;
}
.doc-content table code {
white-space: nowrap;
}
.code-card {
overflow: hidden;
margin: 16px 0;
background: #050710;
}
.callout {
margin: 18px 0;
border-left: 4px solid var(--brand-2);
}
.callout.warning {
border-color: var(--brand-3);
background: #16140d;
}
.callout.danger {
border-color: var(--danger);
background: #170d15;
}
.faq-list {
display: grid;
gap: 18px;
min-width: 0;
}
.faq-item {
min-width: 0;
scroll-margin-top: 112px;
}
.faq-item ul,
.doc-content ul {
padding-left: 21px;
}
.kbd {
display: inline-block;
padding: 2px 7px;
border: 1px solid var(--line-bright);
border-radius: var(--radius);
background: #050710;
color: var(--text);
font-size: 0.88em;
}
.site-footer {
padding: 44px 0 58px;
border-top: 1px solid var(--line);
color: var(--muted-2);
}
.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 14px;
}
@media (prefers-color-scheme: light) {
:root {
color-scheme: light;
--bg: #f7f1e6;
--bg-soft: #eee5d5;
--panel: #fff9ee;
--panel-strong: #f0e6d6;
--line: #c9bca8;
--line-bright: #8d7b64;
--text: #15131b;
--muted: #5f586a;
--muted-2: #766f7e;
--brand: #6430d8;
--brand-2: #008c82;
--brand-3: #b05f00;
--danger: #b51d49;
}
body {
background: linear-gradient(180deg, #f7f1e6 0%, #f4eadb 48%, #eee4d4 100%);
}
.site-header {
background: rgba(247, 241, 230, 0.94);
}
.button.primary {
color: #fff9ee;
box-shadow: 7px 7px 0 #d8c7ee;
}
.button.primary:hover {
color: #15131b;
}
.terminal,
.code-card,
.kbd {
background: #15131b;
}
.terminal-top,
.demo-caption {
background: #201c2a;
}
.callout.warning {
background: #fff2d2;
}
.callout.danger {
background: #ffe1e9;
}
.intro-word:nth-child(1) {
--intro-color: var(--text);
}
code .comment,
.comment {
color: #aaa1bb;
}
}
html[data-theme="dark"] {
color-scheme: dark;
--bg: #070912;
--bg-soft: #0b0f1d;
--panel: #101527;
--panel-strong: #151b31;
--line: #26304f;
--line-bright: #3d4a78;
--text: #f7f4ff;
--muted: #aaa4bd;
--muted-2: #817a99;
--brand: #7c3cff;
--brand-2: #00f0d8;
--brand-3: #ffb000;
--danger: #ff4f7b;
}
html[data-theme="light"] {
color-scheme: light;
--bg: #f7f1e6;
--bg-soft: #eee5d5;
--panel: #fff9ee;
--panel-strong: #f0e6d6;
--line: #c9bca8;
--line-bright: #8d7b64;
--text: #15131b;
--muted: #5f586a;
--muted-2: #766f7e;
--brand: #6430d8;
--brand-2: #008c82;
--brand-3: #b05f00;
--danger: #b51d49;
}
html[data-theme="dark"] body {
background: linear-gradient(180deg, #070912 0%, #080b15 44%, #0a0d18 100%);
}
html[data-theme="light"] body {
background: linear-gradient(180deg, #f7f1e6 0%, #f4eadb 48%, #eee4d4 100%);
}
html[data-theme="dark"] .site-header {
background: rgba(7, 9, 18, 0.94);
}
html[data-theme="light"] .site-header {
background: rgba(247, 241, 230, 0.94);
}
html[data-theme="dark"] .button.primary {
color: #02050a;
box-shadow: 7px 7px 0 var(--brand);
}
html[data-theme="light"] .button.primary {
color: #fff9ee;
box-shadow: 7px 7px 0 #d8c7ee;
}
html[data-theme="dark"] .terminal,
html[data-theme="dark"] .code-card,
html[data-theme="dark"] .kbd {
background: #050710;
}
html[data-theme="light"] .terminal,
html[data-theme="light"] .code-card,
html[data-theme="light"] .kbd {
background: #15131b;
}
html[data-theme="dark"] .terminal-top,
html[data-theme="dark"] .demo-caption {
background: #0c1020;
}
html[data-theme="light"] .terminal-top,
html[data-theme="light"] .demo-caption {
background: #201c2a;
}
html[data-theme="dark"] .callout.warning {
background: #16140d;
}
html[data-theme="light"] .callout.warning {
background: #fff2d2;
}
html[data-theme="dark"] .callout.danger {
background: #170d15;
}
html[data-theme="light"] .callout.danger {
background: #ffe1e9;
}
html[data-theme="dark"] .intro-word:nth-child(1) {
--intro-color: #ffffff;
}
html[data-theme="light"] .intro-word:nth-child(1) {
--intro-color: var(--text);
}
html[data-theme="dark"] code .comment,
html[data-theme="dark"] .comment {
color: #928cab;
}
html[data-theme="light"] code .comment,
html[data-theme="light"] .comment {
color: #aaa1bb;
}
@media (max-width: 920px) {
.hero-grid,
.install-panel,
.doc-layout,
.manifesto-panel {
grid-template-columns: 1fr;
}
.toc {
position: static;
}
.cards,
.hero-stats,
.doc-grid {
grid-template-columns: 1fr;
}
.manifesto-lines {
align-content: start;
}
.demo-shot {
flex-basis: min(58vw, 360px);
}
}
@media (max-width: 820px) {
.nav {
position: relative;
align-items: stretch;
flex-direction: column;
gap: 12px;
padding: 14px 0;
}
.brand {
align-self: flex-start;
min-height: 38px;
max-width: calc(100% - 88px);
}
.nav-links {
overflow: visible;
width: 100%;
}
.nav-pages {
flex: 1 1 auto;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.nav-pages a {
flex: 0 0 auto;
}
.nav-pages::-webkit-scrollbar {
display: none;
}
.nav-links a,
.nav-links .theme-toggle {
min-height: 38px;
padding: 0 10px;
}
.nav-actions {
position: absolute;
top: 14px;
right: 0;
}
.nav-actions .github-link,
.nav-actions .theme-toggle {
justify-content: center;
width: 38px;
min-width: 38px;
padding: 0;
}
.nav-actions .github-link span,
.nav-actions .theme-toggle [data-theme-label] {
display: none;
}
}
@media (max-width: 680px) {
.container {
width: min(100% - 28px, 1120px);
}
.hero {
padding-top: 52px;
}
h1 {
font-size: clamp(3rem, 15vw, 4.2rem);
}
.demo-caption {
align-items: flex-start;
}
.demo-controls {
justify-content: space-between;
width: 100%;
margin-left: 0;
}
.demo-dots {
flex: 1;
justify-content: center;
}
.demo-gallery {
gap: 14px;
padding: 14px;
scroll-padding-inline: 14px;
}
.demo-shot {
flex-basis: min(84vw, 340px);
min-width: 0;
}
.demo-shot-media {
padding: 8px;
}
.demo-lightbox {
width: calc(100vw - 20px);
}
.demo-lightbox-panel {
padding: 12px;
}
.demo-lightbox-panel img {
max-height: calc(100vh - 98px);
}
.footer-inner {
align-items: flex-start;
flex-direction: column;
}
}