Use local fonts
This commit is contained in:
parent
f69067f7ae
commit
c90918bff1
5 changed files with 110 additions and 13 deletions
static/style
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue