« get me outta code hell

Steal rosenzweig.io's stylesheet - scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-11-20 00:15:01 -0400
committerFlorrie <towerofnix@gmail.com>2018-11-20 00:15:04 -0400
commit9b6f0a8f862fe5535f25f0a43c75e582ea55105f (patch)
treece0cfaa2d0028341587d74ed9d49d911ea2c8866
parenta51366e6048426203bd4777ce352e1af5ff24a98 (diff)
Steal rosenzweig.io's stylesheet
No, wait, I was *offered* it!
-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 {