From f71843df94f1d89dbec7283854dddb76e35598dc Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 18 Apr 2019 00:15:32 +0200 Subject: Added site-wide monospace font Co-authored-by: LarsVomMars --- src/main/resources/css/layout.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/main/resources/css/layout.css') diff --git a/src/main/resources/css/layout.css b/src/main/resources/css/layout.css index cb0850e..f016c76 100644 --- a/src/main/resources/css/layout.css +++ b/src/main/resources/css/layout.css @@ -1,9 +1,14 @@ +@font-face { + font-family: "Share Tech Mono"; + src: url('/fonts/ShareTechMono.ttf') format("TrueType"); +} + body { margin: 0 auto; } .main { - font-family: Arial, Helvetica, sans-serif; + font-family: "Share Tech Mono", monospace; color: #424242; padding: 0; margin: 0; @@ -41,14 +46,15 @@ button { .flex .button { text-decoration: none; - background: none; + background-color: #424242; padding: 5px; border: 1px solid #424242; border-radius: 10px; + color: #fff; } .flex .button:visited { - color: #424242; + color: #fff; } .username { -- cgit v1.2.3