169 lines
2.7 KiB
HTML
169 lines
2.7 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>404</title>
|
|
<style>
|
|
/*Variables*/
|
|
.left-section .inner-content {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: "Fira Sans", sans-serif;
|
|
color: #f5f6fa;
|
|
}
|
|
|
|
.background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(#0C0E10, #446182);
|
|
}
|
|
.background .ground {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 25vh;
|
|
background: #0C0E10;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.background .ground {
|
|
height: 0vh;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
margin: 0 auto;
|
|
width: 85%;
|
|
height: 100vh;
|
|
padding-bottom: 25vh;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.container {
|
|
flex-direction: column;
|
|
padding-bottom: 0vh;
|
|
}
|
|
}
|
|
|
|
.left-section {
|
|
position: relative;
|
|
}
|
|
|
|
.left-section {
|
|
width: 265px;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.left-section {
|
|
width: 100%;
|
|
height: 40%;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
}
|
|
@media (max-width: 770px) {
|
|
.left-section .inner-content {
|
|
position: relative;
|
|
padding: 1rem 0;
|
|
}
|
|
}
|
|
|
|
.heading {
|
|
text-align: center;
|
|
font-size: 9em;
|
|
line-height: 1.3em;
|
|
margin: 2rem 0 0.5rem 0;
|
|
padding: 0;
|
|
text-shadow: 0 0 1rem #fefefe;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.heading {
|
|
font-size: 7em;
|
|
line-height: 1.15;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.subheading {
|
|
text-align: center;
|
|
max-width: 480px;
|
|
font-size: 1.5em;
|
|
line-height: 1.15em;
|
|
padding: 0 1rem;
|
|
margin: 0 auto;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.subheading {
|
|
font-size: 1.3em;
|
|
line-height: 1.15;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.right-section {
|
|
width: 50%;
|
|
}
|
|
@media (max-width: 770px) {
|
|
.right-section {
|
|
width: 100%;
|
|
height: 60%;
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@keyframes glow {
|
|
0% {
|
|
text-shadow: 0 0 1rem #fefefe;
|
|
}
|
|
50% {
|
|
text-shadow: 0 0 1.85rem #ededed;
|
|
}
|
|
100% {
|
|
text-shadow: 0 0 1rem #fefefe;
|
|
}
|
|
|
|
}
|
|
.bottom{
|
|
position: absolute;
|
|
bottom:30px;
|
|
left:0;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="background">
|
|
<div class="ground"></div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="left-section">
|
|
<div class="inner-content">
|
|
<h1 class="heading">404</h1>
|
|
<p class="subheading">page not found</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bottom">
|
|
<p style="text-align:center">Powered by PicHome</p>
|
|
</div>
|
|
</body>
|
|
</html> |