From df6d62c397992aef26c3abb26ad667bcbc7184ad Mon Sep 17 00:00:00 2001 From: Ben Woodward Date: Fri, 6 Aug 2021 14:22:41 -0700 Subject: Replace network font with Source Serif (#178) This removes the dependency on Google Fonts. Additionally I've reintroduced the textarea border on the printed card to help ephasize the important information. --- src/components/SourceSerif4-Semibold.otf | Bin 0 -> 252724 bytes src/components/style.css | 13 ++++++------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 src/components/SourceSerif4-Semibold.otf (limited to 'src/components') diff --git a/src/components/SourceSerif4-Semibold.otf b/src/components/SourceSerif4-Semibold.otf new file mode 100644 index 0000000..c73362d Binary files /dev/null and b/src/components/SourceSerif4-Semibold.otf differ diff --git a/src/components/style.css b/src/components/style.css index fa931bb..0b35cf0 100644 --- a/src/components/style.css +++ b/src/components/style.css @@ -1,4 +1,7 @@ -@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro'); +@font-face { + font-family: 'Source Serif'; + src: url(./SourceSerif4-Semibold.otf); +} #print-area { border-color: #aaa; @@ -23,9 +26,8 @@ textarea { background-color: #fff; border: solid 1px #ddd; - font-family: 'Source Code Pro', serif !important; - font-size: 1em !important; - font-weight: bold !important; + font-family: 'Source Serif', serif !important; + font-size: 1.2em !important; margin-bottom: 0; height: 40px !important; min-height: 0px !important; @@ -62,9 +64,6 @@ button { border-style: dashed; box-shadow: none; } - #print-area textarea { - border: none; - } #print-area { position: absolute; left: 0; -- cgit v1.2.3