commit 4ba2ea1c9807a113f18b817712e0f9a71b720a9e
parent a760566c2be7b7443ccb12ff77947e7525d858a3
Author: Michael Neuper <michael@michaelneuper.com>
Date: Sun, 9 Jul 2023 16:17:17 +0200
Update colorscheme and font
Diffstat:
2 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/static/css/colors.css b/static/css/colors.css
@@ -13,4 +13,6 @@
--cyan: #56b6c2;
--pink: #c678dd;
--red: #e06c75;
-}
-\ No newline at end of file
+ --green: #98c379;
+ --yellow: #e5c07b;
+}
diff --git a/static/css/theme-override.css b/static/css/theme-override.css
@@ -1,6 +1,7 @@
/* Imports*/
@import url("colors.css");
@import url("https://fonts.googleapis.com/css?family=Fira+Code");
+@import url("https://fonts.googleapis.com/css?family=Ubuntu+Mono");
/* Dark mode */
@media (prefers-color-scheme: dark) {
@@ -110,6 +111,7 @@
}
body {
+ /* font-family: 'Ubuntu Mono', sans-serif; */
max-width: 1000px;
margin: auto;
padding: 0.2em;
@@ -120,13 +122,29 @@ h1 {
line-height: 1.5em;
}
+h1 {
+ color: #89aaeb;
+}
+
+h2 {
+ color: #c3e88d;
+}
+
+h3 {
+ color: #c792ea;
+}
+
+h4 {
+ color: #c3e88d;
+}
+
h2#date {
line-height: 0.5em;
opacity: 0.7;
}
.date {
- font-family: 'Fira Code', monospace;
+ font-family: 'Ubuntu Mono', monospace;
opacity: 0.7;
}
@@ -219,14 +237,15 @@ header .current a {
/* Code Boxes */
pre {
- border: 2px solid var(--cyan);
- padding: 1em;
- overflow-x: auto;
- border-radius: 8px;
+ /* border: 0px solid var(--cyan); */
+ border: 0px;
+ /* padding: 1em; */
+ /* overflow-x: auto; */
+ border-radius: 5px;
}
code {
- font-family: 'Fira Code', monospace;
+ font-family: 'Ubuntu Mono', monospace;
}
pre code {