1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

new 404 page

This commit is contained in:
avinal
2021-01-03 13:08:53 +05:30
parent ee504750ed
commit 7a5cc12666
7 changed files with 387 additions and 781 deletions
-323
View File
@@ -1,323 +0,0 @@
/*
* Glitch - 404 Page
* Build Date: October 2016
* Author: joashp
*/
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono%7CSpace+Mono");
/*
* http://meyerweb.com/eric/tools/css/reset/
* v2.0 | 20110126
* License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font - size: 100 %;
font: inherit;
vertical - align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
display: block;
}
body {
line - height: 1;
}
ol,
ul {
list - style: none;
}
blockquote,
q {
quotes: none;
}
blockquote: before,
blockquote: after,
q: before,
q: after {
content: '';
content: none;
}
table {
border - collapse: collapse;
border - spacing: 0;
}
/* ---------------glitch 404 style---------------------- */
html {
background: radial-gradient(#000, #111);
color: white;
overflow: hidden;
height: 100%;
user-select: none;
}
.error-code {
font-family: "Share Tech Mono";
text-align: center;
font-size: 75px;
font-style: italic;
text-align: center;
width: 100px;
height: 60px;
line-height: 60px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: -60px;
right: 0;
animation: noise 2s linear infinite;
overflow: default;
}
.error-code:after {
font-family: "Share Tech Mono";
content: 'ME';
font-size: 80px;
font-style: italic;
text-align: center;
width: 150px;
height: 60px;
line-height: 60px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: 0;
color: #00ffbf;
animation: noise-1 .2s linear infinite;
}
.info {
text-align: center;
font-size: 15px;
font-style: italic;
text-align: center;
width: 200px;
height: 60px;
line-height: 60px;
margin: auto;
position: absolute;
top: 140px;
bottom: 0;
left: 0;
right: 0;
animation: noise-3 1s linear infinite;
}
.error-code:before {
font-family: "Share Tech Mono";
content: 'ME';
font-size: 80px;
font-style: italic;
text-align: center;
width: 100px;
height: 60px;
line-height: 60px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: 0;
color: red;
animation: noise-2 .2s linear infinite;
}
@keyframes noise-1 {
0%,
20%,
40%,
60%,
70%,
90% {
opacity: 0;
}
10% {
opacity: .1;
}
50% {
opacity: .5;
left: -6px;
}
80% {
opacity: .3;
}
100% {
opacity: .6;
left: 2px;
}
}
@keyframes noise-2 {
0%,
20%,
40%,
60%,
70%,
90% {
opacity: 0;
}
10% {
opacity: .1;
}
50% {
opacity: .5;
left: 6px;
}
80% {
opacity: .3;
}
100% {
opacity: .6;
left: -2px;
}
}
@keyframes noise {
0%,
3%,
5%,
42%,
44%,
100% {
opacity: 1;
transform: scaleY(1);
}
4.3% {
opacity: 1;
transform: scaleY(1.7);
}
43% {
opacity: 1;
transform: scaleX(1.5);
}
}
@keyframes noise-3 {
0%,
3%,
5%,
42%,
44%,
100% {
opacity: 1;
transform: scaleY(1);
}
4.3% {
opacity: 1;
transform: scaleY(4);
}
43% {
opacity: 1;
transform: scaleX(10) rotate(60deg);
}
}
-314
View File
@@ -1,314 +0,0 @@
/*
* Particles - 404 Page
* Build Date: October 2016
* Author: joashp
*/
/* custom CSS files */
@import url(common/font-awesome.min.css);
@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono%7CSpace+Mono");
/*
* http://meyerweb.com/eric/tools/css/reset/
* v2.0 | 20110126
* License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
display: block;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* ---------------particles 404 style---------------------- */
body {
padding: 0;
margin: 0;
font-size: 18px;
background: #212121;
}
.container {
min-height: 100vh;
position: relative;
padding: 240px 0;
box-sizing: border-box;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.content {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
transform: translate(-50%, -50%);
}
.message {
text-align: center;
color: #ffffff;
}
.message-heading {
font-family: "Share Tech Mono";
font-weight: 900;
text-transform: uppercase;
letter-spacing: .7em;
font-size: 2rem;
padding: 0 0 0 1.4em;
}
.message-description {
font-family: "Space Mono";
line-height: 42px;
font-size: 15px;
letter-spacing: .15rem;
padding: 0 20px;
max-width: 600px;
margin: auto;
}
.links {
max-width: 600px;
margin: 40px auto 0;
text-align: center;
}
.links a {
width: 170px;
display: inline-block;
padding: 15px 0;
margin: 0 15px;
border: 1px solid #ffffff;
color: #ffffff;
text-decoration: none;
font-family: "Space Mono";
text-transform: uppercase;
font-size: 11px;
letter-spacing: .1rem;
position: relative;
}
.links a:before {
content: '';
height: 46px;
background: #ffffff;
position: absolute;
top: 0;
right: 0;
width: 0;
transition: all .3s;
}
.links a:after {
transition: all .3s;
z-index: 999;
position: relative;
content: "github";
}
.links a:hover:before {
width: 170px;
}
.links a:hover:after {
color: #000000;
}
.links a:nth-child(2) {
background: #ffffff;
color: #000000;
}
.links a:nth-child(2):before {
background: #212121;
left: 0;
}
.links a:nth-child(2):after {
content: "report error";
}
.links a:nth-child(2):hover:after {
color: #ffffff;
}
.social {
position: absolute;
bottom: 15px;
left: 15px;
}
.social-list {
margin: 0;
padding: 0;
list-style-type: none;
}
.social-list li {
display: inline-block;
margin: 5px 10px;
}
.social-list li a {
color: #ffffff;
}
@media (max-width: 480px) {
.message-heading {
font-size: 1rem;
margin-bottom: 30px;
}
.message-description {
font-size: .7rem;
line-height: 2rem;
}
.links a {
margin: 10px;
width: 280px;
}
.social {
left: 50%;
margin-left: -55px;
}
}
File diff suppressed because one or more lines are too long