mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-26 09:37:28 +00:00
Actually use the font
This commit is contained in:
parent
811fb623ee
commit
b10432aa38
@ -7,8 +7,12 @@ $main-theme-link-color: #085cae
|
|||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: "Bariol"
|
font-family: "Bariol"
|
||||||
|
font-display: swap
|
||||||
src: url(/static/fonts/bariol.woff2) format("woff2"), url(/static/fonts/bariol.ttf) format("truetype")
|
src: url(/static/fonts/bariol.woff2) format("woff2"), url(/static/fonts/bariol.ttf) format("truetype")
|
||||||
|
|
||||||
|
body, input, button, textarea
|
||||||
|
font-family: "Bariol", sans-serif
|
||||||
|
|
||||||
body
|
body
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
|
@ -6,7 +6,11 @@ const passthrough = require("./passthrough")
|
|||||||
|
|
||||||
const pinski = new Pinski({
|
const pinski = new Pinski({
|
||||||
port: 10407,
|
port: 10407,
|
||||||
relativeRoot: __dirname
|
relativeRoot: __dirname,
|
||||||
|
basicCacheControl: {
|
||||||
|
exts: ["ttf", "woff2", "png", "jpg", "jpeg", "svg", "gif", "webmanifest", "ico"],
|
||||||
|
seconds: 604800
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
subdirs("pug", async (err, dirs) => {
|
subdirs("pug", async (err, dirs) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user