From 73035c5eb56cc1c6701d9963a64e9bff3d0431b1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 22 Dec 2013 00:58:37 -0500 Subject: touch up style.css --- public/assets/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3