Skip to content

Instantly share code, notes, and snippets.

@tcdw
Created March 2, 2018 08:39
Show Gist options
  • Save tcdw/bd4c69275f08a7ad1f39808fc5c7ce68 to your computer and use it in GitHub Desktop.
Save tcdw/bd4c69275f08a7ad1f39808fc5c7ce68 to your computer and use it in GitHub Desktop.
五年以后我终于给自己糊了套像模像样的错误页面
<!-- by tcdw, CC 4.0 BY -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#0277bd">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>403 - Forbidden</title>
<style>
body {
background-color: #0277bd;
margin: 30px 16px;
font-size: 14px;
font-family: "lucida grande", "lucida sans unicode", "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN Normal", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "SimSun", sans-serif;
}
.container {
background-color: #FFF;
max-width: 600px;
margin: 0 auto;
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.12) 3px 3px 12px 3px;
}
.container h1 {
margin: 0;
background-color: #bddbf9;
padding: 18px 16px;
text-align: center;
font-size: 28px;
border-radius: 8px 8px 0 0;
}
.container div {
padding: 14px;
line-height: 24px;
}
.container2 {
margin: 6px auto 0px auto;
text-align: center;
}
.container2 a {
color: #72cafe;
text-decoration: none;
}
.container2 a:hover {
color: #d5f0ff;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>403 - Forbidden</h1>
<div>你目前没有权限访问这个页面。<br>如果你认为你应该可以访问,请与本站管理员联系。</div>
</div>
<div class="container2">
<a href="https://www.tcdw.net">吐槽大王部落格</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment