- {{ if eq .Section "posts" }} -

- -

- {{ end }} -

{{ .Title }}

+

+ {{ if eq .Section "posts" }} + + {{ end }} +

+
{{ .Content }}
diff --git a/layouts/index.html b/layouts/index.html index 210bdc4..a73943c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,22 +1,27 @@ {{ partial "header.html" . }}
+

Recent blog entries

+ {{ range first 10 (where .Data.Pages "Section" "posts") }}
-

- -

{{ .Title }}

-

{{ .Description | safeHTML }}

+

+ + + + – + {{ .Description | safeHTML }} +

{{ end }} {{ range after 10 (where .Data.Pages "Section" "posts") }}
-

- -

{{ .Title }}

+

+ +

{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5e94dae..f85d31c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@ + +
- Copyright 1999 - 2016 {{ .Site.Copyright }} - – - Powered by Hugo + Copyright © 1999–2016 {{ .Site.Copyright }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3fc62f0..ce45e83 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -57,3 +57,5 @@ + +
diff --git a/static/css/outerspace.css b/static/css/outerspace.css index fe99f97..ef39169 100644 --- a/static/css/outerspace.css +++ b/static/css/outerspace.css @@ -1,21 +1,30 @@ @charset "utf-8"; +@import 'https://fonts.googleapis.com/css?family=Titillium+Web:400,700'; + /* Rest */ -html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none} +html{color:#000;background:#E9E9E9}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none} /* Highlight.js */ .hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;-webkit-text-size-adjust:none}.hljs,.hljs-subst,.hljs-tag .hljs-title,.nginx .hljs-title{color:#000}.apache .hljs-cbracket,.apache .hljs-tag,.asciidoc .hljs-header,.bash .hljs-variable,.coffeescript .hljs-attribute,.django .hljs-variable,.erlang_repl .hljs-function_or_atom,.haml .hljs-symbol,.hljs-addition,.hljs-constant,.hljs-flow,.hljs-parent,.hljs-pragma,.hljs-preprocessor,.hljs-rules .hljs-value,.hljs-stream,.hljs-string,.hljs-tag .hljs-value,.hljs-template_tag,.hljs-title,.markdown .hljs-header,.ruby .hljs-symbol,.ruby .hljs-symbol .hljs-string,.smalltalk .hljs-class,.tex .hljs-command,.tex .hljs-special{color:#756bb1}.asciidoc .hljs-blockquote,.diff .hljs-header,.hljs-annotation,.hljs-chunk,.hljs-comment,.markdown .hljs-blockquote,.smartquote{color:#636363}.asciidoc .hljs-bullet,.asciidoc .hljs-link_url,.go .hljs-constant,.hljs-change,.hljs-date,.hljs-hexcolor,.hljs-literal,.hljs-number,.hljs-regexp,.lasso .hljs-variable,.makefile .hljs-variable,.markdown .hljs-bullet,.markdown .hljs-link_url,.smalltalk .hljs-char,.smalltalk .hljs-symbol{color:#31a354}.apache .hljs-sqbracket,.asciidoc .hljs-attribute,.asciidoc .hljs-link_label,.clojure .hljs-attribute,.coffeescript .hljs-property,.erlang_repl .hljs-reserved,.haml .hljs-bullet,.hljs-array,.hljs-attr_selector,.hljs-decorator,.hljs-deletion,.hljs-doctype,.hljs-envvar,.hljs-filter .hljs-argument,.hljs-important,.hljs-javadoc,.hljs-label,.hljs-list .hljs-built_in,.hljs-localvars,.hljs-phony,.hljs-pi,.hljs-prompt,.hljs-pseudo,.hljs-shebang,.lasso .hljs-attribute,.markdown .hljs-link_label,.nginx .hljs-built_in,.ruby .hljs-string,.tex .hljs-formula,.vhdl .hljs-attribute{color:#88f}.apache .hljs-tag,.asciidoc .hljs-strong,.bash .hljs-variable,.css .hljs-tag,.hljs-built_in,.hljs-dartdoc,.hljs-id,.hljs-javadoctag,.hljs-keyword,.hljs-phpdoc,.hljs-request,.hljs-status,.hljs-title,.hljs-type,.hljs-typename,.hljs-winutils,.hljs-yardoctag,.markdown .hljs-strong,.smalltalk .hljs-class,.tex .hljs-command{color:#3182bd}.asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic}.nginx .hljs-built_in{font-weight:400}.coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .css,.xml .hljs-cdata,.xml .javascript,.xml .vbscript{opacity:.5}.css .hljs-attribute,.html .hljs-attribute{color:#e6550d}.css .hljs-class,.html .hljs-tag,.html .hljs-title{color:#3182bd} body { - background: #FFFFFF; - font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; - font-size: 1em; - line-height: 1.6em; + background: #E9E9E9; + font-family: 'Titillium', sans-serif; + font-size: 0.92em; + line-height: 1.5em; } .container { - width: 96%; + max-width: 630px; margin: 0 auto; + padding: 1em; +} + +.container#main-content { + background-color: #FFF; + border-top: 5px solid #3299BB; + border-radius: 4px; } p, ul, ol, pre { @@ -23,9 +32,7 @@ p, ul, ol, pre { } h1, h2, h3, h4, h5, h6 { - font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; - font-weight: 700; - color: #333; + color: #BCBCBC; } h2 { @@ -34,13 +41,12 @@ h2 { } a { - color: #ff2c00; + color: #3299BB; text-decoration: none; } strong { font-weight: 700; - background-color: #f9ffbf; } em { @@ -60,23 +66,24 @@ blockquote { } header { - padding-bottom: 2em; - margin-bottom: 2em; - font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; - border-bottom: 1px solid #e9e9e9; + text-shadow: rgba(255,255,255,0.9) 0 1px 0; + overflow: hidden; + padding: 28px 0 23px 0; } header h1 { - margin-top: 1em; - margin-bottom: 0.5em; + float: left; + display: inline-block; + color: #424242; font-size: 2em; } header h1 span { - color: #696969; + color: #BCBCBC; } header nav { + float: right; font-size: 1.1em; } @@ -99,17 +106,36 @@ header nav ul.nav li:first-child:before { } footer { - padding-top: 2em; padding-bottom: 2em; - margin-top: 2em; margin-bottom: 2em; border-top: 1px solid #e9e9e9; + text-align: center; + color: #BCBCBC; +} + +h1.front-heading { + font-size: 2em; + line-height: 1em; + padding-top: 1em; + margin-bottom: 1em; + text-align: center; + color: #424242; +} + +.single-post h1, +.single-post h2, +.single-post h3, +.single-post h4, +.single-post h5, +.single-post h6 { + color: #424242; } .single-post h1 { font-size: 2em; line-height: 1em; - padding-bottom: 0.5em; + padding-top: 1em; + text-align: center; } .single-post img { @@ -139,7 +165,8 @@ footer { } .posts .teaser-post { - margin-bottom: 2em; + margin-bottom: 1em; + padding-bottom: 1em; } .posts .teaser-post h2 { @@ -152,7 +179,7 @@ footer { .posts .teaser-post h2 a, .posts .teaser-post h3 a { - color: #191919; + color: #424242; } .posts .teaser-post .date { @@ -161,7 +188,8 @@ footer { /* .posts .teaser-post .meta { */ .single-post .meta { - color: #999; + color: #BCBCBC; + text-align: center; } .posts .teaser-post p { @@ -169,11 +197,11 @@ footer { } .posts .teaser-post .meta { - color: #999; + color: #BCBCBC; } .posts .teaser-post .meta a { - color: #f66; + color: #BCBCBC; } .posts .teaser-post .separator { @@ -184,35 +212,25 @@ footer { } img.avatar { + margin: 0 2em; border-radius: 50%; width: 100px; + float: right; } .about { - background-color: #f9f9f9; + border: 1px dashed #BCBCBC; padding: 2em; - margin-bottom: 2em; } .about img.avatar { width: 6.4em; - float: left; - margin: 2.2em 2em 2em 0; + float: right; + margin: 0 2em; border: 5px solid #fff; border-radius: 50%; } -.about p, -.about ul, -.about h4 { - margin-left: 9em; -} - -.about h4 { - text-align: center; - padding-bottom: 1em; -} - ul#social { list-style: none; text-align: center; @@ -250,6 +268,18 @@ ul#social li a { .about img.avatar { display: none; } + + .header h1 { + float: none; + display: block; + text-align: center; + } + + .header nav { + float: none; + padding-top: 0.5em; + text-align: center; + } .about p, .about ul,