Oh, I forgot that inline styling and in a head tag are forbidden. Moving out to a file.
This commit is contained in:
parent
ffbc027d64
commit
4523e5a622
7
web/assets/css/error.css
Normal file
7
web/assets/css/error.css
Normal file
@ -0,0 +1,7 @@
|
||||
#error {
|
||||
font-size: 3.5rem;
|
||||
line-height: 5rem;
|
||||
text-align: center;
|
||||
margin: 6rem 0; }
|
||||
|
||||
#error h1 { font-size: 8rem; }
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user