提交 65d28b11 编写于 作者: 璃白.'s avatar 璃白. 🌻

添加404页面

上级 a10f829e
<!DOCTYPE html>
<!-- saved from url=(0035)https://codechina.csdn.net/404.html -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport" />
<link
rel="shortcut icon"
type="image/png"
href="https://codechina.csdn.net/uploads/-/system/appearance/favicon/1/logo_icon.png"
id="favicon"
data-original-href="/uploads/-/system/appearance/favicon/1/logo_icon.png"
/>
<title>开源开发者加速空间</title>
<style>
body {
color: #666;
text-align: center;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: auto;
font-size: 14px;
}
h1 {
font-size: 56px;
line-height: 100px;
font-weight: 400;
color: #456;
}
h2 {
font-size: 24px;
color: #666;
line-height: 1.5em;
}
h3 {
color: #456;
font-size: 20px;
font-weight: 400;
line-height: 28px;
}
hr {
max-width: 800px;
margin: 18px auto;
border: 0;
border-top: 1px solid #eee;
border-bottom: 1px solid white;
}
img {
max-width: 200px;
display: block;
margin: 40px auto;
}
a {
line-height: 100px;
font-weight: 400;
color: #4a8bee;
font-size: 18px;
text-decoration: none;
}
.container {
margin: auto 20px;
}
.go-back {
display: none;
}
</style>
</head>
<body>
<a href="https://codechina.csdn.net/">
<img src="./files/404.svg" alt="404 Logo" />
</a>
<h1>404</h1>
<div class="container">
<h3>The page could not be found or you don't have permission to view it.</h3>
<hr />
<p>The resource that you are attempting to access does not exist or you don't have the necessary permissions to view it.</p>
<p>Make sure the address is correct and that the page hasn't moved.</p>
<p>Please contact your CODE CHINA administrator if you think this is a mistake.</p>
<a href="javascript:history.back()" class="js-go-back go-back" style="display: inline">Go back</a>
</div>
<script>
;(function () {
var goBack = document.querySelector('.js-go-back')
if (history.length > 1) {
goBack.style.display = 'inline'
}
})()
</script>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册