add content, adjust styles

This commit is contained in:
Joshua Seigler 2017-02-11 22:47:32 -05:00
parent ce68ce48ee
commit a5a06c1028
7 changed files with 37 additions and 13 deletions

View file

@ -1,6 +1,6 @@
+++
date = "2017-02-11T16:15:16-05:00"
title = "First impressions of Hugo"
+++
It's pretty great!
---
date: "2017-02-11T16:15:16-05:00"
title: "Site redesign!"
---
I rebuilt the site with a from-scratch Hugo theme. Styles are assembled from LESS with a Gulp task runner.
Afterwards, static assets are revision-hashed, and markup is reformatted.

View file

View file

@ -1,6 +1,6 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<h2>{{ .Title }}</h2>
{{ .Content }}
</article>
{{ end }}

View file

@ -14,6 +14,7 @@ html {
overflow: hidden;
color: white;
text-shadow: 0 0 0.1em rgba(255, 255, 255, 0.5);
line-height: 1.2;
}
a {
color: inherit;
@ -37,8 +38,16 @@ h4 {
font-size: inherit;
font-weight: bold;
border-bottom: 0.1em dotted;
margin-bottom: -0.1em;
margin-top: 1em;
}
h1 {
text-align: center;
}
h3 {
border-bottom: none;
margin-bottom: 0;
}
header {
background-color: white;
color: #20282a;
@ -46,8 +55,11 @@ header {
header nav a {
text-decoration: none;
}
header nav a:hover {
text-decoration: underline;
header nav a:hover,
header nav a:focus {
color: white;
background-color: #20282a;
outline: none;
}
header nav a:before {
content: '[';

File diff suppressed because one or more lines are too long

View file

@ -16,6 +16,7 @@ html {
overflow: hidden;
color: @color-text;
text-shadow: 0 0 0.1em fade(@color-text, 50%);
line-height: 1.2;
}
a {
color: inherit;
@ -32,15 +33,26 @@ h1, h2, h3, h4 {
font-size: inherit;
font-weight: bold;
border-bottom: 0.1em dotted;
margin-bottom: -0.1em;
margin-top: 1em;
}
h1 {
text-align: center;
}
h3 {
border-bottom: none;
margin-bottom: 0;
}
header {
background-color: @color-text;
color: #20282a;
nav a {
text-decoration: none;
&:hover {
text-decoration: underline;
&:hover, &:focus {
color: @color-text;
background-color: #20282a;
outline: none;
}
&:before {
content: '[';