fonts
This commit is contained in:
parent
5da75ecd44
commit
a0ea21b884
5 changed files with 16 additions and 3 deletions
13
css/base.css
13
css/base.css
|
|
@ -1,3 +1,15 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: "Plus Jakarta Sans";
|
||||||
|
src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Plus Jakarta Sans";
|
||||||
|
src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--surface-container-low: #faf3e7;
|
--surface-container-low: #faf3e7;
|
||||||
--surface-container-highest: #eae2d2;
|
--surface-container-highest: #eae2d2;
|
||||||
|
|
@ -35,6 +47,7 @@ body {
|
||||||
background-color: var(--surface);
|
background-color: var(--surface);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
font-family: "Plus Jakarta Sans", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
|
|
||||||
|
|
@ -164,8 +164,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& h3 {
|
& h3 {
|
||||||
font-family:
|
|
||||||
"Plus Jakarta Sans", sans-serif;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|
|
||||||
BIN
fonts/plus-jakarta-sans-latin-ext.woff2
Normal file
BIN
fonts/plus-jakarta-sans-latin-ext.woff2
Normal file
Binary file not shown.
BIN
fonts/plus-jakarta-sans-latin.woff2
Normal file
BIN
fonts/plus-jakarta-sans-latin.woff2
Normal file
Binary file not shown.
4
main.go
4
main.go
|
|
@ -191,7 +191,9 @@ func main() {
|
||||||
ensureDir()
|
ensureDir()
|
||||||
generateHTML()
|
generateHTML()
|
||||||
mergeStyles()
|
mergeStyles()
|
||||||
mustCopy("img/favicon.avif", "www/images/favicon.avif")
|
os.MkdirAll("www/fonts", 0777)
|
||||||
|
mustCopy("fonts/plus-jakarta-sans-latin.woff2", "www/fonts/plus-jakarta-sans-latin.woff2")
|
||||||
|
mustCopy("fonts/plus-jakarta-sans-latin-ext.woff2", "www/fonts/plus-jakarta-sans-latin-ext.woff2")
|
||||||
mustCopy("img/logo.svg", "www/images/logo.svg")
|
mustCopy("img/logo.svg", "www/images/logo.svg")
|
||||||
mustCopy("js/album.js", "www/album.js")
|
mustCopy("js/album.js", "www/album.js")
|
||||||
minifyFile("www/album.js", "application/javascript")
|
minifyFile("www/album.js", "application/javascript")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue