diff options
| author | 2025-04-14 12:57:58 +0200 | |
|---|---|---|
| committer | 2025-04-14 12:57:58 +0200 | |
| commit | a44065726c508c83fe75af1ae929b252a9046c49 (patch) | |
| tree | 5caf2a16d299951f137ee02af0dc83b5a1517798 /web/source/css/base.css | |
| parent | don't panic on non-fully populated status edits, it may not always be possibl... (diff) | |
| download | gotosocial-a44065726c508c83fe75af1ae929b252a9046c49.tar.xz | |
[chore] Update + add fonts for additional scripts, use locally installed font if available (#3997)
* [chore] Update + add fonts for additional scripts, use locally installed font if available
* update comments
Diffstat (limited to 'web/source/css/base.css')
| -rw-r--r-- | web/source/css/base.css | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/web/source/css/base.css b/web/source/css/base.css index 6a5a6dd36..2122e5aae 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -23,26 +23,7 @@ @import "modern-normalize/modern-normalize.css"; @import "./_prism.css"; - -/* noto-sans-regular - latin */ -@font-face { - font-family: "Noto Sans"; - font-weight: 400; - font-display: swap; - font-style: normal; - src: url('../fonts/noto-sans-v27-latin-regular.woff2') format('woff2'), - url('../fonts/noto-sans-v27-latin-regular.woff') format('woff'); -} - -/* noto-sans-700 - latin */ -@font-face { - font-family: "Noto Sans"; - font-weight: 700; - font-display: swap; - font-style: normal; - src: url('../fonts/noto-sans-v27-latin-700.woff2') format('woff2'), - url('../fonts/noto-sans-v27-latin-700.woff') format('woff'); -} +@import "./_fonts.css"; /************************************* ***** SECTION 1: HANDY VARIABLES ***** @@ -338,11 +319,12 @@ label { } /* - Set our own nice background for - monospace code and pre blocks. + Set our own nice background and + font for monospace code and pre blocks. */ pre, pre[class*="language-"], code, code[class*="language-"] { + font-family: "Noto Sans Mono", monospace; background-color: $gray2; } |
