2017 theme update

This commit is contained in:
Ariejan de Vroom 2017-03-08 13:50:16 +01:00
parent 6e8a24b568
commit 557f01cd52
7 changed files with 180 additions and 146 deletions

View File

@ -3,8 +3,6 @@ type = "page"
title = "About Ariejan" title = "About Ariejan"
+++ +++
<img class="avatar" id="about-photo" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=150" />
Hey, and welcome to this about page! Hey, and welcome to this about page!
I'm a software engineer building rock solid back-end systems I'm a software engineer building rock solid back-end systems
@ -40,9 +38,8 @@ Pick your communication channel of choice:
## About this site ## About this site
I've been "blogging" since 1999, but lost my site a few times. This instance dates back I've been _blogging_ since 1996, but lost my site a few times. This instance dates back
to 2006. to 2006.
This site is static HTML, generated by [Hugo](http://gohugo.io) and continuously deployed using This site is static HTML, generated by [Hugo](http://gohugo.io).
[Gitlab CI](https://about.gitlab.com/).

View File

@ -1,27 +1,22 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<div id="posts"> <div id="posts">
{{ range first 10 (where .Data.Pages "Section" "posts") }} {{ range first 20 (where .Data.Pages "Section" "posts") }}
<article id="{{ .Slug }}"> <article id="{{ .Slug }}">
<h2><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></h2> <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p> <p>
{{ .Description | safeHTML }} <time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time>
</p> &mdash;
{{ .Description | safeHTML }}</p>
</article> </article>
{{ end }} {{ end }}
<h2>Older posts</h2> {{ range after 20 (where .Data.Pages "Section" "posts") }}
<p> <article id="{{ .Slug }}">
Below you will find older posts. Use <kbd><kbd>ctrl</kbd> + <kbd>f</kbd></kbd>
or <kbd><kbd></kbd> + <kbd>f</kbd></kbd> to search.
</p>
<ul>
{{ range after 10 (where .Data.Pages "Section" "posts") }}
<li id="{{ .Slug }}" class="headline">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
</li> <p><time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time></p>
</article>
{{ end }} {{ end }}
</ul>
</div> </div>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

View File

@ -1,7 +1,4 @@
</div><!-- content --> </div><!-- content -->
<footer class="footer">
Copyright © 19992017 {{ .Site.Copyright }}
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script> <script>hljs.initHighlightingOnLoad();</script>

View File

@ -43,8 +43,21 @@
</head> </head>
<body> <body>
<header> <div class="sidebar">
<a href="/"><h1>ariejan <span>de vroom</span></h1></a> <div class="container sidebar-sticky">
<img class="avatar" id="about-photo" src="https://0.gravatar.com/avatar/a9bfdd0cc75c857b669c37548b8bfdf9?s=150" />
<h1><a href="/">ariejan <span>de vroom</span></a></h1>
<div id='stack'>
|> Software Engineer
<br>
|> Father
<br>
|> Electronics Tinkerer
<br>
|> Audiophile and Music Lover
</div>
<nav> <nav>
<ul> <ul>
<li><a href="/">blog</a></li> <li><a href="/">blog</a></li>
@ -53,5 +66,8 @@
<li><a href="/about">about</a></li> <li><a href="/about">about</a></li>
</ul> </ul>
</nav> </nav>
</header>
<div id="content"> <p><small>Copyright © 1996{{.Now.Format "2006"}} {{ .Site.Copyright }}</small></p>
</div>
</div>
<div class="content">

View File

@ -1,104 +1,190 @@
@charset "utf-8"; @charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,700'); /*** HTML Reset ***/
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
/* 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:#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}
/* Highlight.js */ /*** Syntax Highlighting ***/
.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} .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}
/*** Colors ***/
html, body { html, body {
background: #E9E9E9; background: #fff;
font-family: 'Titillium Web', sans-serif; color: #545454;
font-size: 1em; }
line-height: 1.6em;
a {
color: #3581b8;
}
h1 a, h2 a, h3 a {
color: #1F2E4D; */
}
.sidebar {
color: rgba(255,255,255,0.66);
background:url('/img/bg.png') repeat;
box-shadow: 2px 0px 27px #666
}
.sidebar a {
color: #fff;
}
.sidebar h1 a {
color: rgba(255,255,255,0.66);
}
.sidebar h1 a span {
color: rgba(255,255,255,0.33);
}
/*** Layout ***/
html, body {
font-family: Tahoma,Verdana,Segoe,sans-serif;
font-size: 17px;
line-height: 27px;
} }
pre, code { pre, code {
font-family: 'Ubuntu Mono', monospace; font-family: monaco,Consolas,Lucida Console,monospace;
margin-left: 1em;
font-size: 14px;
} }
header, /*** Sidebar **/
#content, .sidebar {
footer { padding: 2rem 1rem;
max-width: 630px;
margin: 0 auto;
padding: 1em;
} }
#content { .sidebar h1 {
background-color: #FFF; font-size: 32px;
border-top: 5px solid #3299BB; line-height: 1.5em;
border-radius: 4px;
} }
.sidebar #stack {
font-family: monaco,Consolas,Lucida Console,monospace;
font-size: 13px;
line-height: 17px;
margin-bottom: 27px;
}
.sidebar img.avatar {
border-radius: 50%;
}
.sidebar nav ul {
margin-left: 0;
list-style: none;
}
.sidebar nav li {
display: block;
}
@media (min-width: 48em) {
.sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 18rem;
text-align: left;
}
}
@media (min-width: 48em) {
.sidebar-sticky {
position: absolute;
right: 1rem;
bottom: 1rem;
left: 1rem;
}
}
/*** Content ***/
.content {
padding-top: 4rem;
padding-bottom: 4rem;
margin-left: 1rem;
margin-right: 1rem;
}
@media (min-width: 48em) {
.content {
max-width: 42rem;
margin-left: 21rem;
margin-right: 1rem;
}
}
@media (min-width: 64em) {
.content {
margin-left: 22rem;
margin-right: 4rem;
}
}
/*** HTML Elements ***/
p, ul, ol, pre { p, ul, ol, pre {
margin-bottom: 1.5em; margin-bottom: 27px;
} }
ul { ul {
list-style-type: square; list-style-type: square;
margin-left: 2em; margin-left: 27px;
} }
ol { ol {
list-style: decimal; list-style: decimal;
margin-left: 2em; margin-left: 27px;
}
h1, h2, h3, h4, h5, h6 {
color: #3299BB;
font-weight: normal;
margin-bottom: 0.5em;
} }
h1 { h1 {
font-size: 2.6em; font: bold 36px/1.5 Tahoma,Verdana,Segoe,sans-serif;
line-height: 1em;
} }
h2 { h2 {
font-size: 1.6em; font: bold 24px/1.5 Tahoma,Verdana,Segoe,sans-serif;
} }
h3 { h3 {
font-size: 1.4em; font: bold 20px/1.5 Tahoma,Verdana,Segoe,sans-serif;
} }
h4 { h4 {
font-size: 1.2em; font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
} }
h5 { h5 {
font-size: 1.2em; font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
font-weight: 700;
} }
a { a {
color: #3299BB;
text-decoration: none; text-decoration: none;
} }
strong { strong {
font-weight: 700; font-weight: 900;
} }
em { em {
font-style: italic; font-style: italic;
} }
pre > code {
margin-left: 1em;
}
blockquote { blockquote {
display: block; display: block;
margin-left: 2em; margin-left: 27px;
padding-left: 1em; padding-left: 13px;
border-left: 3px solid #f00; border-left: 3px solid #f00;
background-color: #f9f9f9; }
hr {
border: none;
border-bottom: 1px solid #BCBCBC;
margin-bottom: 1em;
} }
span.recommended { span.recommended {
@ -108,59 +194,7 @@ span.recommended {
padding: 0 0.5em; padding: 0 0.5em;
} }
hr { /*
border: none;
border-bottom: 1px solid #BCBCBC;
margin-bottom: 1em;
}
header {
text-shadow: rgba(255,255,255,0.9) 0 1px 0;
overflow: hidden;
padding: 28px 0 18px 0;
}
header h1 {
color: #424242;
font-size: 2em;
text-align: center;
margin-bottom: 0.5em;
}
header h1 span {
color: #BCBCBC;
}
header nav {
font-size: 1.1em;
text-align: center;
}
header nav ul {
margin-bottom: 0;
}
header nav ul li {
display: inline-block;
}
header nav ul li::before {
content: " • ";
padding: 0 0.5em;
}
header nav ul li:first-child:before {
content: "";
padding: 0;
}
footer {
padding-bottom: 2em;
margin-bottom: 2em;
border-top: 1px solid #e9e9e9;
text-align: center;
color: #BCBCBC;
}
#posts h2 time { #posts h2 time {
color: #BCBCBC; color: #BCBCBC;
@ -175,6 +209,7 @@ footer {
#posts li h3 { #posts li h3 {
font-size: 1em; font-size: 1em;
} }
*/
kbd { kbd {
padding: 2px 4px; padding: 2px 4px;
@ -196,6 +231,7 @@ kbd kbd {
article img { article img {
max-width: 100%; max-width: 100%;
cursor: pointer;
} }
article img.zoomed { article img.zoomed {
@ -210,6 +246,8 @@ article img.zoomed {
max-height: 90vh; max-height: 90vh;
margin: auto; margin: auto;
border: 4px solid #000
} }
img.img-right { img.img-right {
@ -218,13 +256,6 @@ img.img-right {
float: right; float: right;
} }
img.avatar {
margin: 0 2em;
border-radius: 50%;
width: 100px;
float: right;
}
.about { .about {
border: 1px dashed #BCBCBC; border: 1px dashed #BCBCBC;
padding: 2em; padding: 2em;
@ -246,5 +277,3 @@ img.avatar {
overflow: hidden; overflow: hidden;
margin-bottom: 30px; margin-bottom: 30px;
} }
*/

BIN
static/img/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
static/img/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B