summaryrefslogtreecommitdiff
path: root/app/views/layouts/errors.html.haml
diff options
context:
space:
mode:
authorLuis Alonso Chavez Armendariz <lchavez@nearsoft.com>2016-11-29 11:44:07 -0700
committerLuis Alonso Chavez Armendariz <lchavez@nearsoft.com>2016-11-29 11:44:07 -0700
commit500c0d5e419ecc39e823bdbfd49e4c5842621fa2 (patch)
treeb9afbe3a716f5214ef402dddb7bed1d809f1331e /app/views/layouts/errors.html.haml
parent843ae9b26e6d307c6b2e140e904b77565a649674 (diff)
downloadgitlab-ce-500c0d5e419ecc39e823bdbfd49e4c5842621fa2.tar.gz
Fix appearance in error pages
Diffstat (limited to 'app/views/layouts/errors.html.haml')
-rw-r--r--app/views/layouts/errors.html.haml65
1 files changed, 57 insertions, 8 deletions
diff --git a/app/views/layouts/errors.html.haml b/app/views/layouts/errors.html.haml
index 7fbe065df00..a3b925f6afd 100644
--- a/app/views/layouts/errors.html.haml
+++ b/app/views/layouts/errors.html.haml
@@ -1,10 +1,59 @@
!!! 5
%html{ lang: "en"}
- = render "layouts/head"
- %body{class: "#{user_application_theme} application navless"}
- = Gon::Base.render_data
- = render "layouts/header/empty"
- .container.navless-container
- = render "layouts/flash"
- .error-page
- = yield
+ %head
+ %meta{:content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport"}
+ %title= yield(:title)
+ :css
+ body {
+ color: #666;
+ text-align: center;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ margin: auto;
+ font-size: 14px;
+ }
+
+ h1 {
+ font-size: 56px;
+ line-height: 100px;
+ font-weight: normal;
+ color: #456;
+ }
+
+ h2 {
+ font-size: 24px;
+ color: #666;
+ line-height: 1.5em;
+ }
+
+ h3 {
+ color: #456;
+ font-size: 20px;
+ font-weight: normal;
+ line-height: 28px;
+ }
+
+ hr {
+ max-width: 800px;
+ margin: 18px auto;
+ border: 0;
+ border-top: 1px solid #EEE;
+ border-bottom: 1px solid white;
+ }
+
+ img {
+ max-width: 40vw;
+ display: block;
+ margin: 40px auto;
+ }
+
+ .container {
+ margin: auto 20px;
+ }
+
+ ul {
+ margin: auto;
+ text-align: left;
+ display:inline-block;
+ }
+%body
+ = yield