fix broken glitch font
This commit is contained in:
@ -35,4 +35,4 @@ function populateNav() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
populateNav();
|
populateNav();
|
||||||
|
|||||||
@ -1,20 +1,19 @@
|
|||||||
/* Our default values set as CSS variables */
|
/* Our default values set as CSS variables */
|
||||||
:root {
|
:root {
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
|
|
||||||
--color-bg-light: #f0f0f0;
|
--color-bg-light: #f0f0f0;
|
||||||
--color-text-light: #640054;
|
--color-text-light: #640054;
|
||||||
--color-header-light: #185370;
|
--color-header-light: #185370;
|
||||||
--color-warn-light: #fbcc0a;
|
--color-warn-light: #fbcc0a;
|
||||||
|
|
||||||
--color-bg-dark: #1f1f1f;
|
--color-bg-dark: #1f1f1f;
|
||||||
--color-text-dark: #91c73b;
|
--color-text-dark: #91c73b;
|
||||||
--color-header-dark: #ff9b37;
|
--color-header-dark: #ff9b37;
|
||||||
--color-warn-dark: #540033;
|
--color-warn-dark: #540033;
|
||||||
|
|
||||||
--color-text-main: #640054;
|
--color-text-main: #640054;
|
||||||
--color-text-header: #185370;
|
--color-text-header: #185370;
|
||||||
--font-family: "HK Grotesk";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Basic page style resets */
|
/* Basic page style resets */
|
||||||
@ -25,19 +24,6 @@
|
|||||||
display: none !important;
|
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 */
|
/* Navigation */
|
||||||
#top-nav {
|
#top-nav {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
@ -72,7 +58,7 @@
|
|||||||
|
|
||||||
/* Body */
|
/* Body */
|
||||||
body {
|
body {
|
||||||
font-family: var(--font-family);
|
font-family: sans-serif;
|
||||||
background-color: light-dark(var(--color-bg-light), var(--color-bg-dark));
|
background-color: light-dark(var(--color-bg-light), var(--color-bg-dark));
|
||||||
color: light-dark(var(--color-text-light), var(--color-text-dark));
|
color: light-dark(var(--color-text-light), var(--color-text-dark));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user