From decbdc673f3647b16671e3d648af30cc2cc732a9 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 14 Jul 2023 08:17:37 -0400 Subject: [PATCH] updates --- layouts/404.html | 3 +- layouts/502.html | 19 - layouts/_default/list.html | 1 + layouts/_default/single.html | 2 +- layouts/index.html | 3 +- layouts/partials/footer.html | 2 +- layouts/partials/related.html | 2 +- layouts/partials/spritesheet.html | 780 +++++++++++++++--------------- layouts/shortcodes | 2 +- static/css/theme.css | 51 +- static/res/spritesheet.svg | 386 +++++++++++++++ 11 files changed, 828 insertions(+), 423 deletions(-) delete mode 100644 layouts/502.html create mode 100644 static/res/spritesheet.svg diff --git a/layouts/404.html b/layouts/404.html index f11dcf3..91ec58f 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -7,7 +7,6 @@ {{partial "header" .}} {{partial "banner-item" .}} - {{partial "spritesheet" .}}
+
{{partial "footer" .}} + {{partial "spritesheet" .}} \ No newline at end of file diff --git a/layouts/502.html b/layouts/502.html deleted file mode 100644 index 92b5ce9..0000000 --- a/layouts/502.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - {{partial "head" .}} - Service Offline - - - {{partial "header" .}} - {{partial "banner-item" .}} - {{partial "spritesheet" .}} -
-
-

Error 502

-

Sadly due to technical difficulties or maintenance this service is offline.

-
-
- {{partial "footer" .}} - - \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5648739..4f9457c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -27,6 +27,7 @@ +
{{partial "footer" .}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7bc2234..0554cda 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,9 +12,9 @@ {{partial "metadata" .}} -
{{ partial "related" .}} +
{{partial "footer" .}} {{partial "spritesheet" .}} diff --git a/layouts/index.html b/layouts/index.html index d393c3d..c6826eb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,13 +8,14 @@ {{partial "header" .}} {{partial "banner" .}} - {{partial "spritesheet" .}}
{{.Content}}
+
{{ partial "footer" .}} + {{partial "spritesheet" .}} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4af0054..aca4863 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/layouts/partials/related.html b/layouts/partials/related.html index 1a1b7e9..3bb8db7 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/layouts/partials/spritesheet.html b/layouts/partials/spritesheet.html index 0357b77..166832c 100644 --- a/layouts/partials/spritesheet.html +++ b/layouts/partials/spritesheet.html @@ -1,396 +1,386 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Prev - - - - - - - - B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @ - - - - - - - - Next - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Prev + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + B + + + + + + + + + + + + + + + + + + + + + + + + @ + + + + + + + + Next + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/layouts/shortcodes b/layouts/shortcodes index 0982f43..07e4d56 160000 --- a/layouts/shortcodes +++ b/layouts/shortcodes @@ -1 +1 @@ -Subproject commit 0982f4361dd966664af3a3bc830c0bafdde02ee0 +Subproject commit 07e4d56f7e42205c761deac89fcb7a0cb41e9371 diff --git a/static/css/theme.css b/static/css/theme.css index 21e58e6..15d8e89 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -31,16 +31,53 @@ header { } header img { - max-height: 8rem; + max-height: 6rem; +} +header a{ + text-decoration: none; +} +header a:hover{ + text-decoration: underline; } header, footer { text-align: center; width: 100vw; - font-size:14px; + font-size:20px; line-height: 16px; } +header h1 { + line-height: 80%; + margin-top:5px; +} + + +footer{ + flex-direction: row; + display:flex; + justify-content: center; + align-items: center; +} +footer>div{ + flex-direction: row; + display:flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; +} +footer>div>div{ + display:flex; + flex-direction: column; + align-items: center; + margin:15px; +} +footer img{ + width:8rem; +} +footer a{ + margin:2px; +} nav { border-radius: 30%; @@ -104,7 +141,7 @@ article > *{ display:flex; flex-direction: column; align-items: center; - justify-content: space-evenly; + justify-content: center; font-size:14px; font-weight: bolder; text-decoration: none !important; @@ -113,6 +150,10 @@ article > *{ .listing-text h2{ margin:0; } +.listing-text i{ + display:block; + max-width:80%; +} .listing-text >a{ width:fit-content; @@ -123,6 +164,10 @@ article > *{ border-radius:25px; max-width:80%; text-align: center; + display:flex; + flex-direction: column; + align-items: center; + justify-content: center; } .listing-text:hover >a{ diff --git a/static/res/spritesheet.svg b/static/res/spritesheet.svg new file mode 100644 index 0000000..166832c --- /dev/null +++ b/static/res/spritesheet.svg @@ -0,0 +1,386 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Prev + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + B + + + + + + + + + + + + + + + + + + + + + + + + @ + + + + + + + + Next + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file