mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
56 lines
2.2 KiB
HTML
56 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
Error 500: Internal Server Error
|
|
Description: The server met an unexpected condition
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<title>Internal Server Error</title>
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
|
<style>
|
|
:root {--color-bg-primary:#fff;--color-text-primary:#636b6f;--color-text-secondary:#777}
|
|
@media (prefers-color-scheme: dark) {:root {--color-bg-primary:#222526;--color-text-primary:#fff;--color-text-secondary:#999}}
|
|
html,body {background-color:var(--color-bg-primary);color:var(--color-text-primary);font-family:'Nunito',sans-serif;font-weight:100;height:100vh;margin:0;font-size:0}
|
|
.full-height {height:100vh}
|
|
.flex-center {align-items:center;display:flex;justify-content:center}
|
|
.position-ref {position:relative}
|
|
.code {border-right:2px solid;font-size:26px;padding:0 10px 0 15px;text-align:center}
|
|
.message {font-size:18px;text-align:center;padding:10px}
|
|
/* */
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="flex-center position-ref full-height">
|
|
<div>
|
|
<div class="flex-center">
|
|
<div class="code">
|
|
500
|
|
</div>
|
|
<div class="message" data-l10n>
|
|
Internal Server Error
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<script>
|
|
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
|
|
((s, p) => { // localize the page (details here - https://github.com/tarampampam/error-pages/tree/master/l10n)
|
|
s.src = 'https://cdn.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.min.js'; // '../l10n/l10n.js';
|
|
s.async = s.defer = true;
|
|
s.addEventListener('load', () => p.removeChild(s));
|
|
p.appendChild(s);
|
|
})(document.createElement('script'), document.body);
|
|
}
|
|
</script>
|
|
</body>
|
|
<!--
|
|
Error 500: Internal Server Error
|
|
Description: The server met an unexpected condition
|
|
-->
|
|
</html>
|