diff --git a/fonts/README.md b/fonts/README.md index 80e7005d..a274d542 100644 --- a/fonts/README.md +++ b/fonts/README.md @@ -12,4 +12,8 @@ Sigma-9's header font. Licensed under [SIL Open Font License 1.1](https://github ## [Nanum Gothic](https://fonts.google.com/specimen/Nanum+Gothic) -Tertiary and fallback font. Licensed under [SIL Open Font License 1.1](https://fonts.google.com/specimen/Nanum+Gothic/about). \ No newline at end of file +Tertiary and fallback font. Licensed under [SIL Open Font License 1.1](https://fonts.google.com/specimen/Nanum+Gothic/about). + +## RedactRect + +Provides a fallback redaction character (FULL BLOCK, U+2588) that matches the width of Inter. Licensed under SIL Open Font License 1.1, copyright The SCP Wiki. diff --git a/fonts/RedactRect.woff2 b/fonts/RedactRect.woff2 new file mode 100644 index 00000000..e731f502 Binary files /dev/null and b/fonts/RedactRect.woff2 differ diff --git a/sigma.css b/sigma.css index a7d703e2..2cd60cc3 100644 --- a/sigma.css +++ b/sigma.css @@ -62,6 +62,15 @@ format('woff2'); } +@font-face { + font-family: RedactRect; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url('https://scpwiki.github.io/sigma/fonts/RedactRect.woff2') + format('woff2'); +} + /* COMMON */ #content-wrap { position: relative; @@ -167,7 +176,8 @@ body { font-size: 0.95em; color: #333; font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, - Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', RedactRect, + sans-serif; font-feature-settings: 'case', 'ss01', 'ss04'; } @@ -1375,7 +1385,7 @@ div#u-adult-warning > .error-block { */ #file-upload-box-ajax { - display: block !important; -} + display: block !important; +} /* vim: set noet: */