Skip to content

Commit

Permalink
templates/500: update 500 error page styling
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Apr 13, 2021
1 parent f5080b0 commit 7be37c3
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions adhocracy-plus/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<head>
<title>500 Error</title>
<style>
html, body { height: 100%;}
html, body { height: 100%; font-family: "SourceSansPro",sans-serif;}
body {margin: 0; position: relative; overflow-x: hidden; font-size: 1.125rem;}
h1 {font-weight: 400; font-size: 2.5rem;}
.wide-wrapper {font-family:"SourceSerifPro",serif; font-size: 1.5rem; margin-left: 20%; margin-right: 20%; padding: 1rem;}
h1 {font-weight: 600; font-size: 3.5rem;}
.wide-wrapper {font-size: 1.5rem; margin-left: 20%; margin-right: 20%; padding: 1rem;}
.small-wrapper {margin-left: 25%; margin-right: 25%;}
.error_body {font-family: "SourceSansPro",sans-serif; display: block; margin: auto; padding-top: 3.5rem}
.error_body {display: block; margin: auto; padding-top: 3.5rem}
.error_link {color: #e3000f;}
.footer {font-family:"SourceSerifPro",serif; position: absolute; display: flex; align-items: center; right: 0; bottom: 0; left: 0; padding-bottom: 1rem;}
.footer {position: absolute; display: flex; align-items: center; right: 0; bottom: 0; left: 0; padding-bottom: 1rem; color: #fff; background-color: #2a2077}
.u-page-ribbon {background-color: #2a2077; height:.5em}
</style>
<meta charset=utf-8>
Expand All @@ -23,12 +23,28 @@
<a href="/" class="platform-brand__link">
<title>Kosmo</title>
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 580.5 131.5" style="enable-background:new 0 0 580.5 131.5;" xml:space="preserve">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 121.6 25.6" style="enable-background:new 0 0 121.6 25.6;" xml:space="preserve">
<style type="text/css">
.st0{fill:#D8D8D8;}
.st0{fill:#2A2077;}
</style>
<rect class="st0" width="200" height="45.3"/>
<g>
<polygon class="st0" points="0.3,0.5 4.6,0.5 4.6,11.7 4.7,11.7 13.5,0.5 18.4,0.5 10.8,10.1 19.6,25.1 14.8,25.1 8.2,13.5
4.6,17.9 4.6,25.1 0.3,25.1 "/>
<path class="st0" d="M42.2,11.7c-0.3-4.9-2.7-7.9-6.3-7.9c-0.8,0-1.6,0.2-2.2,0.4c2.6,1.1,4.1,4.1,4.1,8.4c0,4.4-1.6,7.5-4.1,8.6
c0.7,0.3,1.4,0.4,2.2,0.4c3.6,0,6.1-3.1,6.3-8c0-0.3,0-0.7,0-1C42.2,12.3,42.2,12,42.2,11.7z M25,13.7c0-0.3,0-0.7,0-1
c0-0.3,0-0.7,0-1c0.3-6.4,3.7-10.5,8.6-11.4C32.9,0.1,32.2,0,31.4,0C25,0,20.5,4.7,20.5,12.7c0,8,4.4,12.9,10.8,12.9
c0.8,0,1.5-0.1,2.2-0.2C28.7,24.4,25.4,20.1,25,13.7z"/>
<path class="st0" d="M45.5,21.9l2.5-3c1.8,1.7,4.1,2.8,6.4,2.8c2.8,0,4.3-1.3,4.3-3.2c0-2-1.6-2.7-3.8-3.6l-3.4-1.5
c-2.4-1-5-2.9-5-6.5C46.6,3,50.1,0,54.9,0c2.9,0,5.7,1.2,7.6,3.1l-2.2,2.8c-1.6-1.3-3.2-2.1-5.3-2.1c-2.3,0-3.9,1.1-3.9,2.9
c0,1.9,1.9,2.7,3.9,3.5l3.3,1.4c2.9,1.2,5,3.1,5,6.6c0,4-3.3,7.3-8.8,7.3C51,25.5,47.8,24.2,45.5,21.9z"/>
<path class="st0" d="M67.7,0.5h4.9l4.4,12c0.5,1.6,1,3.2,1.6,4.8h0.2c0.5-1.6,1-3.3,1.6-4.8l4.3-12h4.9v24.6h-4V13.8
c0-2.3,0.3-5.5,0.6-7.8h-0.2l-6,16.8h-2.6l-4.1-11.1l-2-5.7h-0.2c0.2,2.3,0.6,5.6,0.6,7.8v11.3h-3.9V0.5z"/>
<path class="st0" d="M116.1,11.7c-0.3-4.9-2.7-7.9-6.3-7.9c-0.8,0-1.6,0.2-2.2,0.4c2.6,1.1,4.1,4.1,4.1,8.4c0,4.4-1.6,7.5-4.1,8.6
c0.7,0.3,1.4,0.4,2.2,0.4c3.6,0,6.1-3.1,6.3-8c0-0.3,0-0.7,0-1C116.1,12.3,116.1,12,116.1,11.7z M99,13.7c0-0.3,0-0.7,0-1
c0-0.3,0-0.7,0-1c0.3-6.4,3.7-10.5,8.6-11.4c-0.7-0.1-1.5-0.2-2.2-0.2c-6.4,0-10.8,4.7-10.8,12.7c0,8,4.4,12.9,10.8,12.9
c0.8,0,1.5-0.1,2.2-0.2C102.6,24.4,99.3,20.1,99,13.7z"/>
</g>
</svg>
</a>
</div>
Expand All @@ -49,6 +65,5 @@ <h1>500</h1>
<p><a href="https://liqd.net">Liquid Democracy e.V.</a> Am Sudhaus 2, 12053, Berlin, tel. +49 (0) 30 6298 4840, e-mail. hallo@liqd.net</p>
</div>
</footer>
<div class="u-page-ribbon"></div>
</body>
</html>

0 comments on commit 7be37c3

Please sign in to comment.