e04ed9c211
CF: Deploy Dev Docs / deploy (push) Waiting to run
Sync Labels / build (push) Waiting to run
tests / unit tests (macos-latest) (push) Waiting to run
tests / unit tests (ubuntu-latest) (push) Waiting to run
tests / unit tests (windows-latest) (push) Waiting to run
37 lines
1.2 KiB
SCSS
37 lines
1.2 KiB
SCSS
/* ==========================================================================
|
|
GLOBAL TYPOGRAPHY & SCALING
|
|
Defines core fonts, root variables, and base element typography.
|
|
========================================================================== */
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Readex+Pro:wght@400;500;600;700&display=swap');
|
|
|
|
html {
|
|
font-size: 16px !important;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
:root {
|
|
--bs-font-sans-serif: 'Readex Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
|
|
--bs-body-font-family: var(--bs-font-sans-serif) !important;
|
|
--bs-font-monospace: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
|
|
--header-offset: 50px;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--bs-font-sans-serif) !important;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.td-main, .td-sidebar, .navbar, .td-content {
|
|
font-family: var(--bs-font-sans-serif) !important;
|
|
}
|
|
|
|
code, pre, kbd, samp {
|
|
font-family: var(--bs-font-monospace) !important;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
|
|
scroll-margin-top: calc(var(--header-offset) + 10px) !important;
|
|
} |