Skip to content

Commit

Permalink
Unify fonts between all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mstieranka committed Oct 22, 2023
1 parent cedfddf commit 5de64f3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/loader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<style>
.loader {
font-family: "Open Sans", "Noto Color Emoji";
font-family: var(--font-sans);
position: fixed;
top: 0;
left: 0;
Expand Down
13 changes: 7 additions & 6 deletions src/themes/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
/** global layout */

:root {
--font-sans: "Open Sans";
--font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system,
--font-sans: "Open Sans", ui-sans-serif, system-ui, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
font-family: var(--font-family);
--font-monospace: "Hack", ui-monospace, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-family: var(--font-sans);
}

html {
Expand Down Expand Up @@ -730,7 +731,7 @@ li.testRes > div.badges {
}

badge {
font-family: "Hack", "Noto Color Emoji";
font-family: var(--font-monospace);
font-size: 13px;
display: inline-block;
color: #fff;
Expand Down Expand Up @@ -1276,7 +1277,7 @@ select.flt {
.itemLo,
.itemHi {
cursor: default;
font-family: Tahoma, Verdana, sans-serif;
font-family: var(--font-sans);
font-size: 12px;
padding: 0.2em 0.4em;
}
Expand Down Expand Up @@ -1403,7 +1404,7 @@ input.seek {
font-size: 10px;
}
select.seek {
font-family: Courier;
font-family: var(--font-monospace);
font-size: 10px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ a.butLink {
padding: 0.5em;
background: #333;
color: white;
font-family: Hack, monospace;
font-family: var(--font-monospace);
}

code.hljs,
Expand Down
2 changes: 1 addition & 1 deletion src/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Original highlight.js style (c) Ivan Sagalaev <[email protected]>
overflow-x: auto;
padding: 0.5em;
background: #f0f0f0;
font-family: Hack, monospace;
font-family: var(--font-monospace);
}

code.hljs,
Expand Down

0 comments on commit 5de64f3

Please sign in to comment.