1
0
Fork 0

Oh, I forgot that inline styling and in a head tag are forbidden. Moving out to a file.

This commit is contained in:
Alexander Andreev 2023-08-13 01:46:15 +04:00
parent ffbc027d64
commit 4523e5a622
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 8 additions and 8 deletions

7
web/assets/css/error.css Normal file
View File

@ -0,0 +1,7 @@
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }

View File

@ -4,14 +4,7 @@ block meta_description
meta(name='description' content=http.StatusText(code))
block append head
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
link(href='/assets/css/error.css' rel='stylesheet')
block nav
a(href='/') Home