summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-21 18:07:05 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-21 18:07:05 -0500
commitd685ba5c897f9f0b61790b0aae3fb0b4a3d9cc9b (patch)
tree5bf180f4031407eb018b4f0bd5add660b37f825b
parentd1c12e795e591866ed065ce98f4346cee311ba02 (diff)
fiddle with the appearance
-rw-r--r--public/assets/style.css53
-rw-r--r--template.erb2
2 files changed, 26 insertions, 29 deletions
diff --git a/public/assets/style.css b/public/assets/style.css
index 7fb8934..5386c86 100644
--- a/public/assets/style.css
+++ b/public/assets/style.css
@@ -1,72 +1,69 @@
kbd, code, samp, tt, pre {
- background: #DDDDFF;
- white-space: pre;
+ background: #DDDDFF;
+ white-space: pre;
}
var {
- color: #008800;
+ color: #008800;
}
pre {
- margin-left: 2em;
- overflow: auto;
+ margin-left: 2em;
+ overflow: auto;
}
table, td, th {
- border: solid 1px #AAAAAA;
+ border: solid 1px #AAAAAA;
}
th {
- background: #F5F5F5;
+ background: #F5F5F5;
}
table {
- margin-left: auto;
- margin-right: auto;
+ margin-left: auto;
+ margin-right: auto;
}
table > caption {
- text-align: left;
+ text-align: left;
}
caption > h1 {
- text-align: center;
- font-size: 100%;
+ text-align: center;
+ font-size: 100%;
}
blockquote {
- border-left: solid .4em #0000AA;
- margin-left: .25em;
- padding-left: 1.25em;
- font-style: italic;
+ border-left: solid .4em #0000AA;
+ margin-left: .25em;
+ padding-left: 1.25em;
+ font-style: italic;
}
footer {
- text-align: center;
- font-size: 70%;
- color: #333333;
+ text-align: center;
+ font-size: 70%;
+ color: #333333;
}
h1 {
- text-align: center;
+ text-align: center;
}
h1, h2, h3, h4, h5, h6 {
- font-family: sans-serif;
+ font-family: sans-serif;
}
a {
- text-decoration: none;
+ text-decoration: none;
}
a:hover, a:focus {
- text-decoration: underline;
+ text-decoration: underline;
}
-@media screen and (min-width: 480px) {
- body {
- width: 80%;
- min-width: 480px;
+body {
+ max-width: 1024px;
margin-left: auto;
margin-right: auto;
- }
}
diff --git a/template.erb b/template.erb
index c45f1d9..c63acf9 100644
--- a/template.erb
+++ b/template.erb
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
- <title><%= @title %></title>
+ <title><%= @title %> — Luke Shumaker</title>
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body>