Merge pull request 'Replaced NewRodin OTF with fixed TTF/WOFF2 version' (#1) from fix-new-rodin into dev

Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/1
This commit is contained in:
HellhoundSoftware 2024-11-08 21:49:26 +00:00
commit 976dead978
15 changed files with 5 additions and 12 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,20 +1,11 @@
@charset "utf-8"; @charset "utf-8";
// default sharkey font
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Lexend';
font-style: normal;
font-weight: 400;
src: url('/static-assets/fonts/Lexend-VariableFont_wght.ttf') format('opentype');
}
// barkey/yeentown font // barkey/yeentown font
@font-face { @font-face {
font-family: 'FOT-NewRodin Pro'; font-family: 'FOT-NewRodin Pro';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf') format('opentype'); src: url('/static-assets/fonts/NewRodinPro-DB.woff2') format('woff2');
} }
// barkey/yeentown font // barkey/yeentown font
@ -22,7 +13,7 @@
font-family: 'FOT-NewRodin Pro'; font-family: 'FOT-NewRodin Pro';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf') format('opentype'); src: url('/static-assets/fonts/NewRodinPro-EB.woff2') format('woff2');
} }
/* /*
@ -58,6 +49,8 @@
--avatar: 48px; --avatar: 48px;
--thread-width: 2px; --thread-width: 2px;
--custom-font: 'sharkey-theme-font-face';
} }
html.radius-misskey { html.radius-misskey {
@ -82,7 +75,7 @@ html {
accent-color: var(--accent); accent-color: var(--accent);
overflow: auto; overflow: auto;
overflow-wrap: break-word; overflow-wrap: break-word;
font-family: 'sharkey-theme-font-face', 'FOT-NewRodin Pro', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; font-family: var(--custom-font), 'FOT-NewRodin Pro', sans-serif;
font-size: 14px; font-size: 14px;
line-height: 1.35; line-height: 1.35;
text-size-adjust: 100%; text-size-adjust: 100%;