Files
portal/app/resources/css/typography.css
T

85 lines
1.8 KiB
CSS
Raw Normal View History

/* app/resources/css/typography.css
* Liderra typography — Inter (UI) + JetBrains Mono (numerics) с tnum.
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
html,
body {
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-feature-settings: 'tnum' 1, 'cv11' 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ld-mono {
font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
font-feature-settings: 'tnum' 1;
letter-spacing: -0.01em;
}
/* Шкала (см. spec §4) */
.ld-label {
font-size: 11px;
line-height: 14px;
font-weight: 500;
letter-spacing: 0.10em;
text-transform: uppercase;
color: var(--liderra-muted);
}
.ld-body {
font-size: 13px;
line-height: 20px;
font-weight: 400;
}
.ld-body-strong {
font-size: 15px;
line-height: 22px;
font-weight: 500;
}
.ld-h3 {
font-size: 17px;
line-height: 24px;
font-weight: 600;
letter-spacing: -0.01em;
}
.ld-h2 {
font-size: 22px;
line-height: 28px;
font-weight: 600;
letter-spacing: -0.015em;
}
.ld-h1 {
font-size: 28px;
line-height: 36px;
font-weight: 600;
letter-spacing: -0.02em;
}
.ld-hero {
font-size: clamp(30px, 5vw, 48px);
font-weight: 600;
letter-spacing: -0.025em;
line-height: 1.1;
}
.ld-mono-xl {
font-family: 'JetBrains Mono', ui-monospace, monospace;
font-size: 28px;
font-weight: 500;
letter-spacing: -0.02em;
font-feature-settings: 'tnum' 1;
}
.ld-mono-s {
font-family: 'JetBrains Mono', ui-monospace, monospace;
font-size: 11px;
font-weight: 400;
font-feature-settings: 'tnum' 1;
}