load google fonts locally
This commit is contained in:
BIN
public/fonts/AfacadFlux-Medium.ttf
Normal file
BIN
public/fonts/AfacadFlux-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/AfacadFlux-SemiBold.ttf
Normal file
BIN
public/fonts/AfacadFlux-SemiBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/LibreBaskerville-Bold.ttf
Normal file
BIN
public/fonts/LibreBaskerville-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/LibreBaskerville-Regular.ttf
Normal file
BIN
public/fonts/LibreBaskerville-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/RobotoMono-Regular.ttf
Normal file
BIN
public/fonts/RobotoMono-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/RobotoMono-SemiBold.ttf
Normal file
BIN
public/fonts/RobotoMono-SemiBold.ttf
Normal file
Binary file not shown.
@@ -81,6 +81,57 @@ head
|
|||||||
|
|
||||||
// region Custom CSS
|
// region Custom CSS
|
||||||
style.
|
style.
|
||||||
|
/* Afacad Flux */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Afacad Flux';
|
||||||
|
src: url('/public/fonts/AfacadFlux-Medium.ttf') format('truetype');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Afacad Flux';
|
||||||
|
src: url('/public/fonts/AfacadFlux-SemiBold.ttf') format('truetype');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Libre Baskerville */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Libre Baskerville';
|
||||||
|
src: url('/public/fonts/LibreBaskerville-Regular.ttf') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Libre Baskerville';
|
||||||
|
src: url('/public/fonts/LibreBaskerville-Bold.ttf') format('truetype');
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Roboto Mono */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Roboto Mono';
|
||||||
|
src: url('/public/fonts/RobotoMono-Regular.ttf') format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Roboto Mono';
|
||||||
|
src: url('/public/fonts/RobotoMono-SemiBold.ttf') format('truetype');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background: black;
|
background: black;
|
||||||
color: black;
|
color: black;
|
||||||
@@ -102,12 +153,6 @@ head
|
|||||||
}
|
}
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
link(rel="preconnect", href="https://fonts.googleapis.com")
|
|
||||||
link(
|
|
||||||
rel="stylesheet",
|
|
||||||
href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap"
|
|
||||||
)
|
|
||||||
|
|
||||||
script(async, defer, data-website-id=head.umamiId, src=head.umamiSrc)
|
script(async, defer, data-website-id=head.umamiId, src=head.umamiSrc)
|
||||||
|
|
||||||
script.
|
script.
|
||||||
|
|||||||
Reference in New Issue
Block a user