Improve font and layout.
This commit is contained in:
57
static/css/fonts.css
Normal file
57
static/css/fonts.css
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user