mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-16 05:07:29 +00:00
Cantarell font files from Gnome project
Sources: https://static.gnome.org/fonts/Cantarell-Regular.otf https://static.gnome.org/fonts/Cantarell-Bold.otf
This commit is contained in:
parent
7acb21f613
commit
50f509742e
BIN
src/site/html/static/fonts/cantarell-bold.otf
Normal file
BIN
src/site/html/static/fonts/cantarell-bold.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/site/html/static/fonts/cantarell-normal.otf
Normal file
BIN
src/site/html/static/fonts/cantarell-normal.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -12,9 +12,8 @@ $theme: () !default
|
||||
@font-face
|
||||
font-family: "Cantarell"
|
||||
font-weight: $weight
|
||||
src: url(/static/fonts/cantarell-#{$weight}.woff2) format("woff2"), url(/static/fonts/cantarell-#{$weight}.ttf) format("truetype")
|
||||
src: url(/static/fonts/cantarell-#{$weight}.otf) format("opentype")
|
||||
font-display: swap // prefer a fallback font until the font file is loaded
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD // from google fonts definition, https://fonts.googleapis.com/css2?family=Cantarell
|
||||
|
||||
body
|
||||
font-family: "Bariol", sans-serif
|
||||
|
Loading…
Reference in New Issue
Block a user