From 8b7d7d6a8e7ddf00e85771ea4b5b3031756741a6 Mon Sep 17 00:00:00 2001 From: Gianmarco Gargiulo Date: Fri, 24 Nov 2023 15:00:32 +0100 Subject: [PATCH] Added a post list header and a bottom disclaimer in the homepage, moved some images to a new more consistently named folder, removed the unused navigation pills, improved the ytr.html page on mobile devices and changed the heading of post lists. --- static/{images => img}/dot-blue-open.png | Bin static/{images => img}/dot-blue.png | Bin static/{images => img}/dot-green-open.png | Bin static/{images => img}/dot-green.png | Bin static/{images => img}/dot-red-open.png | Bin static/{images => img}/dot-red.png | Bin static/{images => img}/dot-yellow-open.png | Bin static/{images => img}/dot-yellow.png | Bin static/{images => img}/nothumb.svg | 0 static/ytr.html | 7 +++++++ themes/hugo-casper3/layouts/_default/list.html | 15 ++++++++------- themes/hugo-casper3/layouts/index.html | 4 +++- .../hugo-casper3/layouts/partials/post-card.html | 2 +- .../hugo-casper3/layouts/partials/site-nav.html | 4 ---- 14 files changed, 19 insertions(+), 13 deletions(-) rename static/{images => img}/dot-blue-open.png (100%) rename static/{images => img}/dot-blue.png (100%) rename static/{images => img}/dot-green-open.png (100%) rename static/{images => img}/dot-green.png (100%) rename static/{images => img}/dot-red-open.png (100%) rename static/{images => img}/dot-red.png (100%) rename static/{images => img}/dot-yellow-open.png (100%) rename static/{images => img}/dot-yellow.png (100%) rename static/{images => img}/nothumb.svg (100%) diff --git a/static/images/dot-blue-open.png b/static/img/dot-blue-open.png similarity index 100% rename from static/images/dot-blue-open.png rename to static/img/dot-blue-open.png diff --git a/static/images/dot-blue.png b/static/img/dot-blue.png similarity index 100% rename from static/images/dot-blue.png rename to static/img/dot-blue.png diff --git a/static/images/dot-green-open.png b/static/img/dot-green-open.png similarity index 100% rename from static/images/dot-green-open.png rename to static/img/dot-green-open.png diff --git a/static/images/dot-green.png b/static/img/dot-green.png similarity index 100% rename from static/images/dot-green.png rename to static/img/dot-green.png diff --git a/static/images/dot-red-open.png b/static/img/dot-red-open.png similarity index 100% rename from static/images/dot-red-open.png rename to static/img/dot-red-open.png diff --git a/static/images/dot-red.png b/static/img/dot-red.png similarity index 100% rename from static/images/dot-red.png rename to static/img/dot-red.png diff --git a/static/images/dot-yellow-open.png b/static/img/dot-yellow-open.png similarity index 100% rename from static/images/dot-yellow-open.png rename to static/img/dot-yellow-open.png diff --git a/static/images/dot-yellow.png b/static/img/dot-yellow.png similarity index 100% rename from static/images/dot-yellow.png rename to static/img/dot-yellow.png diff --git a/static/images/nothumb.svg b/static/img/nothumb.svg similarity index 100% rename from static/images/nothumb.svg rename to static/img/nothumb.svg diff --git a/static/ytr.html b/static/ytr.html index 95612a5..a204b1b 100644 --- a/static/ytr.html +++ b/static/ytr.html @@ -46,8 +46,14 @@ border-radius: 5px; } + .mobile { + display: none; + } + @media screen and (min-width: 0px) and (max-width: 500px) { .button{ display: block; } + .mobile{ display: block; } + h1{ font-size: 20px; } } #pipedbtn {background-color: rgba(139,0,0,.2); border-color: darkred} /* Piped */ @@ -104,6 +110,7 @@ YouTube Odysee PeerTube +

Mobile devices may have issues with this frame's resolution.

The Piped instance used is piped.adminforge.de.

YouTube is not freedom and privacy respecting, Odysee has selfhosted telemetry.

diff --git a/themes/hugo-casper3/layouts/_default/list.html b/themes/hugo-casper3/layouts/_default/list.html index 05b9c8e..83360eb 100644 --- a/themes/hugo-casper3/layouts/_default/list.html +++ b/themes/hugo-casper3/layouts/_default/list.html @@ -5,15 +5,16 @@