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 Binary files /dev/null and b/themes/oni/img/background.png differ