45 lines
2.1 KiB
CSS
45 lines
2.1 KiB
CSS
.cx-h { font-family: var(--font-display); font-weight: var(--fw-semibold); color: var(--text); }
|
|
.cx-h-display { font-size: var(--fs-d2); line-height: var(--lh-d2); font-weight: var(--fw-bold); letter-spacing: -0.02em; }
|
|
.cx-h-xl { font-size: var(--fs-d3); line-height: var(--lh-d3); font-weight: var(--fw-bold); letter-spacing: -0.015em; }
|
|
.cx-h-lg { font-size: var(--fs-1); line-height: var(--lh-1); }
|
|
.cx-h-md { font-size: var(--fs-2); line-height: var(--lh-2); }
|
|
.cx-h-sm { font-size: var(--fs-3); line-height: var(--lh-3); }
|
|
|
|
.cx-t { color: var(--text); }
|
|
.cx-t-lg { font-size: var(--fs-2); line-height: var(--lh-2); }
|
|
.cx-t-md { font-size: var(--fs-3); line-height: var(--lh-3); }
|
|
.cx-t-sm { font-size: var(--fs-4); line-height: var(--lh-4); }
|
|
.cx-t-xs { font-size: var(--fs-6); line-height: var(--lh-6); }
|
|
|
|
.cx-hint { font-size: var(--fs-6); line-height: var(--lh-6); color: var(--muted); }
|
|
|
|
.cx-label { font-size: var(--fs-5); line-height: var(--lh-5); color: var(--text); }
|
|
|
|
.cx-eyebrow {
|
|
font-size: var(--fs-7); line-height: var(--lh-7);
|
|
letter-spacing: .08em; text-transform: uppercase;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.cx-code { font-family: var(--font-mono); font-size: 0.92em; color: var(--accent-hi); }
|
|
.cx-code-block {
|
|
font-family: var(--font-mono); font-size: var(--fs-6); line-height: var(--lh-snug);
|
|
color: var(--text); background: var(--elev-2);
|
|
border: var(--bw) solid var(--line); border-radius: var(--r-3);
|
|
padding: var(--sp-4) var(--sp-5); margin: 0;
|
|
overflow-x: auto; /* wide code scrolls itself, never the page */
|
|
}
|
|
|
|
/* The one place the app names itself. The mark carries a little of its own
|
|
light, which is what stops a 5px dot reading as a bullet point. */
|
|
.cx-brand { display: inline-flex; align-items: center; gap: var(--sp-4); }
|
|
.cx-brand-mark {
|
|
inline-size: 12px; block-size: 12px; box-sizing: border-box; border-radius: var(--r-pill);
|
|
border: 2px solid var(--accent);
|
|
box-shadow: 0 0 6px var(--accent-soft);
|
|
}
|
|
.cx-brand-name {
|
|
font-family: var(--font-display); font-weight: 800;
|
|
font-size: var(--fs-3); letter-spacing: .2px; color: var(--text);
|
|
}
|