From 8f35dc92cf3595ad8ec8d2ab699a462ddc961e91 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Tue, 26 Jul 2022 17:35:13 +0100 Subject: [PATCH] . --- base.css | 15 ++++++++------- index.go.html | 16 ++++++++++------ pageHandler/pages/index/entry.go | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/base.css b/base.css index 26e6769..096ccf1 100644 --- a/base.css +++ b/base.css @@ -115,30 +115,31 @@ main{ background-color: transparent; box-sizing: inherit; } -.item-table-full, .item-table-240{ +.item-table-full, .item-table-360{ border-style: solid; border-width: 1px; background-color: transparent; - vertical-align: top; box-sizing: inherit; } .item-table-full{ display: table-cell; + vertical-align: top; width: 100%; } -.item-table-240{ +.item-table-360{ display: none; } -@media (min-width: 320px){ +@media (min-width: 360px){ .main-table > div > div > div{ margin: 5px; } - .item-table-240{ + .item-table-360{ display: table-cell; - width: 240px; + vertical-align: middle; + width: 360px; } } -@media (min-width: 480px){ +@media (min-width: 570px){ .nav{ max-height: none; top: 0; diff --git a/index.go.html b/index.go.html index 5d0808b..30ba6c4 100644 --- a/index.go.html +++ b/index.go.html @@ -35,7 +35,7 @@

{{ .Data.About.Title }}

-
+
@@ -43,8 +43,8 @@
{{ .Data.About.GetContent }}
-
-
Image of Me.
+
+
Image of Me.
@@ -60,16 +60,20 @@

{{ .Name }}

-
+
+ {{ if eq .GetStartDate .GetEndDate }} +

{{ .GetStartDate }}

+ {{ else }}

{{ .GetStartDate }} - {{ .GetEndDate }}

+ {{ end }}
{{ .GetContent }}
-
-