From a3230bfc936a3b688b8117b7469d72d220126912 Mon Sep 17 00:00:00 2001 From: William Belle Date: Thu, 27 Jun 2024 12:31:26 +0200 Subject: [PATCH] Update 404 pages with "new" design (#189) Close: #187 --- grunt/cssmin.js | 3 +-- src/css/errors.css | 31 ------------------------------- src/errors/404-de.html | 29 +++++++++++++++++------------ src/errors/404-en.html | 29 +++++++++++++++++------------ src/errors/404-fr.html | 29 +++++++++++++++++------------ 5 files changed, 52 insertions(+), 69 deletions(-) delete mode 100644 src/css/errors.css diff --git a/grunt/cssmin.js b/grunt/cssmin.js index e09e910..246736a 100644 --- a/grunt/cssmin.js +++ b/grunt/cssmin.js @@ -18,8 +18,7 @@ module.exports = { 'dist/css/elements.min.css': [ 'node_modules/epfl-elements/dist/css/vendors.css', 'node_modules/epfl-elements/dist/css/elements.css', - 'tmp/css/fonts.css', - 'src/css/errors.css' + 'tmp/css/fonts.css' ] } } diff --git a/src/css/errors.css b/src/css/errors.css deleted file mode 100644 index 862f0ad..0000000 --- a/src/css/errors.css +++ /dev/null @@ -1,31 +0,0 @@ -/* - * (c) ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, 2020-2021. - */ - -.http-status-code { - font-size: 5rem; -} - -@media (min-width: 576px) { - .http-status-code { - font-size: 6rem; - } -} - -@media (min-width: 768px) { - .http-status-code { - font-size: 8rem; - } -} - -@media (min-width: 992px) { - .http-status-code { - font-size: 10rem; - } -} - -@media (min-width: 1200px) { - .http-status-code { - font-size: 12rem; - } -} diff --git a/src/errors/404-de.html b/src/errors/404-de.html index d9b7cd4..8d20def 100644 --- a/src/errors/404-de.html +++ b/src/errors/404-de.html @@ -34,19 +34,24 @@
-
-

404

-

Hoppla! Die Seite kann nicht gefunden werden.

-
-

Unter dieser Adresse wurde scheinbar nichts gefunden. Versuchen Sie es mit einer Suche:

-
-
- - - +
+
+
+

404

+

+ Hoppla! Die Seite kann nicht gefunden werden. +

+
+ +
+ + + +
+
- -
+
+
diff --git a/src/errors/404-en.html b/src/errors/404-en.html index fc59654..2d1c0a4 100644 --- a/src/errors/404-en.html +++ b/src/errors/404-en.html @@ -34,19 +34,24 @@
-
-

404

-

Oops! That page can't be found.

-
-

It looks like nothing was found at this location. You might try with a search:

-
-
- - - +
+
+
+

404

+

+ Oops! That page can't be found. +

+
+ +
+ + + +
+
- -
+
+
diff --git a/src/errors/404-fr.html b/src/errors/404-fr.html index 913670f..b3e443a 100644 --- a/src/errors/404-fr.html +++ b/src/errors/404-fr.html @@ -34,19 +34,24 @@
-
-

404

-

Oops ! Cette page est introuvable.

-
-

On dirait que cette adresse n'existe pas sur le site. Essayez avec une recherche :

-
-
- - - +
+
+
+

404

+

+ Oops ! Cette page est introuvable. +

+
+ +
+ + + +
+
- -
+
+