From 842856bef956455ac53ca017522edf2c9843179c Mon Sep 17 00:00:00 2001 From: ch0ccyra1n Date: Wed, 20 Jul 2022 14:57:54 -0700 Subject: [PATCH] temporary styling --- layouts/partials/{meta.html => metadata.html} | 2 + static/css/style.css | 44 +++++++++++++++---- 2 files changed, 37 insertions(+), 9 deletions(-) rename layouts/partials/{meta.html => metadata.html} (88%) diff --git a/layouts/partials/meta.html b/layouts/partials/metadata.html similarity index 88% rename from layouts/partials/meta.html rename to layouts/partials/metadata.html index dfdb77e..8983890 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/metadata.html @@ -1,6 +1,8 @@ +{{ if .PublishDate }} {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} +{{ end }} {{ with .Params.tags }} {{ range . }} {{ $href := print (absURL "tags/") (urlize .) }} diff --git a/static/css/style.css b/static/css/style.css index 22b1503..ffb4f83 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,26 +1,52 @@ body { - -} - -main { - -} - -img { - + justify-content: center; } header h1 { text-align: center; } +code { + background-color: lightslategrey; + color: white; + border-radius: 5px; + padding: 1pt; +} + footer { text-align: center; clear: both; } +/* For header.html */ +#nav-button { + background-color: #da644a; + color: white; + padding: 15px 25px; + text-decoration: none; +} + +#nav-button:hover { + background-color: #e69886; +} + +/* For author.html */ +#avatar { + border-radius: 8px; + max-width: 200px; + height: auto; +} +#pronouns { + color: maroon; +} + /* For meta.html */ .meta { text-align: center; clear: both; +} +#meta-avatar { + border-radius: 8px; + max-width: 60px; + height: auto; } \ No newline at end of file