From 0bc8394d1dcc930dd4bcddc550b8cfbb1d8d3ee6 Mon Sep 17 00:00:00 2001 From: edpibu Date: Tue, 22 Dec 2020 16:18:58 +0100 Subject: [PATCH] Updated error pages will self-contained css --- css/error.css | 36 ------------------------ error/401.html | 75 ++++++++++++++++++++++++++++++++++++++------------ error/403.html | 75 ++++++++++++++++++++++++++++++++++++++------------ error/404.html | 75 ++++++++++++++++++++++++++++++++++++++------------ error/500.html | 75 ++++++++++++++++++++++++++++++++++++++------------ error/502.html | 74 +++++++++++++++++++++++++++++++++++++------------ 6 files changed, 284 insertions(+), 126 deletions(-) delete mode 100644 css/error.css diff --git a/css/error.css b/css/error.css deleted file mode 100644 index bd9d23f..0000000 --- a/css/error.css +++ /dev/null @@ -1,36 +0,0 @@ -html { - text-align: center; -} - -h1,h2 { - display: inline-block; - padding: 0 .2em; -} -h1 { - color: #d50000; -} -h2 { - text-align: left; - font-weight: 400; -} - -figure { - display: block; - border-top: 5px #dedede solid; - text-align: left; -} - -blockquote::after, blockquote::before { - font-weight: 800; - color: #dedede; -} -blockquote::before { - content: "«"; -} -blockquote::after { - content: "»"; -} - -figcaption { - text-align: right; -} \ No newline at end of file diff --git a/error/401.html b/error/401.html index e1afdd5..6c479eb 100644 --- a/error/401.html +++ b/error/401.html @@ -6,26 +6,65 @@ 401 - Unauthorized - - - - + + - - - - - - - - - - - - - - diff --git a/error/403.html b/error/403.html index e28cf23..7a0ee4f 100644 --- a/error/403.html +++ b/error/403.html @@ -6,26 +6,65 @@ 403 - Forbidden - - - - + + - - - - - - - - - - - - - - diff --git a/error/404.html b/error/404.html index b296325..fa9ca86 100644 --- a/error/404.html +++ b/error/404.html @@ -6,26 +6,65 @@ 404 - Not Found - - - - + + - - - - - - - - - - - - - - diff --git a/error/500.html b/error/500.html index e0563c5..2f89a28 100644 --- a/error/500.html +++ b/error/500.html @@ -6,26 +6,65 @@ 500 - Internal Server Error - - - - + + - - - - - - - - - - - - - - diff --git a/error/502.html b/error/502.html index 25722e7..24e26c1 100644 --- a/error/502.html +++ b/error/502.html @@ -6,27 +6,65 @@ 502 - Bad Gateway - + + - - - - - - - - - - - - - - -