fix broken glitch font
This commit is contained in:
@ -1,20 +1,19 @@
|
||||
/* Our default values set as CSS variables */
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
|
||||
|
||||
--color-bg-light: #f0f0f0;
|
||||
--color-text-light: #640054;
|
||||
--color-header-light: #185370;
|
||||
--color-warn-light: #fbcc0a;
|
||||
|
||||
--color-bg-dark: #1f1f1f;
|
||||
|
||||
--color-bg-dark: #1f1f1f;
|
||||
--color-text-dark: #91c73b;
|
||||
--color-header-dark: #ff9b37;
|
||||
--color-warn-dark: #540033;
|
||||
|
||||
|
||||
--color-text-main: #640054;
|
||||
--color-text-header: #185370;
|
||||
--font-family: "HK Grotesk";
|
||||
}
|
||||
|
||||
/* Basic page style resets */
|
||||
@ -25,19 +24,6 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Import fonts */
|
||||
@font-face {
|
||||
font-family: HK Grotesk;
|
||||
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
|
||||
format("opentype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: HK Grotesk;
|
||||
font-weight: bold;
|
||||
src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
|
||||
format("opentype");
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
#top-nav {
|
||||
position: sticky;
|
||||
@ -72,7 +58,7 @@
|
||||
|
||||
/* Body */
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
font-family: sans-serif;
|
||||
background-color: light-dark(var(--color-bg-light), var(--color-bg-dark));
|
||||
color: light-dark(var(--color-text-light), var(--color-text-dark));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user