Retrospring/public/422.html

162 lines
3.3 KiB
HTML
Raw Normal View History

2014-08-01 02:23:47 -07:00
<!DOCTYPE html>
<html>
<head>
2022-01-01 08:30:05 -08:00
<meta charset="utf-8">
<title>Whoops?</title>
2014-08-01 02:23:47 -07:00
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
2022-01-01 08:30:05 -08:00
:root {
--primary: #5e35b1;
--muted: 108, 117, 125;
--background: #f0edf4;
}
*, *:before, *:after {
box-sizing: border-box;
}
a {
color: var(--primary);
text-decoration: none;
}
body {
padding: 2rem 1rem 1rem 1rem;
2014-12-21 06:31:18 -08:00
margin: 0;
2022-01-01 08:30:05 -08:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
background-color: var(--background);
}
.text-primary {
color: var(--primary);
}
.text-muted {
color: rgb(var(--muted));
}
.text-center {
text-align: center;
}
.font-weight-bold {
font-weight: bold;
}
.d-none {
display: none !important;
}
.links {
padding: 0;
2014-12-21 06:31:18 -08:00
}
2014-08-01 02:23:47 -07:00
2022-01-01 08:30:05 -08:00
.links li {
2015-04-19 14:27:53 -07:00
display: inline-block;
2014-12-21 06:31:18 -08:00
}
2014-08-01 02:23:47 -07:00
2022-01-01 08:30:05 -08:00
.links li:not(:last-child):after {
content: ' • ';
2014-12-21 06:31:18 -08:00
}
2022-01-01 08:30:05 -08:00
.mb-0 {
margin-bottom: 0;
2014-12-21 06:31:18 -08:00
}
2022-01-01 08:30:05 -08:00
.mt-0 {
margin-top: 0;
2014-12-21 06:31:18 -08:00
}
2022-01-01 08:30:05 -08:00
.error-artwork-container {
display:flex;
justify-content: center;
max-width: 100%;
}
.error-artwork-container picture {
display: block;
max-width: 100%;
}
.error-artwork-container picture img {
max-width: 100%;
}
.error-text-container {
text-align: center;
}
@media (min-width: 768px) {
2022-01-01 08:30:05 -08:00
body {
padding: 3rem 1rem 1rem 1rem;
2015-04-19 14:27:53 -07:00
}
2014-12-21 06:31:18 -08:00
2022-01-01 08:30:05 -08:00
.error-artwork-container picture {
width: 576px;
}
}
@media (min-width: 992px) {
2022-01-01 08:30:05 -08:00
body {
padding: 5rem 1rem 3rem 1rem;
}
.error {
display: flex;
justify-content: center;
}
.error-text-container {
align-self: center;
text-align: left;
2015-04-19 14:27:53 -07:00
}
2014-12-21 06:31:18 -08:00
}
2014-08-01 02:23:47 -07:00
</style>
</head>
<body>
<div class="error">
<div class="error-artwork-container">
<picture>
<source
srcset="/images/errors/small/404.png 576w,
/images/errors/medium/404.png 768w,
/images/errors/original/404.png 1200w">
<img src="/images/errors/small/404.png"/>
</picture>
</div>
<div class="error-text-container">
<h1>
<span class="text-primary font-weight-bold">422</span>
<small class="text-muted">Unprocessable Entity</small>
</h1>
<p>
Whatever your browser tried to send us, it was not right.
</p>
<p class="mb-0">
<i>Please retry what you just did. If the problem persists, don't hesitate to contact us:</i>
</p>
<ul class="links mt-0">
<li>
<a href="https://twitter.com/Retrospring">Twitter: @Retrospring</a>
</li>
<li>
<a href="https://github.com/Retrospring/retrospring">GitHub</a>
</li>
</ul>
<ul class="links">
<li class="d-none js-back-link">
<a href="javascript:history.back()">Back</a>
</li>
<li>
<a href="/">Home</a>
</li>
</ul>
</div>
2022-01-01 08:30:05 -08:00
</div>
<script>
if (window.history.length > 0) {
document.querySelector('.js-back-link').classList.toggle('d-none');
}
2015-04-19 14:27:53 -07:00
</script>
2014-08-01 02:23:47 -07:00
</body>
2022-01-01 08:30:05 -08:00
</html>