summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-03-20 20:07:58 +0100
committerstuebinm2022-03-20 20:17:34 +0100
commit586c7ef5712724e6b9dbdf9a89bad2f694aa7545 (patch)
tree4a6a5128f4e1c14cbfea500552dfd5f54a356ee9
parent744e19db1eeed2dfe523bc4db81968852e84f397 (diff)
divoc: server output should follow styleguide
-rw-r--r--static/Genos-VariableFont_wght.ttfbin0 -> 133948 bytes
-rw-r--r--static/Ubuntu-R.ttfbin0 -> 353824 bytes
-rw-r--r--static/style.css65
3 files changed, 63 insertions, 2 deletions
diff --git a/static/Genos-VariableFont_wght.ttf b/static/Genos-VariableFont_wght.ttf
new file mode 100644
index 0000000..0b96efd
--- /dev/null
+++ b/static/Genos-VariableFont_wght.ttf
Binary files differ
diff --git a/static/Ubuntu-R.ttf b/static/Ubuntu-R.ttf
new file mode 100644
index 0000000..d748728
--- /dev/null
+++ b/static/Ubuntu-R.ttf
Binary files 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;
+ }
+}