70 lines
1.7 KiB
CSS
70 lines
1.7 KiB
CSS
/* Self-hosted variable fonts (GDPR: no requests to Google CDNs) */
|
|
@font-face {
|
|
font-family: 'Newsreader';
|
|
font-style: normal;
|
|
font-weight: 200 800;
|
|
font-display: swap;
|
|
src: url('/fonts/newsreader-var.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-family: 'Newsreader';
|
|
font-style: italic;
|
|
font-weight: 200 800;
|
|
font-display: swap;
|
|
src: url('/fonts/newsreader-italic-var.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
src: url('/fonts/inter-var.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 100 800;
|
|
font-display: swap;
|
|
src: url('/fonts/jetbrains-mono-var.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-style: normal;
|
|
font-weight: 100 700;
|
|
font-display: block;
|
|
src: url('/fonts/material-symbols-outlined-var.woff2') format('woff2');
|
|
}
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
body {
|
|
@apply bg-surface font-body-md text-on-surface antialiased overscroll-none selection:bg-primary-container selection:text-primary-fixed;
|
|
}
|
|
main > :first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
main > :last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.material-symbols-outlined {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
line-height: 1;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
direction: ltr;
|
|
display: inline-block;
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
}
|