mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 22:32:11 +00:00
make fonts local to the project
This commit is contained in:
parent
19af3cb107
commit
141140a410
@ -1,12 +1,27 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
|
@font-face {
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
|
font-family: "receipt-narrow";
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Jersey+20&display=swap");
|
src: absolute-image-url(
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap");
|
"/plugins/discourse-rewind/fonts/receipt-narrow.woff2"
|
||||||
@import url("https://use.typekit.net/ony6yef.css");
|
)
|
||||||
|
format("woff2");
|
||||||
|
font-display: auto;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-stretch: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Jersey 20";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: absolute-image-url(
|
||||||
|
"/plugins/discourse-rewind/fonts/jersey-20-v2-latin-regular.woff2"
|
||||||
|
)
|
||||||
|
format("woff2");
|
||||||
|
}
|
||||||
|
|
||||||
.rewind {
|
.rewind {
|
||||||
--heading-font: "Rubik", Helvetica, Arial, sans-serif;
|
|
||||||
--regular-font: "Open Sans", Helvetica, Arial, sans-serif;
|
|
||||||
--jersey-heading: "Jersey 20", Helvetica, Arial, sans-serif;
|
--jersey-heading: "Jersey 20", Helvetica, Arial, sans-serif;
|
||||||
--pixel-text: "receipt-narrow", sans-serif;
|
--pixel-text: "receipt-narrow", sans-serif;
|
||||||
h1,
|
h1,
|
||||||
|
BIN
public/fonts/jersey-20-v2-latin-regular.woff2
Normal file
BIN
public/fonts/jersey-20-v2-latin-regular.woff2
Normal file
Binary file not shown.
BIN
public/fonts/receipt-narrow.woff2
Normal file
BIN
public/fonts/receipt-narrow.woff2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user