-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
140 lines (121 loc) · 2.67 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<div class="mars"></div>
<img src="https://mars-404.templateku.co/img/404.svg" class="logo-404" />
<img src="https://mars-404.templateku.co/img/meteor.svg" class="meteor" />
<p class="title">Oh no!!</p>
<p class="subtitle">
You’re either misspelling the URL <br /> or requesting a page that's no longer here.
</p>
<div align="center">
<a class="btn-back" href="https://onlinephotoeditor.goonlinetools.com/">Back to previous page</a>
</div>
<img src="https://mars-404.templateku.co/img/astronaut.svg" class="astronaut" />
<img src="https://mars-404.templateku.co/img/spaceship.svg" class="spaceship" />
<style>
@import url('https://fonts.googleapis.com/css?family=Nunito:400,600,700');
$nunito-font: 'Nunito', sans-serif;
// mixins
@mixin breakpoint($point) {
@if $point==mobile {
@media (max-width: 480px) and (min-width: 320px) {
@content ;
}
}
}
// keyrames
@keyframes floating {
from { transform: translateY(0px); }
65% { transform: translateY(15px); }
to { transform: translateY(-0px); }
}
html {
height: 100%;
}
body{
background-image: url('https://mars-404.templateku.co/img/star.svg'),linear-gradient(to bottom, #05007A, #4D007D);
height: 100%;
margin: 0;
background-attachment: fixed;
overflow: hidden;
}
.mars{
left:0;
right:0;
bottom:0;
position:absolute;
height: 27vmin;
background: url('https://mars-404.templateku.co/img/mars.svg') no-repeat bottom center;
background-size: cover;
}
.logo-404{
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 16vmin;
width: 30vmin;
@include breakpoint(mobile){
top: 45vmin;
}
}
.meteor{
position: absolute;
right: 2vmin;
top: 16vmin;
}
.title{
color: white;
font-family: $nunito-font;
font-weight: 600;
text-align: center;
font-size: 5vmin;
margin-top: 31vmin;
@include breakpoint(mobile){
margin-top: 65vmin;
}
}
.subtitle{
color: white;
font-family: $nunito-font;
font-weight: 400;
text-align: center;
font-size: 3.5vmin;
margin-top: -1vmin;
margin-bottom: 9vmin;
}
.btn-back{
border: 1px solid white;
color: white;
height: 5vmin;
padding: 12px;
font-family: $nunito-font;
text-decoration: none;
border-radius: 5px;
&:hover{
background: white;
color: #4D007D;
}
@include breakpoint(mobile){
font-size: 3.5vmin;
}
}
.astronaut{
position: absolute;
top: 18vmin;
left: 10vmin;
height: 30vmin;
animation: floating 3s infinite ease-in-out;
@include breakpoint(mobile){
top: 2vmin;
}
}
.spaceship{
position: absolute;
bottom: 15vmin;
right: 24vmin;
@include breakpoint(mobile){
width: 45vmin;
bottom: 18vmin;
}
}
</style>