summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/style.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/public/assets/style.css b/public/assets/style.css
index 7c46c8c..59c1746 100644
--- a/public/assets/style.css
+++ b/public/assets/style.css
@@ -17,6 +17,10 @@ footer {
color: #333333;
}
+/* little hack to make nested lists not take up extra space */
+li > p:first-child { margin-top: 0; }
+li p + ul { margin-top: -1em; }
+
/* code elements */
kbd, code, samp, tt, pre {
@@ -52,6 +56,10 @@ table > caption {
text-align: left;
}
+table pre {
+ margin: auto;
+}
+
/* heading elements */
h1, h2, h3, h4, h5, h6 {
@@ -67,7 +75,6 @@ caption > h1 { /* don't make the headings in captions huge */
font-size: 100%;
}
-
/* hyperlink elements */
a {