update 404

This commit is contained in:
Nofated095 2023-01-05 17:05:28 +08:00
parent afc9de6e7a
commit fe2b18c172
2 changed files with 302 additions and 123 deletions

View File

@ -1,130 +1,309 @@
---
layout: false
---
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="#000">
<title>404 Not Found</title>
<style>
*{
margin: 0;
padding: 0;
outline: none;
box-sizing: border-box;
font-family: 'Poppins', snams-serif;
}
body{
background: -webkit-repeating-linear-gradient(-45deg, #71b7e6, #69a6ce, #b98acc, #ee8176, #b98acc, #69a6ce, #9b59b6);
height: 100vh;
background-size: 400%;
}
.error-page{
position: absolute;
top: 10%;
left: 17%;
right: 17%;
bottom: 20%;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}
.error-page .content{
max-width: 600px;
text-align: center;
}
.content h1{
position: relative;
font-size: 17vw;
line-height: 1em;
}
.content h1:after{
position: absolute;
content: attr(data-text);
top: 0;
left: 0;
right: 0;
background: -webkit-repeating-linear-gradient(-45deg, #71b7e6, #69a6ce, #b98acc, #ee8176, #b98acc, #69a6ce, #9b59b6);
background-size: 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 1px 1px 2px rgba(255,255,255,0.25);
animation: animate 10s ease-in-out infinite;
}
@keyframes animate {
0%{
background-position: 0 0;
}
25%{
background-position: 100% 0;
}
50%{
background-position: 100% 100%;
}
75%{
background-position: 0 100%;
}
100%{
background-position: 0 0;
}
}
.content h4{
position: relative;
font-size: 2em;
margin-bottom: 20px;
text-transform: uppercase;
color: #000;
min-width: 600px;
}
.content h4:after{
position: absolute;
content: attr(data-text);
top: 0;
left: 0;
right: 0;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
}
.content p{
font-size: 1.2em;
color: #0d0d0d;
}
.content .btns{
margin: 25px 0;
display: inline-flex;
}
.content .btns a{
display: inline-block;
margin: 0 10px;
text-decoration: none;
border: 2px solid #69a6ce;
color: #69a6ce;
font-weight: 500;
padding: 10px 25px;
border-radius: 25px;
text-transform: uppercase;
transition: all 0.3ms ease;
}
html {
font-size: 62.5%;
box-sizing: border-box;
height: -webkit-fill-available
}
.content .btns a:hover{
color: #fff;
background: #69a6ce;
}
</style>
*,
::after,
::before {
box-sizing: inherit
}
body {
font-family: sf pro text, sf pro icons, helvetica neue, helvetica, arial, sans-serif;
font-size: 1.6rem;
line-height: 1.65;
word-break: break-word;
font-kerning: auto;
font-variant: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
hyphens: auto;
height: 100vh;
height: -webkit-fill-available;
max-height: 100vh;
max-height: -webkit-fill-available;
margin: 0
}
::selection {
background: #79ffe1
}
::-moz-selection {
background: #79ffe1
}
a {
cursor: pointer;
color: #0070f3;
text-decoration: none;
transition: all .2s ease;
border-bottom: 1px solid #0000
}
a:hover {
border-bottom: 1px solid #0070f3
}
ul {
padding: 0;
margin-left: 1.5em;
list-style-type: none
}
li {
margin-bottom: 10px
}
ul li:before {
content: '\02013'
}
li:before {
display: inline-block;
color: #ccc;
position: absolute;
margin-left: -18px;
transition: color .2s ease
}
code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
font-size: .92em
}
code:after,
code:before {
content: '`'
}
.container {
display: flex;
justify-content: center;
flex-direction: column;
min-height: 100%
}
main {
max-width: 80rem;
padding: 4rem 6rem;
margin: auto
}
ul {
margin-bottom: 32px
}
.error-title {
font-size: 2rem;
padding-left: 22px;
line-height: 1.5;
margin-bottom: 24px
}
.error-title-guilty {
border-left: 2px solid #ed367f
}
.error-title-innocent {
border-left: 2px solid #59b89c
}
main p {
color: #333
}
.devinfo-container {
border: 1px solid #ddd;
border-radius: 4px;
padding: 2rem;
display: flex;
flex-direction: column;
margin-bottom: 32px
}
.error-code {
margin: 0;
font-size: 1.6rem;
color: #000;
margin-bottom: 1.6rem
}
.devinfo-line {
color: #333
}
.devinfo-line code,
code,
li {
color: #000
}
.devinfo-line:not(:last-child) {
margin-bottom: 8px
}
.docs-link,
.contact-link {
font-weight: 500
}
header,
footer,
footer a {
display: flex;
justify-content: center;
align-items: center
}
header,
footer {
min-height: 100px;
height: 100px
}
header {
border-bottom: 1px solid #eaeaea
}
header h1 {
font-size: 1.8rem;
margin: 0;
font-weight: 500
}
header p {
font-size: 1.3rem;
margin: 0;
font-weight: 500
}
.header-item {
display: flex;
padding: 0 2rem;
margin: 2rem 0;
text-decoration: line-through;
color: #999
}
.header-item.active {
color: #ff0080;
text-decoration: none
}
.header-item.first {
border-right: 1px solid #eaeaea
}
.header-item-content {
display: flex;
flex-direction: column
}
.header-item-icon {
margin-right: 1rem;
margin-top: .6rem
}
footer {
border-top: 1px solid #eaeaea
}
footer a {
color: #000
}
footer a:hover {
border-bottom-color: #0000
}
footer svg {
margin-left: .8rem
}
.note {
padding: 8pt 16pt;
border-radius: 5px;
border: 1px solid #0070f3;
font-size: 14px;
line-height: 1.8;
color: #0070f3
}
@media(max-width:500px) {
.devinfo-container .devinfo-line code {
margin-top: .4rem
}
.devinfo-container .devinfo-line:not(:last-child) {
margin-bottom: 1.6rem
}
.devinfo-container {
margin-bottom: 0
}
header {
flex-direction: column;
height: auto;
min-height: auto;
align-items: flex-start
}
.header-item.first {
border-right: none;
margin-bottom: 0
}
main {
padding: 1rem 2rem
}
body {
font-size: 1.4rem;
line-height: 1.55
}
footer {
display: none
}
.note {
margin-top: 16px
}
}
</style><input type="hidden" id="_w_simile" data-inspect-config="3">
<script type="text/javascript"
src="chrome-extension://odphnbhiddhdpoccbialllejaajemdio/scripts/inspector.js"></script>
</head>
<body>
<div class="error-page">
<div class="content">
<h1 data-text="404">404</h1>
<div class="btns">
<a href="https://nofated.win">Home</a>
<a href="https://blog.nofated.win">Blog</a>
</div>
</div>
<div class="container">
<main>
<p class="devinfo-container"><span class="error-code"><strong>404</strong> Not Found</span>
<span class="devinfo-line">Domain: <code>blog.nofated.win</code></span>
<span class="devinfo-line">UA: <code><script language="JavaScript" type="text/javascript">
document.write(navigator.userAgent);
</script></code></span>
</p><a href="https://blog.nofated.win">
<div class="note">The thing you are looking for is not found. Click here to visit
<code>blog.nofated.win</code>
</div>
</a>
</main>
</div>
</body>
</html>
</html>

View File

@ -18,7 +18,7 @@ comment:
博客使用字节跳动静态资源公共库中的部分静态资源作为 cdn。
博客已进行[萌国ICP](https://icp.gov.moe/)备案,萌备案号是[萌ICP备20214514号](https://icp.gov.moe/?keyword=20214514)。
博客已进行[萌国 ICP ](https://icp.gov.moe/)备案,萌备案号是[萌 ICP 20214514 号](https://icp.gov.moe/?keyword=20214514)。
博客已签约[十年之约](https://www.foreverblog.cn/),可以在[这里](https://www.foreverblog.cn/blog/2712.html)查看详情。按照约定,博客会开十年之久。