Repository navigation
Redesign the 404 and 500 pages - #368
Merged
Merged
Conversation
The redesign in ea481b6 left the error pages with a three-line patch and the original clipart, which never matched the logo colours. Bring them in line with the rest of the site: house typography and spacing, an illustration from the same family as the banner art, and a real pair of actions instead of a single link. Use mechanic.svg on both pages, recoloured from its teal and coral accents to the site red so it matches lists.svg and its siblings, and size it at 360px, inside the band the banner illustrations use. Remove the #error-404 and #error-500 background rules, which pulled in the old clipart, and the .error-container rule, which no template used. The 404.svg and 500.svg files stay in the tree but are now unreferenced. Shorten the 404 message so it fits on one line.
gflofst
approved these changes
Nov 23, 2026
adilger
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The redesign in ea481b6 gave the error pages a three-line CSS patch and left the 2020 clipart in place. This brings them in line with the rest of the site.
What changed
#16181dheadings,#6b7079body at 15px/1.6, centred, with the paragraph capped at 440px.mechanic.svg, from the same stock family as the banner art (1080x1080, black line work with a single accent). Its teal#00b3b3and coral#ff6b6baccents were remapped to the site red#d63b1e, so it matcheslists.svg,graphs.svgandcontact.svg. Sized at 360px, inside the 358-385px band the banner illustrations use, withbackground-size: containso it shrinks on narrow phones..button-highlightback to the lists plus a secondary.button— Browse all lists on the 404, Contact us on the 500, so a server error gives people somewhere to report it. Previously a single.buttonlink.#error-404and#error-500background rules that pulled in the old clipart, and.error-container, which no template referenced.404.svgand500.svgstay in the tree but are now unused — happy to delete them in a follow-up.The
Configure::read('debug')dev-error blocks at the top of both templates are untouched.Verification
/,/releases,/contact).mechanic.svgserves asimage/svg+xmlwith the final palette#d63b1e+#fff.php -lclean on both templates;composer cs-checkpasses, though it only scanssrc/andtests/.php -land by sharing its structure with the 404, which does render.The illustration was checked before import: 36
<path>elements and nothing else, no scripts, event handlers or external references.