-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
156 lines (138 loc) · 3.14 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
---
layout: default
previewimg: https://cdn.jsdelivr.net/gh/zhanghecool/yoyoyo/assets/images/default.jpg
---
<style type="text/css" media="screen">
@import url("https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&family=Roboto:wght@500&display=swap");
* {
box-sizing: 0;
margin: 0;
padding: 0;
cursor: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4424790/cursors-edge.png"),
auto;
}
body {
background: -webkit-gradient(
linear,
left top,
right top,
color-stop(50%, white),
color-stop(50%, #383838)
);
background: linear-gradient(to right, white 50%, #383838 50%);
font-family: "Roboto", sans-serif;
font-size: 18px;
font-weight: 500;
line-height: 1.5;
color: white;
}
div {
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
height: 100vh;
max-width: 1000px;
width: calc(100% - 4rem);
margin: 0 auto;
}
div > * {
display: -webkit-box;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-flow: column;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
height: 100vh;
max-width: 500px;
width: 100%;
padding: 2.5rem;
}
aside {
background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4424790/right-edges.png");
background-position: top right;
background-repeat: no-repeat;
background-size: 25px 100%;
}
aside img {
display: block;
height: auto;
width: 100%;
}
main {
text-align: center;
}
main h1 {
font-family: "Fontdiner Swanky", cursive;
font-size: 4rem;
color: #c5dc50;
margin-bottom: 1rem;
}
main p {
margin-bottom: 2.5rem;
}
main p em {
font-style: italic;
color: #c5dc50;
}
main button {
font-family: "Fontdiner Swanky", cursive;
font-size: 1rem;
color: #383838;
border: none;
background-color: #f36a6f;
padding: 1rem 2.5rem;
-webkit-transform: skew(-5deg);
transform: skew(-5deg);
-webkit-transition: all 0.1s ease;
transition: all 0.1s ease;
cursor: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/4424790/cursors-eye.png"),
auto;
}
main button:hover {
background-color: #c5dc50;
-webkit-transform: scale(1.15);
transform: scale(1.15);
}
@media (max-width: 700px) {
body {
background: #383838;
font-size: 16px;
}
div {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-flow: column;
}
div > * {
max-width: 700px;
height: 100%;
}
aside {
background-image: none;
background-color: white;
}
aside img {
max-width: 300px;
}
}
</style>
<div>
<aside>
<img
src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/4424790/Mirror.png"
alt="404 Image"
/>
</aside>
<main>
<h1>Sorry!</h1>
<p>
Either you aren't cool enough to visit this page or it doesn't exist
<em>. . . like your social life.</em>
</p>
<button>You can go now!</button>
</main>
</div>