From d004ebec255730640a1779a7ae81cf15d185094c Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 29 Feb 2024 10:43:29 -0500 Subject: [PATCH] minor changes --- layouts/partials/post.html | 5 ++--- static/css/theme.css | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/layouts/partials/post.html b/layouts/partials/post.html index 233246d..d6a176a 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -2,9 +2,8 @@

{{.Title}}

-
-

{{.Params.description}}{{if .Date}}
Published: {{.Date | time.Format "Jan 02 2006"}}{{end}}

-
+

{{if .Date}}{{.Date | time.Format "Jan 02 2006"}}{{end}}

+

{{.Summary}}

{{ if .GetTerms "tags" }}
{{range .GetTerms "tags" }} diff --git a/static/css/theme.css b/static/css/theme.css index a2608fb..de5d71f 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -247,7 +247,7 @@ article .highlight pre { @media screen and (orientation:portrait) { article { - max-width: 90vw; + max-width: 100vw; } } @@ -263,12 +263,11 @@ article .highlight pre { flex-direction: column; flex-wrap: wrap; display: flex; - align-items: center; - margin: 1rem; + align-items: flex-start; padding: 25px; border-radius: 25px; font-size: 18px; - width: 360px; + width:100%; } .post>* {} @@ -285,10 +284,11 @@ article .highlight pre { } .post-tags { - max-width: 80%; + width:100%; display: flex; flex-direction: row; flex-wrap: wrap; + justify-content: flex-start; font-size: 12px; }