Files
nairobi/public/500.html
Javi Martín 45c1f93562 Add a link to skip to the main content
While people using screen readers already have keyboard shortcuts to
jump to the <main> tag, there are people who navigate the page with the
keyboard using just the tab key, and for them, this link provides a way
to save time and start reading the main content instead of having to
manually go through all the navigation links every time a new page is
loaded.

Note that we had to add an additional `width: 0` rule because
Foundation's `element-invisible` would apply `1px` and the test checking
for `visible: :hidden` would faile.
2024-03-23 00:35:47 +01:00

42 lines
684 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Error 500 | Internal server error</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
background: #065687 url('/errors_bg.jpg');
color: #2E2F30;
font-family: arial, sans-serif;
margin: 0;
text-align: center;
}
h1 {
color: white;
font-size: 160px;
line-height: 160px;
margin: 0;
}
h2 {
color: white;
}
div.error {
margin-top: -144px;
position: absolute;
top: 50%;
width: 100%;
}
</style>
</head>
<body>
<main id="main" class="error">
<h1>500</h1>
<h2>Internal server error.</h2>
</main>
</body>
</html>