Skip to content

Instantly share code, notes, and snippets.

@gseldon
Created April 5, 2020 18:19
Show Gist options
  • Save gseldon/bd1823b0bff50b49fc2352cc30958ec3 to your computer and use it in GitHub Desktop.
Save gseldon/bd1823b0bff50b49fc2352cc30958ec3 to your computer and use it in GitHub Desktop.
503 error page
<script src="https://use.fontawesome.com/87f6f824d6.js"></script>
<i class="fa fa-cogs cog-faint" aria-hidden="true"></i>
<div class="error-container">
<div class="error">
<div class="number">503</div>
<div class="title">We'll be back shortly.</div>
<div class="message">We are currently under maintenance. Please try again soon.</div>
</div>
</div>
html, body{
height:100%;
width:100%;
font-family: "Open Sans", sans-serif;
}
body{
background: #1a6d62;
background: radial-gradient(ellipse at center, #2d9c8e 0%,#1d4641 100%);
}
.error-container{
width:100%;
text-align:center;
position:absolute;
top: 0;
bottom: 0;
height:365px;
margin:auto;
}
.error{
display:inline-block;
max-width: 360px;
}
.number{
font-size:160px;
color:#eef7f5;
text-shadow: 1px 1px 10px #2e4844;
}
.title{
color:#eef7f5;
font-size:28px;
text-shadow: 1px 1px 5px #0e2926;
margin-bottom: 50px;
}
.message{
font-size:20px;
text-shadow: 1px 1px 10px #25746a;
}
.cog-faint{
position:absolute;
font-size:400px!important;
color:#72ada5;
opacity:0.1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment