diff --git a/less/core.less b/less/core.less index f4332a9..23262ec 100644 --- a/less/core.less +++ b/less/core.less @@ -86,6 +86,7 @@ body { } header { + padding: 1em 1rem; nav { span, a { &.pinned { @@ -102,6 +103,13 @@ body { .owner-visible { display: none; } + time.dt-published { + display: block; + &.subtle { + color: #666; + margin-bottom: 0.5em; + } + } } &#post, &#collection, &#subpage { diff --git a/less/post-temp.less b/less/post-temp.less index 3ec682d..a1ee308 100644 --- a/less/post-temp.less +++ b/less/post-temp.less @@ -59,7 +59,7 @@ body#post article, pre, .hljs { font-size: 1.5em; display: block; margin-top: 0; - margin-bottom: 1em; + margin-bottom: 0.5em; } .hljs { diff --git a/templates/chorus-collection-post.tmpl b/templates/chorus-collection-post.tmpl index 84f4350..f740615 100644 --- a/templates/chorus-collection-post.tmpl +++ b/templates/chorus-collection-post.tmpl @@ -30,26 +30,6 @@ {{range .Images}}{{else}}{{end}} {{if .Collection.StyleSheet}}{{end}} - - {{if .Collection.RenderMathJax}} {{template "mathjax" . }} @@ -68,7 +48,7 @@ body#post article h2#title{
{{if .IsScheduled}}

Scheduled

{{end}} {{if .Title.String}}

{{.FormattedDisplayTitle}}

{{end}} - {{if .ShowDates}}{{end}} + {{if .ShowDates}}{{end}}
{{.HTMLContent}}
{{ if .Collection.ShowFooterBranding }} diff --git a/templates/collection-post.tmpl b/templates/collection-post.tmpl index ae0add1..920b275 100644 --- a/templates/collection-post.tmpl +++ b/templates/collection-post.tmpl @@ -32,22 +32,6 @@ {{ end }} {{if .Collection.StyleSheet}}{{end}} - {{/*below css duplicated in part in chorus-collection-post.tmpl*/}} - {{if .Collection.RenderMathJax}} {{template "mathjax" . }} @@ -77,7 +61,7 @@ body#post article h2#title{
{{if .IsScheduled}}

Scheduled

{{end}} {{if .Title.String}}

{{.FormattedDisplayTitle}}

{{end}} - {{if .ShowDates}}{{end}} + {{if .ShowDates}}{{end}}
{{.HTMLContent}}