From c90c3345022484af8c6c5fff5eeab0c395d5185b Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Sun, 18 Jul 2021 22:12:41 +0200 Subject: [PATCH] Massive redesign of the website --- static/css/general.css | 39 +++++++++++++++++++++++++++++++++++++++ templates/base.html | 14 +++++++------- 2 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 static/css/general.css diff --git a/static/css/general.css b/static/css/general.css new file mode 100644 index 0000000..5189499 --- /dev/null +++ b/static/css/general.css @@ -0,0 +1,39 @@ +html { + font-family: monospace; +} + +header, footer { + text-align: center; + margin: 0; + border: 0; +} + +.globalnav{ + display: flex; + flex-direction: row; + border-collapse: collapse; +} + +.globalnav-element { + display: inline-block; + border-width: 1px; + border-style: solid; + flex-grow: 1; +} + +body.dark-theme a { + color: lightskyblue; +} + +body.dark-theme .globalnav-element { + border-color: black; +} + +body.light-theme .globalnav-element { + border-color: white; +} + +pre, code { + background-blend-mode: darken; + color: lightgreen; +} diff --git a/templates/base.html b/templates/base.html index 09cbb5c..08f7602 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,6 +3,8 @@ + + jotoho.de - A personal website {% block metadata %} {% endblock %} @@ -10,14 +12,12 @@
-

jotoho.de - My personal website

+

jotoho.de - My personal website

- - - - - -
BlogServers
+