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

View File

@ -1,27 +1,22 @@
{{ partial "header.html" . }}
<div id="posts">
{{ range first 10 (where .Data.Pages "Section" "posts") }}
<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>
<p>
{{ .Description | safeHTML }}
</p>
</article>
{{ range first 20 (where .Data.Pages "Section" "posts") }}
<article id="{{ .Slug }}">
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p>
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time>
&mdash;
{{ .Description | safeHTML }}</p>
</article>
{{ end }}
<h2>Older posts</h2>
<p>
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>
</li>
{{ range after 20 (where .Data.Pages "Section" "posts") }}
<article id="{{ .Slug }}">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p><time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time></p>
</article>
{{ end }}
</ul>
</div>
{{ partial "footer.html" . }}

View File

@ -1,7 +1,4 @@
</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>hljs.initHighlightingOnLoad();</script>

View File

@ -43,15 +43,31 @@
</head>
<body>
<header>
<a href="/"><h1>ariejan <span>de vroom</span></h1></a>
<nav>
<ul>
<li><a href="/">blog</a></li>
<li><a href="/recommendations">book recommendations</a></li>
<li><a href="/gpg">gpg</a></li>
<li><a href="/about">about</a></li>
</ul>
</nav>
</header>
<div id="content">
<div class="sidebar">
<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>
<ul>
<li><a href="/">blog</a></li>
<li><a href="/recommendations">book recommendations</a></li>
<li><a href="/gpg">gpg</a></li>
<li><a href="/about">about</a></li>
</ul>
</nav>
<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";
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,700');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
/* Rest */
/*** HTML Reset ***/
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}
/*** Colors ***/
html, body {
background: #E9E9E9;
font-family: 'Titillium Web', sans-serif;
font-size: 1em;
line-height: 1.6em;
background: #fff;
color: #545454;
}
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 {
font-family: 'Ubuntu Mono', monospace;
font-family: monaco,Consolas,Lucida Console,monospace;
margin-left: 1em;
font-size: 14px;
}
header,
#content,
footer {
max-width: 630px;
margin: 0 auto;
padding: 1em;
/*** Sidebar **/
.sidebar {
padding: 2rem 1rem;
}
#content {
background-color: #FFF;
border-top: 5px solid #3299BB;
border-radius: 4px;
.sidebar h1 {
font-size: 32px;
line-height: 1.5em;
}
.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 {
margin-bottom: 1.5em;
margin-bottom: 27px;
}
ul {
list-style-type: square;
margin-left: 2em;
margin-left: 27px;
}
ol {
list-style: decimal;
margin-left: 2em;
}
h1, h2, h3, h4, h5, h6 {
color: #3299BB;
font-weight: normal;
margin-bottom: 0.5em;
margin-left: 27px;
}
h1 {
font-size: 2.6em;
line-height: 1em;
font: bold 36px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h2 {
font-size: 1.6em;
font: bold 24px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h3 {
font-size: 1.4em;
font: bold 20px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h4 {
font-size: 1.2em;
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
h5 {
font-size: 1.2em;
font-weight: 700;
font: bold 18px/1.5 Tahoma,Verdana,Segoe,sans-serif;
}
a {
color: #3299BB;
text-decoration: none;
}
strong {
font-weight: 700;
font-weight: 900;
}
em {
font-style: italic;
}
pre > code {
margin-left: 1em;
}
blockquote {
display: block;
margin-left: 2em;
padding-left: 1em;
margin-left: 27px;
padding-left: 13px;
border-left: 3px solid #f00;
background-color: #f9f9f9;
}
hr {
border: none;
border-bottom: 1px solid #BCBCBC;
margin-bottom: 1em;
}
span.recommended {
@ -108,59 +194,7 @@ span.recommended {
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 {
color: #BCBCBC;
@ -175,6 +209,7 @@ footer {
#posts li h3 {
font-size: 1em;
}
*/
kbd {
padding: 2px 4px;
@ -196,6 +231,7 @@ kbd kbd {
article img {
max-width: 100%;
cursor: pointer;
}
article img.zoomed {
@ -210,6 +246,8 @@ article img.zoomed {
max-height: 90vh;
margin: auto;
border: 4px solid #000
}
img.img-right {
@ -218,13 +256,6 @@ img.img-right {
float: right;
}
img.avatar {
margin: 0 2em;
border-radius: 50%;
width: 100px;
float: right;
}
.about {
border: 1px dashed #BCBCBC;
padding: 2em;
@ -246,5 +277,3 @@ img.avatar {
overflow: hidden;
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