From 24bdbece43fba8391b6fb5525fea202e40aa1be8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 21 Dec 2013 23:02:49 -0500 Subject: re-arrange style.css --- public/assets/style.css | 63 ++++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 27 deletions(-) diff --git a/public/assets/style.css b/public/assets/style.css index 9545ab5..06d3026 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -1,3 +1,24 @@ +body { + max-width: 1024px; + margin-left: auto; + margin-right: auto; +} + +blockquote { + border-left: solid .4em #0000AA; + margin-left: .25em; + padding-left: 1.25em; + font-style: italic; +} + +footer { + text-align: center; + font-size: 70%; + color: #333333; +} + +/* code elements */ + kbd, code, samp, tt, pre { background: #DDDDFF; white-space: pre; @@ -12,39 +33,29 @@ pre { overflow: auto; } +/* table elements */ + table, td, th { border: solid 1px #AAAAAA; } -th { - background: #F5F5F5; -} - table { margin-left: auto; margin-right: auto; } -table > caption { - text-align: left; +th { + background: #F5F5F5; } -caption > h1 { - text-align: center; - font-size: 100%; +table > caption { + text-align: left; } -blockquote { - border-left: solid .4em #0000AA; - margin-left: .25em; - padding-left: 1.25em; - font-style: italic; -} +/* heading elements */ -footer { - text-align: center; - font-size: 70%; - color: #333333; +h1, h2, h3, h4, h5, h6 { + font-family: sans-serif; } h1 { @@ -52,19 +63,17 @@ h1 { background-color: #DDDDFF; } -h1, h2, h3, h4, h5, h6 { - font-family: sans-serif; +caption > h1 { /* don't make the headings in captions huge */ + font-size: 100%; } + +/* hyperlink elements */ + a { text-decoration: none; } + a:hover, a:focus { text-decoration: underline; } - -body { - max-width: 1024px; - margin-left: auto; - margin-right: auto; -} -- cgit v1.2.3