Make error pages look nicer

This commit is contained in:
Jake 2014-12-06 09:03:33 -06:00
parent 90f0467f53
commit b21d8cba31
3 changed files with 11 additions and 6 deletions

View File

@ -112,3 +112,7 @@ h4 {
.sideface.md_5:hover { .sideface.md_5:hover {
background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160&helm=true"); background:url("/avatars/af74a02d19cb445bb07f6866a861f783?size=160&helm=true");
} }
.errmsg {
margin-top: 50px;
}

View File

@ -1,6 +1,7 @@
extends layout extends layout
block content block content
.container.errmsg
h1= message h1= message
h2= error.status h2= error.status
pre #{error.stack} pre #{error.stack}

View File

@ -5,13 +5,13 @@ html
link(rel="icon", sizes="16x16", type="image/png", href="/favicon.png") link(rel="icon", sizes="16x16", type="image/png", href="/favicon.png")
link(href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.0/css/bootstrap.min.css", rel="stylesheet") link(href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.0/css/bootstrap.min.css", rel="stylesheet")
link(rel="stylesheet", href="/stylesheets/style.css") link(rel="stylesheet", href="/stylesheets/style.css")
meta(name="description", content="A Minecraft avatar service with UUID support") meta(name="description", content="Crafatar is a Minecraft avatar service with support for avatars, skins, and even renders!")
meta(name="keywords", content="minecraft, avatar, uuid") meta(name="keywords", content="minecraft, avatar, renders, skins, uuid, username")
meta(name="viewport", content="initial-scale=1,maximum-scale=1") meta(name="viewport", content="initial-scale=1,maximum-scale=1")
body body
a.forkme(href="https://github.com/Jake0oo0/crafatar", target="_blank") Fork me on GitHub a.forkme(href="https://github.com/Jake0oo0/crafatar", target="_blank") Fork me on GitHub
.navbar.navbar-default.navbar-fixed-top .navbar.navbar-default.navbar-fixed-top
.container .container
.navbar-header .navbar-header
a.navbar-brand(href="#") Crafatar a.navbar-brand(href="/") Crafatar
block content block content