Improve font and layout.

This commit is contained in:
2025-07-06 11:21:31 +02:00
parent 6213cdd2b9
commit 9b2f457f0b
14 changed files with 193 additions and 49 deletions

57
static/css/fonts.css Normal file
View File

@@ -0,0 +1,57 @@
/* Inter Font Self-Hosted */
/* Inter Light (300) */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('../fonts/inter/Inter-Light.woff2') format('woff2');
}
/* Inter Regular (400) */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
}
/* Inter Medium (500) */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
}
/* Inter SemiBold (600) */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2');
}
/* Inter Bold (700) */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('../fonts/inter/Inter-Bold.woff2') format('woff2');
}
/* Optional: Inter Variable Font for modern browsers */
@supports (font-variation-settings: normal) {
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('../fonts/inter/InterVariable.woff2') format('woff2-variations');
}
}