From 586c7ef5712724e6b9dbdf9a89bad2f694aa7545 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 20 Mar 2022 20:07:58 +0100 Subject: divoc: server output should follow styleguide --- static/Genos-VariableFont_wght.ttf | Bin 0 -> 133948 bytes static/Ubuntu-R.ttf | Bin 0 -> 353824 bytes static/style.css | 65 +++++++++++++++++++++++++++++++++++-- 3 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 static/Genos-VariableFont_wght.ttf create mode 100644 static/Ubuntu-R.ttf diff --git a/static/Genos-VariableFont_wght.ttf b/static/Genos-VariableFont_wght.ttf new file mode 100644 index 0000000..0b96efd Binary files /dev/null and b/static/Genos-VariableFont_wght.ttf differ diff --git a/static/Ubuntu-R.ttf b/static/Ubuntu-R.ttf new file mode 100644 index 0000000..d748728 Binary files /dev/null and b/static/Ubuntu-R.ttf differ diff --git a/static/style.css b/static/style.css index 8accaf5..6e5ec50 100644 --- a/static/style.css +++ b/static/style.css @@ -1,7 +1,18 @@ +@font-face { + font-family: Ubuntu; + src: url(/Ubuntu-R.ttf); +} + +@font-face { + font-family: Genos-divoc; + src: url(/Genos-VariableFont_wght.ttf); +} + body { - background-color: olivedrab + background-color: #57c0a2; + font-family: Ubuntu, sans-serif; } .main-content { @@ -11,7 +22,7 @@ body { margin-top: 10em; margin-bottom: 5em; max-width: 50em; - background-color: white; + background-color: #ffebd8; } a { @@ -22,3 +33,53 @@ a { width: 100%; height: 15em; } + +h1,h2,h3 { + font-family: Genos-divoc, sans-serif; + font-weight: 600; +} +h1 { + font-size: 5rem; +} +h2 { + font-size: 3.7rem; +} +h3 { + font-size: 2rem; +} +h4{ + color: #9945c5; +} + +.badge-info { + background-color: #62c1a6; + color: black; +} + +.badge-warning { + background-color: #fdbe4b; + color: black; +} + +.badge-danger { + background-color: #ea4a72; + color: black; +} + +.text-muted { + color: #222 !important; +} + +@media (prefers-color-scheme: dark) { + body { + background-color: #0e0e0f; + } + .main-content { + background-color: #241b2b; + color: #ffebd8; + } + + .text-muted { + color: #a74db7 !important; + } +} -- cgit v1.2.3