59 lines
1.2 KiB
SCSS
59 lines
1.2 KiB
SCSS
// The fonts available are OTF and TTF. Modern browsers prefer WOFF/WOFF2,
|
|
// Ideally, providing WOFF2 versions would be best practice for performance.
|
|
// Add font-display to improve Google PageSpeed rendering.
|
|
|
|
@font-face {
|
|
font-family: 'Hajime Sans';
|
|
src: url('../Fonts/Hajime Sans.ttf') format('truetype'),
|
|
url('../Fonts/Hajime Sans.otf') format('opentype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('../Fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
|
|
font-weight: 100 900; // Adjust as needed for variable font range
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('../Fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
|
|
font-weight: 100 900;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 500;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: 'Hajime Sans', sans-serif;
|
|
color: var(--bs-primary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 4rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
a {
|
|
color: var(--cl-primary);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
|
|
button, .btn {
|
|
font-family: 'Hajime Sans', sans-serif;
|
|
font-weight: 400;
|
|
}
|