summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-01 23:16:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-02 08:59:14 +0300
commitc6b5b261f1eb0a860630eb93d0ebef7a79b1e4f6 (patch)
tree4c66c68262b7a8a70264454e951eb96c74e0dd4a
parent97376428a3c4e9824cbd36655c6013cd3e6cdca8 (diff)
downloadgitlab-ci-c6b5b261f1eb0a860630eb93d0ebef7a79b1e4f6.tar.gz
New style for static pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--public/404.html21
-rw-r--r--public/422.html21
-rw-r--r--public/500.html21
-rw-r--r--public/static.css18
4 files changed, 21 insertions, 60 deletions
diff --git a/public/404.html b/public/404.html
index e9f0ad4..3ce5e3a 100644
--- a/public/404.html
+++ b/public/404.html
@@ -2,26 +2,7 @@
<html>
<head>
<title>The page you were looking for doesn't exist (404)</title>
- <style type="text/css">
- body {
- background: #289;
- color: #FFF;
- text-align: center;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- margin:0;
- width: 800px;
- margin: auto;
- font-size: 14px;
- text-shadow: 0 1px 1px #555;
- }
- h1 {
- font-size: 46px;
- line-height: 100px;
- margin: 100px 0;
- font-weight: normal;
- color: #FFF;
- }
- </style>
+ <link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
diff --git a/public/422.html b/public/422.html
index cd183f8..3899af3 100644
--- a/public/422.html
+++ b/public/422.html
@@ -2,26 +2,7 @@
<html>
<head>
<title>The change you wanted was rejected (422)</title>
- <style type="text/css">
- body {
- background: #289;
- color: #FFF;
- text-align: center;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- margin:0;
- width: 800px;
- margin: auto;
- font-size: 14px;
- text-shadow: 0 1px 1px #555;
- }
- h1 {
- font-size: 46px;
- line-height: 100px;
- margin: 100px 0;
- font-weight: normal;
- color: #FFF;
- }
- </style>
+ <link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
diff --git a/public/500.html b/public/500.html
index e62312a..dd701e1 100644
--- a/public/500.html
+++ b/public/500.html
@@ -2,26 +2,7 @@
<html>
<head>
<title>We're sorry, but something went wrong (500)</title>
- <style type="text/css">
- body {
- background: #289;
- color: #FFF;
- text-align: center;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- margin:0;
- width: 800px;
- margin: auto;
- font-size: 14px;
- text-shadow: 0 1px 1px #555;
- }
- h1 {
- font-size: 46px;
- line-height: 100px;
- margin: 100px 0;
- font-weight: normal;
- color: #FFF;
- }
- </style>
+ <link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
diff --git a/public/static.css b/public/static.css
new file mode 100644
index 0000000..8fccf2a
--- /dev/null
+++ b/public/static.css
@@ -0,0 +1,18 @@
+body {
+ background: #246;
+ color: #FFF;
+ text-align: center;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ margin:0;
+ width: 800px;
+ margin: auto;
+ font-size: 14px;
+ text-shadow: 0 1px 1px #555;
+}
+h1 {
+ font-size: 46px;
+ line-height: 100px;
+ margin: 100px 0;
+ font-weight: normal;
+ color: #FFF;
+}