0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 19:02:51 +08:00
discourse/plugins/discourse-rewind/assets/stylesheets/common/fonts.scss
Martin Brennan 95bb1bdf30
FEATURE: Bundle discourse-rewind plugin in core (#36409)
We think this is in a good place to move into core
and prepare for a wider release after the additional
work that has been done this year.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Kris Aubuchon <kris.aubuchon@discourse.org>
Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
2025-12-08 11:38:48 +10:00

63 lines
1.2 KiB
SCSS
Vendored

@font-face {
font-family: receipt-narrow;
src: absolute-image-url(
"/plugins/discourse-rewind/fonts/receipt-narrow.woff2"
)
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");
}
@font-face {
font-display: swap;
font-family: "Pixelify Sans";
font-style: normal;
font-weight: 400;
src: absolute-image-url(
"/plugins/discourse-rewind/fonts/pixelify-sans-v1-latin-regular.woff2"
)
format("woff2");
}
.rewind {
--jersey-heading: "Jersey 20", helvetica, arial, sans-serif;
--pixel-text: "receipt-narrow", sans-serif;
h1,
h2,
h3,
h4,
h5 {
font-family: var(--jersey-heading);
-webkit-font-smoothing: antialiased;
}
p,
span,
table,
td,
tr {
font-family: var(--pixel-text);
-webkit-font-smoothing: antialiased;
}
}
h2.rewind-report-title {
text-transform: uppercase;
color: var(--rewind-green);
z-index: 2;
line-height: 1.2;
}