Updated error pages with new design

This commit is contained in:
Edgar P. Burkhart 2021-12-30 17:31:34 +01:00
parent b9446d9282
commit 630b9118b9
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 49 additions and 41 deletions

View file

@ -1,51 +1,54 @@
html { @import url('https://rsms.me/inter/inter.css');
box-sizing: border-box;
text-align: center; :root {
} /* Warm Gray */
*, *::before, *::after { --gray-100: #171414;
box-sizing: inherit; --gray-30: #cac5c4;
--gray-10: #f7f3f2;
--red-40: #ff8389;
} }
body { body {
position: absolute; background: var(--gray-100);
top: 0; color: var(--gray-10);
left: 0; font-family: Inter var, Inter, sans-serif;
height: 100%; font-size: 1rem;
width: 100%; line-height: 1.375rem;
margin: 0; font-weight: 400;
color: #000000de; margin: 24px;
font-family: Inter, sans-serif; font-feature-settings: 'ss01', 'ss03';
max-width: 1024px;
} }
h1,h2 { h1,h2,h3,h4,h5,h6 {
display: inline-block; margin: 0;
padding: 0 .2em; color: var(--red-40);
margin: 24px;
font-feature-settings: 'ss01', 'ss02', 'ss03', 'cv11';
} }
h1 { h1 {
color: #d50000; font-size: 3.375rem;
line-height: 4rem;
font-weight: 300;
} }
h2 { h2 {
text-align: left; font-size: 2.625rem;
font-weight: 400; line-height: 3.125rem;
font-weight: 300;
} }
figure { blockquote {
display: block; text-align: justify;
border-top: 5px #dedede solid; font-size: 1rem;
text-align: left; line-height: 1.5rem;
position: relative;
border-left: 5px solid var(--gray-30);
padding-left: 12px;
margin-left: 24px;
} }
cite {
blockquote::after, blockquote::before { font-style: inherit;
font-weight: 800; font-size: .875rem;
color: #dedede; line-height: 1.125rem;
} letter-spacing: .16px;
blockquote::before {
content: "«";
}
blockquote::after {
content: "»";
}
figcaption {
text-align: right;
} }

View file

@ -3,15 +3,20 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="author" content="edpibu" />
<meta name="theme-color" content="#ff8389" />
<meta name="color-scheme" content="dark" />
<link rel="icon" type="image/svg+xml"
href="https://edgarpierre.fr/static/svg/logo.svg" />
<link rel="mask-icon"
href="https://edgarpierre.fr/static/svg/logo.svg" />
<title>{code} - {title}</title> <title>{code} - {title}</title>
<style> <style>
{style} {style}
</style> </style>
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
</head> </head>
<body> <body>
<h1>{code}</h1> <h1>{code}</h1>