soucy.cc

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4a8f9e6d0e8e93c0c21bc522577d01c888033324
parent a95ce9ef0113311c839ddc6e7025629675430a9f
Author: Hugo Soucy <hs0ucy@h50ucy.local>
Date:   Fri, 28 Jun 2019 23:55:38 -0400

Add a new monospace font

Diffstat:
Astatic/ISOv0.5-Bold.woff | 0
Astatic/ISOv0.5-Regular.woff | 0
Mstatic/css/styles.css | 15++++++++++++++-
3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/static/ISOv0.5-Bold.woff b/static/ISOv0.5-Bold.woff Binary files differ. diff --git a/static/ISOv0.5-Regular.woff b/static/ISOv0.5-Regular.woff Binary files differ. diff --git a/static/css/styles.css b/static/css/styles.css @@ -1,4 +1,17 @@ /* Soucy.cc Styles */ +@font-face { + font-family: ISO; + src: url("../ISOv0.5-Regular.woff") format("woff"); + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: ISO; + src: url("../ISOv0.5-Bold.woff") format("woff"); + font-weight: 700; +} + :root { font-size: calc(1vw + 1vh + .5vmin); } @@ -12,7 +25,7 @@ body { background: #f0f0f0; color: #111; display: flex; - font: 1rem/1.6 mono, monospace; + font: 1rem/1.6 ISO, mono, monospace; height: auto; justify-content: center; min-height: 100%;