diff --git a/web/assets/css/error.css b/web/assets/css/error.css new file mode 100644 index 0000000..55028f2 --- /dev/null +++ b/web/assets/css/error.css @@ -0,0 +1,7 @@ +#error { + font-size: 3.5rem; + line-height: 5rem; + text-align: center; + margin: 6rem 0; } + +#error h1 { font-size: 8rem; } \ No newline at end of file diff --git a/web/templates/errorXXX.pug b/web/templates/errorXXX.pug index ad9dfa3..88b07a3 100755 --- a/web/templates/errorXXX.pug +++ b/web/templates/errorXXX.pug @@ -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