From: Duje Mihanović Date: Thu, 17 Aug 2023 18:39:39 +0000 (+0200) Subject: Remove all use of CSS flexbox X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=551e324b62fd8bb5a6f2d25e044f4992421f0335;p=dujemihanovic.xyz.git Remove all use of CSS flexbox The main motivation for this is to improve compatibility with older browsers. --- diff --git a/assets/css/style.css b/assets/css/style.css index 93c57d6..e2c5e0f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -28,7 +28,7 @@ nav li { } p { - margin: 8px 0; + margin: 12px 0; } ul { @@ -39,18 +39,9 @@ ul { main { max-width: 1000px; margin: 0 auto; - display: flex; - flex-direction: column; - align-items: center; text-align: justify; } h1 { text-align: center; } - -footer { - display: flex; - flex-direction: column; - align-items: center; -} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a32c2f4..4d53567 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,6 +16,7 @@
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 7cdb7f1..ccebea4 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,8 +1,10 @@ {{ define "main" }}

{{ .Title }}

- {{ .WordCount }} words, estimated reading time: {{ .ReadingTime }} minute(s) - Originally published on {{ .PublishDate.Format "January 2, 2006" }} - Last modified on {{ .Lastmod.Format "January 2, 2006" }} +

{{ .WordCount }} words, estimated reading time: {{ .ReadingTime }} + minute(s)

+

Originally published on {{ .PublishDate.Format "January 2, 2006" + }}

+

Last modified on {{ .Lastmod.Format "January 2, 2006" }}

{{ .Content }} {{ end }}