1 Star 0 Fork 36

风笛 / Pichome

forked from zyx0814 / Pichome 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
404.html 2.67 KB
一键复制 编辑 原始数据 按行查看 历史
zyx0814 提交于 2024-01-31 01:00 . PicHome2.0
<html>
<head>
<meta charset="utf-8">
<title>404</title>
<style>
/*Variables*/
.left-section .inner-content {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
}
body {
font-family: "Fira Sans", sans-serif;
color: #f5f6fa;
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(#0C0E10, #446182);
}
.background .ground {
position: absolute;
bottom: 0;
width: 100%;
height: 25vh;
background: #0C0E10;
}
@media (max-width: 770px) {
.background .ground {
height: 0vh;
}
}
.container {
position: relative;
margin: 0 auto;
width: 85%;
height: 100vh;
padding-bottom: 25vh;
display: flex;
flex-direction: row;
justify-content: space-around;
}
@media (max-width: 770px) {
.container {
flex-direction: column;
padding-bottom: 0vh;
}
}
.left-section {
position: relative;
}
.left-section {
width: 265px;
}
@media (max-width: 770px) {
.left-section {
width: 100%;
height: 40%;
position: absolute;
top: 0;
}
}
@media (max-width: 770px) {
.left-section .inner-content {
position: relative;
padding: 1rem 0;
}
}
.heading {
text-align: center;
font-size: 9em;
line-height: 1.3em;
margin: 2rem 0 0.5rem 0;
padding: 0;
text-shadow: 0 0 1rem #fefefe;
}
@media (max-width: 770px) {
.heading {
font-size: 7em;
line-height: 1.15;
margin: 0;
}
}
.subheading {
text-align: center;
max-width: 480px;
font-size: 1.5em;
line-height: 1.15em;
padding: 0 1rem;
margin: 0 auto;
}
@media (max-width: 770px) {
.subheading {
font-size: 1.3em;
line-height: 1.15;
max-width: 100%;
}
}
.right-section {
width: 50%;
}
@media (max-width: 770px) {
.right-section {
width: 100%;
height: 60%;
position: absolute;
bottom: 0;
}
}
@keyframes glow {
0% {
text-shadow: 0 0 1rem #fefefe;
}
50% {
text-shadow: 0 0 1.85rem #ededed;
}
100% {
text-shadow: 0 0 1rem #fefefe;
}
}
.bottom{
position: absolute;
bottom:30px;
left:0;
width: 100%;
}
</style>
</head>
<body>
<div class="background">
<div class="ground"></div>
</div>
<div class="container">
<div class="left-section">
<div class="inner-content">
<h1 class="heading">404</h1>
<p class="subheading">page not found</p>
</div>
</div>
</div>
<div class="bottom">
<p style="text-align:center">Powered by PicHome</p>
</div>
</body>
</html>
PHP
1
https://gitee.com/bagpipe-feng/Pichome.git
git@gitee.com:bagpipe-feng/Pichome.git
bagpipe-feng
Pichome
Pichome
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891