From a482c547aeb0e562eb27090ec4721e610d08210a Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Mon, 15 Jul 2019 14:34:33 +0200 Subject: [PATCH] Update default 404 page refs. https://github.com/TryGhost/Ghost/issues/10899 - removed broken ghost "illustration" from default frontend 404 page - refined style of 404 page to be more theme agnostic --- core/server/public/ghost.css | 15 ++++++++++----- core/server/views/error.hbs | 4 ---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/core/server/public/ghost.css b/core/server/public/ghost.css index cedf76fa7e..b3de4addef 100644 --- a/core/server/public/ghost.css +++ b/core/server/public/ghost.css @@ -777,6 +777,7 @@ h2 { justify-content: center; align-items: center; user-select: text; + padding: 8vw; } .error-details { @@ -798,9 +799,11 @@ h2 { .error-code { margin: 0; - color: #979797; - font-size: 7.8rem; + color: #C5D2D9; + font-size: 10vw; + font-weight: 600; line-height: 0.9em; + letter-spacing: -0.4vw; } @@ -808,21 +811,23 @@ h2 { margin: 0; padding: 0; border: none; - color: #979797; - font-size: 1.9rem; + color: #54666D; + font-size: 2.3rem; font-weight: 300; + line-height: 1.3em; } .error-message { display: flex; flex-direction: column; margin: 15px; + align-items: center; } .error-message a { - margin-top: 5px; font-size: 1.4rem; line-height: 1; + margin: 8px 0; } .error-link { diff --git a/core/server/views/error.hbs b/core/server/views/error.hbs index 18eabc9dff..c2759d9c17 100644 --- a/core/server/views/error.hbs +++ b/core/server/views/error.hbs @@ -25,10 +25,6 @@
-

{{statusCode}}

{{message}}