Use local fonts

This commit is contained in:
Akira Tempaku 2025-05-23 12:37:05 +09:00
commit c90918bff1
Signed by: paku
GPG key ID: 5B4E8402BCC50607
5 changed files with 110 additions and 13 deletions
static/style

View file

@ -1,8 +1,24 @@
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@font-face {
font-family: 'ZenMaruGothic';
src: url('/style/fonts/ZenMaruGothic-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'ZenMaruGothic';
src: url('/style/fonts/ZenMaruGothic-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
:root {
font-family: "Zen Maru Gothic", sans-serif;
font-family: "ZenMaruGothic", sans-serif;
}
@view-transition {