error.html
HTML document, ASCII text
1{% extends "default.html" %} 2 3{% block nav_title %}{{ error }}{% endblock %} 4{% block title %}{{ error_code }} {{ error }} | {{ site_name }}{% endblock %} 5 6{% block extra_head %} 7<style> 8body::before { 9width: 100%; 10height: 100%; 11position: fixed; 12z-index: -1; 13content: ""; 14filter: saturate(0.875) brightness(0.875); 15background: 16radial-gradient(circle, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)), 17url("/raw/picture/{{ random_picture.id }}") center / cover no-repeat, 18#000000; 19} 20main { 21height: 100%; 22width: 100%; 23display: flex; 24flex-grow: 1; 25flex-direction: column; 26justify-content: center; 27align-items: center; 28color: #ffffff; 29--color-background-text: #ffffff; 30--text-soft: #ffffffe0; 31--text-faint: #ffffffc0; 32--text-softer: #ffffff80; 33--text-softest: #ffffff50; 34--color-link-text: #ffffff; 35--color-link-hover-text: #ffffff; 36--color-link-visited-text: #ffffff; 37--color-link-active-text: #ffffff; 38--color-link-visited-hover-text: #ffffff; 39text-align: center; 40} 41#error-code { 42font-size: 1.25em; 43font-weight: bold; 44text-transform: uppercase; 45color: var(--color-accent-3); 46width: fit-content; 47margin: 1rem; 48text-shadow: 0 1px 4px #00000080, 0 0 1px #00000080, 0 0 2px #00000040; 49} 50</style> 51{% endblock %} 52 53{% block content %} 54<h1>{{ error }}</h1> 55{% block error_content %} 56{% endblock %} 57<p id="error-code"> 58HTTP error {{ error_code }} 59</p> 60<p> 61If you came here from the API, <a href="/info/">RTFM</a> :) 62</p> 63<p> 64If you believe this is our fault, please <a href="{{ config.CONTACT_LINK }}">contact us</a>. 65</p> 66{% endblock %}