Stiligas nian propran 502-erarpaĝon por nginx

This commit is contained in:
Jaidyn Ann 2025-01-05 22:29:14 -06:00
parent 6225d74d78
commit db68b3bc33
Signed by: jadedctrl
GPG Key ID: FEF4FCF78B4BF019
7 changed files with 98 additions and 0 deletions

View File

@ -9,3 +9,4 @@ Vidu la [Git-deponejon](https://github.com/linkwarden/linkwarden/) de Linkwarden
* Preferas helan haŭton * Preferas helan haŭton
* Akordigas kolorojn al niaj aliaj retejoj * Akordigas kolorojn al niaj aliaj retejoj
* Anstataŭigas emblemojn ktp. * Anstataŭigas emblemojn ktp.
* Stiligas nian propran 502-eraron paĝon ([x_x/](x_x/))

BIN
x_x/502.fonto.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

1
x_x/502.fonto.txt Normal file
View File

@ -0,0 +1 @@
El Miruzaŭa Akeĉi — https://www.pixiv.net/artworks/118048889

28
x_x/502.html Normal file
View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML>
<html lang="eo">
<head>
<title>502 — Servilo paŭzetas</title>
<link rel="stylesheet" type="text/css" href="/x_x/style.css">
<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no">
</head>
<body>
<div class="panel user-profile-placeholder">
<div class="panel-heading">
<div class="title">Eraro 502 — Pordega eraro</div>
</div>
<div class="panel-body">
<h1>La servilo paŭzetas!</h1>
<p>Ĝi kredeble restartiĝos baldaŭ; bonvolu rekontroli post momento.</p>
<p>Se post kelkaj minutoj ankoraŭ videblus ĉi tiu eraro, bonvolu sciigi jadedctrl! (Prefere per XMPP/Matrix!)</p>
<p><b>Matrix:</b> <a href="https://matrix.to/#/@jadedctrl:tedomum.net">@jadedctrl:tedomum.net</a><b>XMPP:</b> <a href="xmpp:jaidedim@dismail.de">jaidedim@dismail.de</a><br>
<b>Poŝte:</b> <a href="mailto:jadedctrl@posteo.net">jadedctrl@posteo.net</a></p>
</div>
<div class="panel-body">
<img src="/x_x/502.png">
</div>
</div>
</body>
</html>

BIN
x_x/502.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
x_x/502.xcf Normal file

Binary file not shown.

68
x_x/style.css Normal file
View File

@ -0,0 +1,68 @@
/* Somewhat riffing off of Pleroma-FEs generated CSS.
Using the colors of Tiriftos Malvo theme. */
body {
background-color: #f5f5dc;
font-family: Ubuntu sans;
font-size: 14px;
}
.panel {
box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
overflow: hidden;
border-radius: 3px;
padding: 0;
background-color: #ffffd7;
max-width: 1000px;
margin: auto;
}
img {
bottom: 0;
display: table-cell;
vertical-align: bottom;
max-width: 100%;
float: right;
}
h1 {
text-align: center;
}
.panel-heading {
border-radius: 3px 3px 0 0;
align-items: stretch;
background: transparent;
background-color: #d7d7af;
box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 0px 0px rgba(255, 255, 255, 0.3) inset, -1px -1px 0px 0px rgba(0, 0, 0, 0.3) inset;
flex-direction: column;
padding: .5em;
position: relative;
text-align: left;
font-size: 1.3em;
}
.panel-body p {
padding-left: 20px;
padding-right: 20px;
}
.panel-body:empty:before {
content: "¯\\_(ツ)_/¯";
display: block;
margin: 1em;
text-align: center;
}
.panel-body>p {
line-height: 1.3;
margin: 0;
padding: 1em;
text-align: center;
}