Skip to content

Commit

Permalink
Add RedactRect font
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjrw committed May 23, 2024
1 parent b6dbf95 commit 82d2297
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
6 changes: 5 additions & 1 deletion fonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
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.
Binary file added fonts/RedactRect.woff2
Binary file not shown.
16 changes: 13 additions & 3 deletions sigma.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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';
}

Expand Down Expand Up @@ -1375,7 +1385,7 @@ div#u-adult-warning > .error-block {
*/

#file-upload-box-ajax {
display: block !important;
}
display: block !important;
}

/* vim: set noet: */

0 comments on commit 82d2297

Please sign in to comment.