Add font NewRodin Pro

This commit is contained in:
zima 2024-11-06 22:59:24 -07:00
parent 27339e03c2
commit 9e809aa3b6
6 changed files with 18 additions and 1 deletions

View file

@ -1,5 +1,6 @@
@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';
@ -8,6 +9,22 @@
src: url('/static-assets/fonts/Lexend-VariableFont_wght.ttf') format('opentype');
}
// barkey/yeentown font
@font-face {
font-family: 'FOT-NewRodin Pro';
font-style: normal;
font-weight: 400;
src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf') format('opentype');
}
// barkey/yeentown font
@font-face {
font-family: 'FOT-NewRodin Pro';
font-style: normal;
font-weight: 700;
src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf') format('opentype');
}
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
*
@ -65,7 +82,7 @@ html {
accent-color: var(--accent);
overflow: auto;
overflow-wrap: break-word;
font-family: 'sharkey-theme-font-face', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
font-family: 'sharkey-theme-font-face', 'FOT-NewRodin Pro', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
font-size: 14px;
line-height: 1.35;
text-size-adjust: 100%;