fix formatting

This commit is contained in:
Ashley //// 2024-02-25 06:49:57 +00:00
parent dc6295306d
commit b27f39a726

View file

@ -1,27 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>PokeTube</title> <title>Poke - <%=error%> !!!</title>
<meta content="#111111" name="theme-color"> <meta content="#111111" name="theme-color" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover" />
<meta name="darkreader-lock"> <meta name="darkreader-lock" />
<link href="/css/yt-ukraine.svg?v=3" rel=icon> <link href="/css/yt-ukraine.svg?v=3" rel="icon" />
<link rel="manifest" href="/manifest.json"> <link rel="manifest" href="/manifest.json" />
</head>
<body>
<p id="abstract"><%=error%></p>
<div class="error">
<h2><%=error%></h2>
<p><%=description%></p>
</div>
<div class="error-footer">
<a href="https://poketube.fun/game-hub">Games</a>
<a href="https://codeberg.org/ashley/poke/">Source Code</a>
<a href="https://status.poketube.fun/">Status</a>
</div>
</body>
</html>
<style> <style>
body { body {
margin: auto; margin: auto;
@ -31,7 +16,7 @@ body {
max-width: 600px; max-width: 600px;
} }
body::before { body::before {
background: linear-gradient(0deg, rgba(115, 32, 67, 1.0), rgba(17, 17, 17, 1.0)); background: linear-gradient(0deg, rgba(115, 32, 67, 1), rgba(17, 17, 17, 1));
background-repeat: no-repeat; background-repeat: no-repeat;
content: ""; content: "";
position: fixed; position: fixed;
@ -62,7 +47,9 @@ p#abstract {
} }
@media only screen and (max-width: 790px) { @media only screen and (max-width: 790px) {
p#abstract {transform: translate(-50%, -50%) rotate(90deg) !important} p#abstract {
transform: translate(-50%, -50%) rotate(90deg) !important;
}
} }
.error { .error {
@ -84,7 +71,7 @@ p#abstract {
text-align: center; text-align: center;
} }
.error-footer a { .error-footer a {
color: #AC8FA5; color: #ac8fa5;
text-decoration: none; text-decoration: none;
margin: 0px 12px; margin: 0px 12px;
} }
@ -92,3 +79,17 @@ p#abstract {
color: #d69cc8; color: #d69cc8;
} }
</style> </style>
</head>
<body>
<p id="abstract"><%=error%></p>
<div class="error">
<h2><%=error%></h2>
<p><%=description%></p>
</div>
<div class="error-footer">
<a href="/game-hub">Games</a>
<a href="https://codeberg.org/ashley/poke/">Source Code</a>
<a href="https://status.poketube.fun/">Status</a>
</div>
</body>
</html>