Use Inclusive Sans by default
This commit is contained in:
parent
2c8373e09b
commit
0ae001c06d
6 changed files with 31 additions and 1 deletions
|
@ -21,3 +21,5 @@ All work showcased on this site (including images, source code, etc.) are hereby
|
|||
[CC BY-NC-SA 4.0]({{<ref "/license">}}) _unless_ otherwise specified. If you have doubts about licensing, please [contact me]({{< ref "contact" >}}) and I can help clear up any ambiguities.
|
||||
|
||||
Some icons on this site are from [KDE's Breeze icons](https://invent.kde.org/frameworks/breeze-icons) which are licensed under [GPLv3](https://invent.kde.org/frameworks/breeze-icons/-/blob/master/COPYING-ICONS?ref_type=heads).
|
||||
|
||||
The default font used is [Inclusive Sans](https://github.com/LivKing/Inclusive-Sans).
|
||||
|
|
|
@ -146,7 +146,7 @@ body {
|
|||
accent-color: var(--accent-color);
|
||||
|
||||
color: var(--text-color);
|
||||
font-family: sans-serif;
|
||||
font-family: "Inclusive Sans", sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
@ -164,6 +164,34 @@ body {
|
|||
--shadow: 3px 3px 0px black;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inclusive Sans";
|
||||
src: url("/fonts/InclusiveSans-Bold.woff2");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inclusive Sans";
|
||||
src: url("/fonts/InclusiveSans-BoldItalic.woff2");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inclusive Sans";
|
||||
src: url("/fonts/InclusiveSans-Italic.woff2");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inclusive Sans";
|
||||
src: url("/fonts/InclusiveSans-Regular.woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--link: #a3c3ff;
|
||||
|
|
BIN
themes/red/static/fonts/InclusiveSans-Bold.woff2
Normal file
BIN
themes/red/static/fonts/InclusiveSans-Bold.woff2
Normal file
Binary file not shown.
BIN
themes/red/static/fonts/InclusiveSans-BoldItalic.woff2
Normal file
BIN
themes/red/static/fonts/InclusiveSans-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
themes/red/static/fonts/InclusiveSans-Italic.woff2
Normal file
BIN
themes/red/static/fonts/InclusiveSans-Italic.woff2
Normal file
Binary file not shown.
BIN
themes/red/static/fonts/InclusiveSans-Regular.woff2
Normal file
BIN
themes/red/static/fonts/InclusiveSans-Regular.woff2
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue