summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-04-25 16:51:00 -0600
committerDrew DeVault <sir@cmpwn.com>2015-04-25 16:51:00 -0600
commitde30c94dcbf430873945471a541d8d3f3560eda0 (patch)
tree192afb2efde6563ffc231a07712fb23840d4421e /css
parenta6409daa1f5b0148f93236671b6679bf2fa4a314 (diff)
Redesign blog
Diffstat (limited to 'css')
-rw-r--r--css/base.css39
-rw-r--r--css/syntax.css1
2 files changed, 36 insertions, 4 deletions
diff --git a/css/base.css b/css/base.css
index b26c10f..2feb43b 100644
--- a/css/base.css
+++ b/css/base.css
@@ -5,8 +5,16 @@ html, body {
body {
text-align: justify;
- width: 800px;
- margin: 0 auto;
+ background: #F6F7F9;
+}
+
+a {
+ color: #444;
+ text-decoration: underline;
+}
+
+a:hover, a:focus {
+ color: #555;
}
h1 {
@@ -18,7 +26,7 @@ h1 small {
}
pre {
- margin-left: 50px;
+ margin: 10px 50px;
}
.footnotes::before {
@@ -42,3 +50,28 @@ blockquote {
margin-left: 0;
border-left: 4px #aaa solid;
}
+
+.sidebar {
+ padding-top: 20px;
+}
+
+.sidebar, .sidebar a {
+ color: #CCC;
+ transition: color 0.5s ease;
+}
+
+.sidebar:hover, .sidebar:hover a {
+ color: #444;
+}
+
+.sidebar a {
+ text-decoration: underline;
+}
+
+.sidebar h3 {
+ margin-top: 40px;
+}
+
+.sidebar h4, h5 {
+ margin: 5px 0;
+}
diff --git a/css/syntax.css b/css/syntax.css
index 201f800..2363cd7 100644
--- a/css/syntax.css
+++ b/css/syntax.css
@@ -1,4 +1,3 @@
-.highlight { background: #ffffff; }
.highlight code .c { color: #999988; font-style: italic } /* Comment */
.highlight code .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight code .k { font-weight: bold } /* Keyword */