diff --git a/css/error.css b/css/error.css new file mode 100644 index 0000000..692480c --- /dev/null +++ b/css/error.css @@ -0,0 +1,39 @@ +@import('main.css'); + + +html { + text-align: center; +} + +h1,h2 { + display: inline-block; + padding: 0 .2em; +} +h1 { + color: #d50000; +} +h2 { + text-align: left; + font-weight: 300; +} + +figure { + display: block; + border-top: 5px #dedede solid; + text-align: left; +} + +blockquote::after, blockquote::before { + font-weight: 700; + 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 new file mode 100644 index 0000000..56aa1ee --- /dev/null +++ b/error/401.html @@ -0,0 +1,39 @@ + + + + + + + 401 - Unauthorized + + + + + + + + + + + + + + + + + + + + + + +

401

+

Non Autorisé

+
+
+ The request requires user authentication. +
+
HTTP/1.1 Status Code Definitions
+
+ + diff --git a/error/403.html b/error/403.html new file mode 100644 index 0000000..187bfd5 --- /dev/null +++ b/error/403.html @@ -0,0 +1,39 @@ + + + + + + + 403 - Forbidden + + + + + + + + + + + + + + + + + + + + + + +

403

+

Interdit

+
+
+ The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. +
+
HTTP/1.1 Status Code Definitions
+
+ + diff --git a/error/404.html b/error/404.html new file mode 100644 index 0000000..3bc1f39 --- /dev/null +++ b/error/404.html @@ -0,0 +1,39 @@ + + + + + + + 404 - Not Found + + + + + + + + + + + + + + + + + + + + + + +

404

+

Introuvable

+
+
+ The server has not found anything matching the Request-URI. +
+
HTTP/1.1 Status Code Definitions
+
+ + diff --git a/error/500.html b/error/500.html new file mode 100644 index 0000000..4ba21c9 --- /dev/null +++ b/error/500.html @@ -0,0 +1,39 @@ + + + + + + + 500 - Internal Server Error + + + + + + + + + + + + + + + + + + + + + + +

500

+

Erreur Serveur Interne

+
+
+ The server encountered an unexpected condition which prevented it from fulfilling the request. +
+
HTTP/1.1 Status Code Definitions
+
+ + diff --git a/error/502.html b/error/502.html new file mode 100644 index 0000000..c5225ca --- /dev/null +++ b/error/502.html @@ -0,0 +1,39 @@ + + + + + + + 502 - Bad Gateway + + + + + + + + + + + + + + + + + + + + + + +

502

+

Passerelle Défectueuse

+
+
+ The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. +
+
HTTP/1.1 Status Code Definitions
+
+ +