From 3d172e4037b6507107cae91327de00cbaed7d499 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 26 Apr 2014 12:36:53 -0400 Subject: Touch up the styles --- public/assets/style.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'public/assets') diff --git a/public/assets/style.css b/public/assets/style.css index 59c1746..5d919b1 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -1,7 +1,12 @@ +/* -*- css-indent-offset: 8; tab-width: 8 -*- */ + body { + width: 98%; max-width: 1024px; margin-left: auto; margin-right: auto; + + font-family: sans-serif; } blockquote { @@ -17,7 +22,7 @@ footer { color: #333333; } -/* little hack to make nested lists not take up extra space */ +/* little hack to make nested lists not take up extra vertical space */ li > p:first-child { margin-top: 0; } li p + ul { margin-top: -1em; } @@ -27,6 +32,11 @@ kbd, code, samp, tt, pre { background: #DDDDFF; white-space: pre; } +@media print { + kbd, code, samp, tt, pre { + white-space: pre-wrap; + } +} var { color: #008800; @@ -34,12 +44,21 @@ var { pre { margin: auto 2em; + padding: .5em; overflow: auto; + border: solid 1px #AAAAAA; +} + +pre hr { + height: 0px; + border: none; + border-top: solid 1px #AAAAAA; } /* table elements */ table, td, th { + border-collapse: collapse; border: solid 1px #AAAAAA; } @@ -48,6 +67,10 @@ table { margin-right: auto; } +td, th { + padding-left: .5em; + padding-right: .5em; +} th { background: #F5F5F5; } -- cgit v1.2.3