]> git.za3k.com Git - za3k.git/commitdiff
Copy some of cheatsheet styles over to main site
authorZachary Vance <vanceza@gmail.com>
Wed, 17 Jun 2015 03:55:39 +0000 (20:55 -0700)
committerZachary Vance <vanceza@gmail.com>
Wed, 17 Jun 2015 03:55:39 +0000 (20:55 -0700)
index.css

index f6fbe8ebc77f08cd1ee0bf2f8f1420d82061a949..688cb7c6cf4e35a8bfbb9686702d4555fc97437e 100644 (file)
--- a/index.css
+++ b/index.css
@@ -1,4 +1,7 @@
 body {
+    column-width: 400px;
+    -webkit-column-width: 400px;
+    -moz-column-width: 400px;
 }
 
 .quote {
@@ -6,10 +9,27 @@ body {
     text-align: center;
 }
 
+body > .quote {
+    column-span: all;
+    -webkit-column-span: all;
+    -moz-column-span: all;
+    margin-bottom: 10px;
+}
+
 section {
+    width: 400px;
     display: inline-block;
-    vertical-align: top;
-    min-width: 30%;
-    max-width: 700px;
-    border: 1px;
+    border: 1px solid;
+    border-radius: 10px;
+    margin: 10px;
+    padding: 10px;
+}
+section > * {
+    -webkit-margin-before: 5px;
+    -webkit-margin-after: 5px;
 }
+
+section > h1 {
+    font-style: small-caps;
+}
+