summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Willemse2016-02-15 01:22:42 +0100
committerTom Willemse2016-02-15 01:22:42 +0100
commit8531e18b02f5a03c0d25a307aaa62ea82d253d3f (patch)
tree0f2b33ac3a54c8b4d43e410f85866ab13843b7ed
parent9540b3cf6b0cd6f7ce1eba9fb288982a5a56a1cd (diff)
downloadblog-8531e18b02f5a03c0d25a307aaa62ea82d253d3f.tar.gz
blog-8531e18b02f5a03c0d25a307aaa62ea82d253d3f.zip
Update styles
-rw-r--r--themes/oni/css/style.css23
-rw-r--r--themes/oni/img/background.pngbin0 -> 693387 bytes
2 files changed, 16 insertions, 7 deletions
diff --git a/themes/oni/css/style.css b/themes/oni/css/style.css
index 871b299..5ef04b3 100644
--- a/themes/oni/css/style.css
+++ b/themes/oni/css/style.css
@@ -1,8 +1,12 @@
* { margin: 0; padding: 0; border: 0; }
body {
- background-color: #ffffff;
- color: #111111;
+ background-attachment: fixed;
+ background-color: #111111;
+ background-image: url('../img/background.png');
+ background-position: center;
+ background-size: cover;
+ color: #ffffff;
font-family: 'open_sansregular', sans-serif;
font-size: 15px;
line-height: 1.2em;
@@ -10,12 +14,12 @@ body {
}
pre {
- margin: 20px 0 20px -2em;
background-color: #111111;
- color: #bfbfbf;
- padding: 5px;
border-radius: 4px;
+ color: #bfbfbf;
+ margin: 20px 0;
overflow: auto;
+ padding: 5px;
}
a { text-decoration: none; color: #0074d9; }
@@ -41,7 +45,6 @@ article h3 { font-size: 1.3em; }
article h4 { font-size: 1.2em; }
article h5 { font-size: 1.1em; }
article h6 { font-size: 1.0em; }
-article .article-content { margin-left: 2em; }
article h1 small {
display: block;
@@ -102,4 +105,10 @@ pre.src-python:before { content: 'Python'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-ruby:before { content: 'Ruby'; }
-#text-footnotes { float: left; clear: left; padding-right: 0.5em; }
+.footnum { float: left; clear: left; padding-right: 0.5em; }
+
+#content {
+ background-color: #ffffff;
+ color: #111111;
+ padding: 2em;
+}
diff --git a/themes/oni/img/background.png b/themes/oni/img/background.png
new file mode 100644
index 0000000..49ad896
--- /dev/null
+++ b/themes/oni/img/background.png
Binary files differ