summary refs log tree commit diff
path: root/style.css
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-02-20 03:56:15 +0300
committerAzat Bahawi <azat@bahawi.net>2022-02-20 03:56:15 +0300
commit1863997458459dd5722bf428b9cbdb4454feac2b (patch)
tree6be6da74c151fa44c90f26e43b8ebc009a12f125 /style.css
parentfix: remove social media paragraph (diff)
feat: new design
Also I've decided to update colours and add a small "Peeps" page to highlight
cool people I know or follow.
Diffstat (limited to 'style.css')
-rw-r--r--style.css52
1 files changed, 47 insertions, 5 deletions
diff --git a/style.css b/style.css
index 93d8a62..2917404 100644
--- a/style.css
+++ b/style.css
@@ -1,14 +1,25 @@
+:root {
+    --cblack: #161719;
+    --cblue: #81a2be;
+    --ccyan: #8abeb7;
+    --cgreen: #b5bd68;
+    --cmagenta: #b294bb;
+    --cred: #cc6666;
+    --cwhite: #c5c8c6;
+    --cyellow: #f0c674;
+}
+
 @media (prefers-color-scheme: light) {
     :root {
-        --background: white;
-        --foreground: black;
+        --background: var(--cwhite);
+        --foreground: var(--cblack);
     }
 }
 
 @media (prefers-color-scheme: dark) {
     :root {
-        --background: black;
-        --foreground: white;
+        --background: var(--cblack);
+        --foreground: var(--cwhite);
     }
 }
 
@@ -16,5 +27,36 @@ body {
     background-color: var(--background);
     color: var(--foreground);
     font-family: monospace;
-    font-size: 14px;
+    font-size: 1.3em;
+    margin-top: 10em;
+    margin-left: auto;
+    margin-right: auto;
+    display: table;
+}
+
+a {
+    color: var(--cblue)
+}
+
+a:visited {
+    color: var(--cmagenta)
+}
+
+dt {
+    font-style: italic;
+}
+
+ul {
+    font-style: italic;
+    display: table;
+    margin-left: auto;
+    margin-right: auto;
+}
+
+footer {
+    margin-top: 10em;
+}
+
+.center {
+    text-align: center;
 }

Consider giving Nix/NixOS a try! <3