summary refs log tree commit diff stats
path: root/src/style.css
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-04 19:52:34 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-04 19:52:34 +0100
commit81c60ac0c5a16a3158067064926141a7f3bf9699 (patch)
treeda626bd9515b4b0864b1ec465e8ffb91a4900180 /src/style.css
parentbuild(flake): Update (diff)
downloadb-peetz.de-81c60ac0c5a16a3158067064926141a7f3bf9699.zip
feat(src): Improve index.html and add a style.css
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
new file mode 100644
index 0000000..c245d20
--- /dev/null
+++ b/src/style.css
@@ -0,0 +1,50 @@
+a:link, a:visited {
+  color: #005386;
+}
+
+ul a {
+  text-decoration: none;
+}
+
+body {
+  margin:40px auto;
+  max-width:650px;
+  line-height:1.6;
+  font-size:18px;
+  padding:0 10px
+}
+
+img {
+  max-width:100%;
+  display: block;
+  margin: 0 auto;
+}
+
+@media (prefers-color-scheme: dark) {
+  body {
+    color: #ffffff;
+    background: #212121;
+    margin:40px auto;
+    max-width:650px;
+    line-height:1.6;
+    font-size:18px;
+    padding:0 10px
+  }
+
+  h1, h2, h3 {
+    line-height:1.2
+  }
+
+  a:link, a:visited {
+    color: #58a6ff;
+  }
+  
+  ul a {
+    text-decoration: none;
+  }
+
+  ul a:visited {
+    text-decoration: none;
+    color: #8e96f0;
+  }
+}