Skip to content

Commit

Permalink
Adjust error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
robflop committed Nov 22, 2017
1 parent c17d300 commit fe32af7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/errorTemplates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<body>
<!--Content box-->
<div id="box">
<p>Page not found!</p>
<p class="big-red">Page not found!</p>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions src/pages/errorTemplates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<body>
<!--Content box-->
<div id="box">
<p>Something exploded! (500 Internal Server Error)</p>
<p>If you keep seeing this page, contact me via <a href="mailto:[email protected]">E-Mail</a> or on <a href="https://www.reddit.com/message/compose/?to=robflop&amp;subject=megumin.love">reddit</a>!</p>
<p class="big-red">Something exploded! (500 Internal Server Error)</p>
<p>If you keep seeing this page, contact me via <a href="mailto:[email protected]">E-Mail</a> or on <a href="https://www.reddit.com/message/compose/?to=robflop&amp;subject=megumin.love+Error+(Code+500)">reddit</a>!</p>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion src/pages/errorTemplates/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<body>
<!--Content box-->
<div id="box">
<p>Currently in maintenance mode. Check back in a bit!</p>
<p class="big-red">Currently in maintenance mode. Check back in a bit!</p>
</div>
</body>
</html>
10 changes: 10 additions & 0 deletions src/resources/css/error_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ div#box {
}

p {
text-align: center;
color: white;
}

p > a {
color: white;
}

.big-red {
margin: 0;
color: #a50000;
font-size: 72px;
text-align: center;
Expand Down

0 comments on commit fe32af7

Please sign in to comment.