« get me outta code hell

scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--style.css25
1 files changed, 21 insertions, 4 deletions
diff --git a/style.css b/style.css
index 08917bf..953c17e 100644
--- a/style.css
+++ b/style.css
@@ -1,13 +1,30 @@
+/* Adapted/stolen from https://rosenzweig.io/style.css :) */
+
 body {
-  max-width: 20cm;
+  font-family: "Cantarell", sans-serif;
+  max-width: 40em;
   margin-left: auto;
   margin-right: auto;
-  padding: 0 8px;
+  padding: 0em 1em 1em 1em;
+  line-height: 1.5;
 }
 
 li {
-  margin-top: 4px;
-  margin-bottom: 4px;
+  padding-top: 0.3em;
+  padding-bottom: 0.3em;
+}
+
+header, h1 {
+  text-align: center;
+}
+
+h2 + ul {
+  /* Evil hack - this makes the list appear slightly closer to the heading. */
+  margin-top: -0.75em;
+}
+
+a {
+  text-decoration: none;
 }
 
 .thumb-list {