spejstore/templates/error_template.html

82 lines
1.3 KiB
HTML

{% load static %}
<!DOCTYPE html>
<style>
@font-face {
font-family: "Press Start 2P";
src: url("{% static 'fonts/pressstart2p-regular-webfont.woff2' %}")
format("woff2"),
url("{% static 'fonts/pressstart2p-regular-webfont.woff' %}") format("woff");
font-weight: normal;
font-style: normal;
}
:root {
--color: #54fe55;
--glowSize: 10px;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
}
* {
font-family: "Press Start 2P", cursive;
box-sizing: border-box;
}
#app {
padding: 1rem;
background: black;
display: flex;
height: 100%;
justify-content: center;
align-items: center;
color: var(--color);
text-shadow: 0px 0px var(--glowSize);
font-size: 6rem;
flex-direction: column;
.txt {
font-size: 1.8rem;
}
}
@keyframes blink {
0% {
opacity: 0;
}
49% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 1;
}
}
.blink {
animation-name: blink;
animation-duration: 1s;
animation-iteration-count: infinite;
}
</style>
<html lang="en">
<div id="app">
{% block content %}
<div>MISSING_ERROR_CODE</div>
<div class="txt">
MISSING ERROR DESCRIPTION <span class="blink">_</span>
</div>
{% endblock %}
</div>
</html>