From 81fa8f5d035e4d70b34fa21d4c4c5d384274b379 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 28 Aug 2020 22:12:50 -0400 Subject: Use DejaVu+BQN Sans Mono for code on github.io --- docs/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/style.css') diff --git a/docs/style.css b/docs/style.css index 8ce0babf..c9e2adc1 100644 --- a/docs/style.css +++ b/docs/style.css @@ -33,11 +33,17 @@ table th { border-bottom-color: #5a5f5d; } +@font-face{ + font-family: BQN; + src: url(DejaVuBQNSansMono.ttf) format('truetype'); +} pre, code, textarea { background-color: #e3e7e7; color: #292929; } pre, code, textarea, .kb { + font-family: BQN, monospace; + font-size: 0.94em; border: 1px solid #bdcac4; letter-spacing: 0.2; } @@ -47,8 +53,6 @@ code { border-width: 0.3px; } pre, textarea, .kb { - font-family: monospace; - font-size: 1.16em; line-height: 1.2; } pre { margin: 1.6em 0.4em; } -- cgit v1.2.3