summaryrefslogtreecommitdiff
path: root/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
new file mode 100644
index 0000000..4b8201f
--- /dev/null
+++ b/src/style.css
@@ -0,0 +1,30 @@
+body {
+ margin: 0px auto;
+ max-width: 750px;
+ padding: 1%;
+}
+
+pre, code {
+ background-color: #ddd;
+ border-radius: 5px;
+ padding: 5px;
+}
+
+@media(prefers-color-scheme: dark) {
+ :root {
+ color: white;
+ background-color: black;
+ }
+
+ a {
+ color: hsl(211, 100%, 60%);
+ }
+
+ a:visited {
+ color: hsl(242, 100%, 80%);
+ }
+
+ pre, code {
+ background-color: #222;
+ }
+}