Skip to content

Commit

Permalink
Merge pull request #106 from scpwiki/font-fix-inter
Browse files Browse the repository at this point in the history
Switch inter CDN
  • Loading branch information
emmiegit authored Aug 5, 2024
2 parents 32b40ef + ad3c36c commit 84056cc
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 22 deletions.
Binary file removed fonts/Inter-italic.var.woff2
Binary file not shown.
Binary file removed fonts/Inter-roman.var.woff2
Binary file not shown.
Binary file removed fonts/NanumGothic-Bold.woff2
Binary file not shown.
Binary file removed fonts/NanumGothic-Regular.woff2
Binary file not shown.
4 changes: 0 additions & 4 deletions fonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ Sigma-9's body font. Licensed under [SIL Open Font License 1.1](https://github.c

Sigma-9's header font. Licensed under [SIL Open Font License 1.1](https://github.com/scpwiki/normalcy-sans/blob/main/LICENSE).

## [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).

## 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.
20 changes: 2 additions & 18 deletions sigma.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,13 @@

@charset "utf-8";

@import url('https://rsms.me/inter/inter.css');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');

/* Don't remove Bauhaus yet, still onsite dependencies to resolve */
@import url('https://scp-wiki.wdfiles.com/local--files/component%3Atheme/font-bauhaus.css');

/* FONT-FACE */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('https://cdn.scpwiki.com/theme/en/sigma/fonts/Inter-roman.var.woff2?v=3.19')
format('woff2');
}

@font-face {
font-family: Inter;
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url('https://cdn.scpwiki.com/theme/en/sigma/fonts/Inter-italic.var.woff2?v=3.19')
format('woff2');
}

@font-face {
font-family: 'Sans Normalcy';
Expand Down Expand Up @@ -158,7 +142,7 @@ body {
background-color: #fff;
font-size: 0.95em;
color: #333;
font-family: Inter, RedactRect, BlinkMacSystemFont, 'Segoe UI', Roboto,
font-family: InterVariable, RedactRect, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-feature-settings: 'case', 'ss01', 'ss04';
Expand Down

0 comments on commit 84056cc

Please sign in to comment.