custom 404 styling

This commit is contained in:
Heydon Pickering 2017-09-04 16:40:09 +01:00
parent fbe313c022
commit cc0f345e5f
5 changed files with 23 additions and 3 deletions

View File

@ -391,7 +391,7 @@
<main id="main" class="custom-404">
<div>
<svg id="svg17557" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" height="200" width="200" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 200.68132 201.9484">
<svg id="svg17557" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" height="300" width="300" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 200.68132 201.9484">
<path id="path18122" style="fill:currentColor" d="m93.445 186.18c-9.3181-.95839-16.221-3.1758-22.129-7.1084-2.4158-1.6081-3.5517-2.546-5.6861-4.6949-5.3166-5.3527-9.1974-12.062-12.247-21.175-3.5356-10.564-5.565-23.163-6.2929-39.068-.18564-4.0562-.18139-5.8211.0149-6.2022.36615-.7107 1.3533-1.8483 2.1611-2.4905 5.9546-4.7339 20.506-7.3377 44.399-7.9452 10.884-.27673 24.77.31025 33.752 1.4268 8.6081 1.0701 14.103 2.4037 18.184 4.4135 1.514.74558 1.9175 1.0207 2.8462 1.9405 1.6485 1.6328 1.6776 1.7447 1.8604 7.1585.0815 2.4134.15966 4.4025.17362 4.4201.014.0176.37192-.10155.79547-.2648 1.9606-.7557 5.4856-1.8897 7.4188-2.3866 3.4803-.89461 4.6322-1.055 7.5772-1.0548 2.2812.00011 2.7738.0418 3.8219.32336 2.4593.66068 4.2879 1.8579 6.5898 4.3143 3.7398 3.991 5.7353 9.1755 5.5403 14.395-.35373 9.4692-7.7396 19.681-20.838 28.813-6.5178 4.5435-14.507 8.6528-21.442 11.029-3.6714 1.258-6.3697 1.9704-9.1721 2.4214l-1.318.21209-1.4432 1.1514c-6.937 5.5346-15.42 8.8867-25.719 10.164-3.1273.38768-6.3623.46386-8.8469.20831zm51.245-27.84c12.866-3.1338 22.611-10.731 25.885-20.178 1.3087-3.7759 1.2782-7.5513-.0817-10.134-1.2459-2.3664-3.7204-3.7774-6.6242-3.7774-2.2455 0-4.6077.65872-7.5722 2.1116-1.8817.92217-5.9349 3.4797-6.4943 4.0978-.197.21768-.35793.96062-.65668 3.0316-1.2792 8.868-3.5813 16.867-6.846 23.789l-.79064 1.6762.74092-.10105c.40751-.0556 1.5053-.28725 2.4395-.51481zm-39.881-11.38c2.0242-3.0409 3.8811-5.6978 4.1263-5.9041.85045-.71561 2.1154-.67999 2.9169.0821.26115.24832 2.151 2.9676 4.1997 6.0427l3.7249 5.5912.0359-18.318c.0198-10.075.0189-18.336-.002-18.356-.0208-.0208-1.088.11463-2.3715.30105-3.9101.56792-6.9264.78824-11.959.87353l-4.8127.0816.0337 10.561c.0444 13.893.18621 24.838.31993 24.692.059-.0646 1.7636-2.6055 3.7878-5.6464zm-8.8621-31.604c.0434-1.0974.096-1.3108.43075-1.7495.74121-.97122.6856-.96385 7.2839-.96618 8.0784-.003 10.804-.207 16.124-1.2078 2.7205-.51176 3.1672-.50492 3.8378.0588.68824.57851.89471 1.1459.89528 2.4604.00056 1.4741-.30216 1.3818 2.8769.87749 6.3714-1.0106 10.032-2.1365 11.456-3.5236.67245-.65504.69957-1.1507.10029-1.8332-.52438-.59724-1.3024-1.0575-2.6128-1.5457-6.5382-2.4358-20.852-3.9214-37.723-3.9152-16.822.006-31.408 1.5357-37.582 3.9409-1.2206.47549-2.4177 1.2925-2.743 1.872-.81334 1.4491 1.7536 2.9224 7.232 4.1508 6.5819 1.4758 17.731 2.5166 27.947 2.6088l2.4277.0219.0495-1.2499z"/>
<path id="steam1" style="stroke:currentColor;stroke-linecap:round;stroke-width:2.831;fill:none" d="m69.317 18.186c-16.697 13.051-12.991 23.992-.3056 33.933 16.392 13.012 12.685 23.953-.3056 33.933">

View File

@ -786,6 +786,16 @@ h1 svg {
.pattern-section h1 {
padding: 0 !important;
}
/* Custom 404 */
.custom-404 {
text-align: center;
}
.custom-404 * {
margin: 0;
}
.custom-404 svg {
max-width: 100%;
}
/* Utilities */
.vh {
clip: rect(1px, 1px, 1px, 1px);

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{{ define "main"}}
<main id="main" class="custom-404">
<div>
<svg id="svg17557" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" height="200" width="200" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 200.68132 201.9484">
<svg id="svg17557" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" height="300" width="300" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 200.68132 201.9484">
<path id="path18122" style="fill:currentColor" d="m93.445 186.18c-9.3181-.95839-16.221-3.1758-22.129-7.1084-2.4158-1.6081-3.5517-2.546-5.6861-4.6949-5.3166-5.3527-9.1974-12.062-12.247-21.175-3.5356-10.564-5.565-23.163-6.2929-39.068-.18564-4.0562-.18139-5.8211.0149-6.2022.36615-.7107 1.3533-1.8483 2.1611-2.4905 5.9546-4.7339 20.506-7.3377 44.399-7.9452 10.884-.27673 24.77.31025 33.752 1.4268 8.6081 1.0701 14.103 2.4037 18.184 4.4135 1.514.74558 1.9175 1.0207 2.8462 1.9405 1.6485 1.6328 1.6776 1.7447 1.8604 7.1585.0815 2.4134.15966 4.4025.17362 4.4201.014.0176.37192-.10155.79547-.2648 1.9606-.7557 5.4856-1.8897 7.4188-2.3866 3.4803-.89461 4.6322-1.055 7.5772-1.0548 2.2812.00011 2.7738.0418 3.8219.32336 2.4593.66068 4.2879 1.8579 6.5898 4.3143 3.7398 3.991 5.7353 9.1755 5.5403 14.395-.35373 9.4692-7.7396 19.681-20.838 28.813-6.5178 4.5435-14.507 8.6528-21.442 11.029-3.6714 1.258-6.3697 1.9704-9.1721 2.4214l-1.318.21209-1.4432 1.1514c-6.937 5.5346-15.42 8.8867-25.719 10.164-3.1273.38768-6.3623.46386-8.8469.20831zm51.245-27.84c12.866-3.1338 22.611-10.731 25.885-20.178 1.3087-3.7759 1.2782-7.5513-.0817-10.134-1.2459-2.3664-3.7204-3.7774-6.6242-3.7774-2.2455 0-4.6077.65872-7.5722 2.1116-1.8817.92217-5.9349 3.4797-6.4943 4.0978-.197.21768-.35793.96062-.65668 3.0316-1.2792 8.868-3.5813 16.867-6.846 23.789l-.79064 1.6762.74092-.10105c.40751-.0556 1.5053-.28725 2.4395-.51481zm-39.881-11.38c2.0242-3.0409 3.8811-5.6978 4.1263-5.9041.85045-.71561 2.1154-.67999 2.9169.0821.26115.24832 2.151 2.9676 4.1997 6.0427l3.7249 5.5912.0359-18.318c.0198-10.075.0189-18.336-.002-18.356-.0208-.0208-1.088.11463-2.3715.30105-3.9101.56792-6.9264.78824-11.959.87353l-4.8127.0816.0337 10.561c.0444 13.893.18621 24.838.31993 24.692.059-.0646 1.7636-2.6055 3.7878-5.6464zm-8.8621-31.604c.0434-1.0974.096-1.3108.43075-1.7495.74121-.97122.6856-.96385 7.2839-.96618 8.0784-.003 10.804-.207 16.124-1.2078 2.7205-.51176 3.1672-.50492 3.8378.0588.68824.57851.89471 1.1459.89528 2.4604.00056 1.4741-.30216 1.3818 2.8769.87749 6.3714-1.0106 10.032-2.1365 11.456-3.5236.67245-.65504.69957-1.1507.10029-1.8332-.52438-.59724-1.3024-1.0575-2.6128-1.5457-6.5382-2.4358-20.852-3.9214-37.723-3.9152-16.822.006-31.408 1.5357-37.582 3.9409-1.2206.47549-2.4177 1.2925-2.743 1.872-.81334 1.4491 1.7536 2.9224 7.232 4.1508 6.5819 1.4758 17.731 2.5166 27.947 2.6088l2.4277.0219.0495-1.2499z"/>
<path id="steam1" style="stroke:currentColor;stroke-linecap:round;stroke-width:2.831;fill:none" d="m69.317 18.186c-16.697 13.051-12.991 23.992-.3056 33.933 16.392 13.012 12.685 23.953-.3056 33.933">

View File

@ -786,6 +786,16 @@ h1 svg {
.pattern-section h1 {
padding: 0 !important;
}
/* Custom 404 */
.custom-404 {
text-align: center;
}
.custom-404 * {
margin: 0;
}
.custom-404 svg {
max-width: 100%;
}
/* Utilities */
.vh {
clip: rect(1px, 1px, 1px, 1px);