summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-21 23:02:49 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-21 23:02:49 -0500
commit24bdbece43fba8391b6fb5525fea202e40aa1be8 (patch)
tree1c702b00b9eda0c76fe214788dce40d05aa3f8fe
parent8ad2704795183b98fb233ae9a38a8d2f476c21c0 (diff)
re-arrange style.css
-rw-r--r--public/assets/style.css63
1 files 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;
-}