From 8531e18b02f5a03c0d25a307aaa62ea82d253d3f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 15 Feb 2016 01:22:42 +0100 Subject: Update styles --- themes/oni/css/style.css | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'themes/oni/css/style.css') 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; +} -- cgit v1.2.3-54-g00ecf