1
0

Error styling was moved out to main.css.

This commit is contained in:
Alexander Andreev 2023-08-22 18:20:13 +04:00
parent 63e03f6459
commit 5567de7de1
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 9 additions and 11 deletions

View File

@ -136,6 +136,14 @@ nav h1 {
section { margin-top: 1rem; }
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
footer {
font-size: .8rem;
text-align: center;

View File

@ -1,20 +1,10 @@
extends base.jade
block head
:go:func ErrorXXX(mainSite string, code int, errorMsg string)
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
block header
h1 Еггог
block body
:go:func ErrorXXX(mainSite string, code int, errorMsg string)
section#error
h1 #{code}
| #{http.StatusText(code)}