From 0e64ad366ba09b08da7fa3a49d491157300d03f3 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 9 Feb 2022 00:21:25 +0400 Subject: [PATCH] Added Share Tech Mono, and styled a code tag with it. --- internal/handlers/web/assets/css/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/internal/handlers/web/assets/css/main.css b/internal/handlers/web/assets/css/main.css index 6f1b409..19e862d 100644 --- a/internal/handlers/web/assets/css/main.css +++ b/internal/handlers/web/assets/css/main.css @@ -5,6 +5,13 @@ src: local('RobotoCondensed'), local('RobotoCondensed-Regular'), url(/assets/fonts/RobotoCondensed-Regular.ttf); } +@font-face { + font-family: 'Share Tech Mono'; + font-style: normal; + font-weight: 400; + src: local('ShareTechMono'), local('ShareTechMono-Regular'), + url(/assets/fonts/ShareTechMono-Regular.ttf) format('truetype'); } + :root { --background-color: #0a0a0a; --primary-color: #cd2682; @@ -51,6 +58,11 @@ p { p:not(:last-child) { margin-bottom: .1rem; } +code { + font-family: 'Share Tech Mono'; + font-size: 1.1rem; + letter-spacing: -1px; } + h1, h2 { font-size: 1.8rem;