Fixed one issue with them, and added just a little bit of CSS to make it nicer.

This commit is contained in:
2025-12-29 15:49:47 +01:00
parent 4975838301
commit f9396818a7
6 changed files with 14 additions and 5 deletions

View File

@@ -357,6 +357,15 @@ a:not(:has(img)):hover { text-decoration: underline; }
margin-bottom: auto;
}
.error {
font-family: Monospace, system-ui;
text-align: center;
}
.error a {
text-decoration: underline;
}
/*Shit to make it not terrible for mobile users.*/
@media (max-width: 1200px) {
.content {

View File

@@ -10,7 +10,7 @@
</head>
<body>
<div class="content">
<div class="error">
<h1>401!</h1>
<h2>401 - Unauthorized</h2>
<h2><a href="/index.html">Return to the index!</a></h2>

View File

@@ -10,7 +10,7 @@
</head>
<body>
<div class="content">
<div class="error">
<h1>403!</h1>
<h2>403 - Forbidden</h2>
<h2><a href="/index.html">Return to the index!</a></h2>

View File

@@ -10,7 +10,7 @@
</head>
<body>
<div class="content">
<div class="error">
<h1>404!</h1>
<h2>404 - Page not found</h2>
<h2><a href="/index.html">Return to the index!</a></h2>

View File

@@ -10,7 +10,7 @@
</head>
<body>
<div class="content">
<div class="error">
<h1>500!</h1>
<h2>500 - Internal Server Error</h2>
<h2><a href="/index.html">Return to the index!</a></h2>

View File

@@ -10,7 +10,7 @@
</head>
<body>
<div class="content">
<div class="error">
<h1>502!</h1>
<h2>502 - Bad gateway</h2>
<h2><a href="/index.html">Return to the index!</a></h2>