From e39a34ff0199c442e2f8c0246dcafd72352c177d Mon Sep 17 00:00:00 2001 From: ashley Date: Tue, 2 Sep 2025 10:34:41 +0200 Subject: [PATCH] new error page :3 --- html/layouts/error-video.ejs | 58 ++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/html/layouts/error-video.ejs b/html/layouts/error-video.ejs index 653e7566..2fe14399 100644 --- a/html/layouts/error-video.ejs +++ b/html/layouts/error-video.ejs @@ -28,11 +28,7 @@ pointer-events: none; transition: 1s height; } - - h2 { - font-size: 42px; - } - + h2 { font-size: 42px; } p#abstract { position: fixed; top: 50%; @@ -45,13 +41,11 @@ pointer-events: none; transition: 1s transform; } - @media only screen and (max-width: 790px) { p#abstract { transform: translate(-50%, -50%) rotate(90deg) !important; } } - .error { position: fixed; top: 50%; @@ -62,7 +56,6 @@ max-width: 600px; width: 100%; } - .error-footer { position: fixed; bottom: 24px; @@ -75,9 +68,7 @@ text-decoration: none; margin: 0px 12px; } - .error-footer a:hover { - color: #d69cc8; - } + .error-footer a:hover { color: #d69cc8; } .countdown { margin-top: 16px; color: #ccc; @@ -88,34 +79,49 @@ <% const RESTART_MSG = "there could be few reasons why this could happen. see https://codeberg.org/ashley/poke/src/branch/main/why-error.md for info "; %> <% if (description === RESTART_MSG) { %> <% } else { %> <% } %> @@ -139,7 +145,7 @@ Report on our Discord <% if (description === RESTART_MSG) { %> See Invidious issues - Refresh Page + Refresh Page <% } %>