Add a custom font
This commit is contained in:
parent
6b8a4afa04
commit
47bfdac6c1
7
Makefile
7
Makefile
|
@ -1,4 +1,4 @@
|
|||
all: site/style.css site/index.html site/drift.js
|
||||
all: site/style.css site/index.html site/drift.js site/grotesk.woff2
|
||||
|
||||
clean:
|
||||
rm -r site .sass-cache
|
||||
|
@ -13,4 +13,7 @@ site/index.html: sitedir index.html
|
|||
cp --reflink=auto index.html site/
|
||||
|
||||
site/drift.js: sitedir drift.js
|
||||
cp --reflink=auto drift.js site/
|
||||
cp --reflink=auto drift.js site/
|
||||
|
||||
site/grotesk.woff2: sitedir grotesk.woff2
|
||||
cp --reflink=auto grotesk.woff2 site/
|
BIN
grotesk.woff2
(Stored with Git LFS)
Normal file
BIN
grotesk.woff2
(Stored with Git LFS)
Normal file
Binary file not shown.
12
style.sass
12
style.sass
|
@ -7,12 +7,12 @@ body, html
|
|||
|
||||
h1
|
||||
position: absolute
|
||||
top: 140px
|
||||
top: 85px
|
||||
text-align: center
|
||||
width: 100vw
|
||||
color: white
|
||||
font-family: Atkinson Hyperlegible
|
||||
font-size: 3em
|
||||
font-family: Grotesk
|
||||
font-size: 5.8em
|
||||
|
||||
#goop-zone
|
||||
position: relative
|
||||
|
@ -24,4 +24,8 @@ h1
|
|||
transition: transform 0.485s linear
|
||||
|
||||
main
|
||||
background-color: #b50931
|
||||
background-color: #b50931
|
||||
|
||||
@font-face
|
||||
font-family: Grotesk
|
||||
src: url("grotesk.woff2") format("woff2")
|
Loading…
Reference in a new issue