From 82d2297710a6b71eacc08b449e9f1a3a7be1f558 Mon Sep 17 00:00:00 2001 From: Ross Williams Date: Thu, 23 May 2024 21:51:31 +0100 Subject: [PATCH] Add RedactRect font --- fonts/README.md | 6 +++++- fonts/RedactRect.woff2 | Bin 0 -> 4104 bytes sigma.css | 16 +++++++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 fonts/RedactRect.woff2 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 0000000000000000000000000000000000000000..e731f5028f747c9249275e0c49d811917dd2e214 GIT binary patch literal 4104 zcmV+j5cltQPew8T0RR9101yZO4gdfE068oG01vSM0RR9100000000000000000000 z0000#Mn+Uk92y)3U;u(b2m}!b3Uq-A3km=MHUcCA5Ck9v>Kq3!8$~#y5ZE{Xgt8|$ z5@DkkCnor-1n!Xd(j^SdmOH|ND<~WpB;U$BlSnY)icVwA^Fxx#D$B$7`)TL?y!<2u zR!gkPa+ehlSVA0M+X}V9?08^Fjvxh4wxv^GEt4)&!Ep&T*{@G@`AU8Wjb#{yp~1eX z8fwNeA?d!O{H<)Q+TZRnQzRrIPZA11*>R-!)$&uk_mz<3Edk>60WxwKDj{Hi%mrZLy9OwLX1=f$TSgP08OaN3>#43m#Jni>ZmTp zRLAMacy-BJ&ZQJtFL*U4X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_$A^$~jyi2uFdnNFmi`a4GFwm>xwAK`PI?XdnrnpfcoEE) z6MxHF7jg%|1Q)(~5Z>JR|L^<1OVT!BDVA2b GhX4S*)tGYt literal 0 HcmV?d00001 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: */