diff --git a/assets/css/main.css b/assets/css/main.css deleted file mode 100644 index 166ade9..0000000 --- a/assets/css/main.css +++ /dev/null @@ -1,22 +0,0 @@ -body { - color: #222; - font-family: sans-serif; - line-height: 1.5; - margin: 1rem; - max-width: 768px; -} - -header { - border-bottom: 1px solid #222; - margin-bottom: 1rem; -} - -footer { - border-top: 1px solid #222; - margin-top: 1rem; -} - -a { - color: #00e; - text-decoration: none; -} diff --git a/assets/css/styles.css b/assets/css/styles.css index 15d309e..a9979c9 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -7,30 +7,6 @@ body { margin: auto; } -.date { - font-style: italic; -} - -img { - max-width: 100%; - max-height: 500px; -} - -.center-img img { - display: block; - margin-left: auto; - margin-right: auto; -} - -figcaption { - text-align: center; - font-style: italic; -} - -h2 { - border-bottom: 1px solid #000; -} - header { display: flex; align-items: center; @@ -57,3 +33,36 @@ nav li { nav li:hover { background-color: #eee; } + +main { + margin-top: 50px; +} + +h1 { + margin-bottom: 5px; +} + +.date { + font-style: italic; +} + +img { + max-width: 100%; + max-height: 500px; +} + +.center-img img { + display: block; + margin-left: auto; + margin-right: auto; +} + +figcaption { + text-align: center; + font-style: italic; +} + +h2 { + border-bottom: 1px solid #000; +} + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 73f09a1..9dd52dc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format ":date_long" }} - + Published on {{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}