💄 update: 404 style

This commit is contained in:
shenyu 2020-04-14 20:06:54 +08:00
parent 586f38c9ed
commit c0d20c3732

View File

@ -1,48 +1,62 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>404</title> <title>404</title>
<meta name="keywords" content="Hexo,404,Design"> <meta name="keywords" content="Hexo,Ayer,404,Design">
<meta name="description" content="Tribute Forrest Gump"> <meta name="description" content="hexo theme ayer page 404.">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<style> <style>
html,figure { html,
margin: 0; figure {
padding: 0; margin: 0;
overflow-x: hidden; padding: 0;
} overflow-x: hidden;
body{ }
margin: 20px;
overflow: hidden; body {
} margin: 20px;
h1,h3{ overflow: hidden;
width: 100%; }
text-align: center;
} h1,
.forrestgump img{ h3 {
width: 50rem; width: 100%;
margin-left: 50%; text-align: center;
transform: translateX(-50%); color: #403e3e;
} }
@media screen and (max-width: 768px){
.forrestgump img{ h3 a{
width: 100%; color: #0681d0;
} }
</style>
</head> .forrestgump img {
<body> width: 52rem;
<div class="notfound"> margin-left: 50%;
<a class="notfound-link" href="/"> transform: translateX(-50%);
<img width="30" src="data:image/svg+xml;base64,PHN2ZyB0PSIxNTYyODQyNjI3NDA5IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgcC1pZD0iNTIxNDgiIHdpZHRoPSI4MDAiIGhlaWdodD0iODAwIj48cGF0aCBkPSJNMTk0LjYgNDc5LjFoNzQ5LjF2NTcuNkgxODYuNEw1MjggODc4LjMgNDg3LjMgOTE5IDEyMSA1NTIuNyA4MC4zIDUxMmw0MDctNDA3IDQwLjcgNDAuN3oiIGZpbGw9IiIgcC1pZD0iNTIxNDkiLz48L3N2Zz4="> border-radius: 5%;
</a> opacity: .8;
<figure class="forrestgump"> }
<figcaption>
<h1 style="color: #6b0b0c;">404<br>Not Found!</h1> @media screen and (max-width: 768px) {
<h3 style="color: #14206a;">Life was like a journey on the sea, you never know what you're going to get.</h3> .forrestgump img {
</figcaption> width: 100%;
<img src="/images/404.jpg"> }
</figure> </style>
</div> </head>
</body> <body>
<div class="notfound">
<a class="notfound-link" href="/">
<img width="40" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAGq0lEQVR4Xu1bXahUVRT+1pnxvRexNIT8iYz+SBOuzt6zx5uaWQ9FJulDSillaUpaUUZK2Q9ZaZYlSWmUVjeKyjAFnX32GTRSIaISMqVIr0gP+X5nzop9nXM583/m3Jmr3HHDvMxZ+1trfWf/rL32OoQOb9Th/uMyAZdHwBAyMGPatPH5ZHK8wzwOROMB2J9tJ8F80ic6lcznTx48dOjkUJnV1inQLcRNBaJZBMxkYFaTTn1HRHsKzJ4x5niTfSOLt5wApdQt8P1FALoB3BDZknqCRMfA7MFxdmqtf24JZhGkZQRIKSc6wDIAjwEY0chIAnqZ6CwzEwGjAVzZqA+APgDv+sBWY8yJCPINRQZNwIyurjGFZHIZEVnnr6ih0WPmHof5UJ6o1/O8s+Vy8+bNS/zX2zumL5kcA99XRHQ3gK4aeOeZeWsin9968PDhMw29rCMwKAKUUlPg+x8DmFShg/kHBvYXmL/J5XKn4hiplJrAzHOIeQ4A+ytvJ4h5edbz9sXBt31iEzBDSukDBwAky5QfIWBT1phdcY2q1i8j5QIGVgK4rex5AcBD2pidcfTFIiAjxFwm2lOm8DSATSNHjdrU09NjjWp5s9Pk33PnLAn2d3WZgpXamM3NKm2aACXlCwDWlSgi+jJRKDx9IOZQb9ZopdR1xalXPhrWa2NKbWsA3hQBSson7Fsuw1yrjdnQrBOtkFdSHgSQCWMR811Zz/s+Kn5kApSUDwLYUaIMmJ815ouoytohlxHiQyZaHMZ2gPRBY0wUfZEIyAgxm4ksq4k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y/DwyEhkhZiFRG9GQz/phIi/dOgk1NixXWgJCXeeUnRC8VOnZsWrzYK7CmxYy5GLAHVrsbgOJl25PKjxhb15LpTqXEFx3FbdjVmlVVcjgItuSNohcPlGCqd7gHzfcH/g74ctUA1rse3ZD1vRTuciIuppLS3wOE0e2uux61B1Qok4iZL4zpYr19GyvsZ+Dwk07oCiQC0WokMHOcarfVf7XAqKqYSoiIH2fISmRAJlUVSF7FUJiPELiZ6IExW24qkQiRUK5PbAaL1QzUaulOpawtE20CkykZKe8vkAmUdXSgZkNDRpbID06GTi6UHRkInl8uHF6CO/WCiIhzt1E9mqgUuHfnRVL0IruM+m4sazl5MuYa1whfTuKHQfZmAoWD5UtbxPw6Pum6CDZJRAAAAAElFTkSuQmCC">
</a>
<figure class="forrestgump">
<figcaption>
<h1>404<br>Not Found!</h1>
<h3>Life was like a journey on the sea, you never know what you're going to get.</h3>
<h3>亲,获取不到该路径的页面呢,请检查一下哦,可能你还需要仔细阅读 <a href="https://hexo.io/docs/">Hexo</a><a href="https://github.com/Shen-Yu/hexo-theme-ayer">Ayer</a> 的说明文档~</h3>
</figcaption>
<img src="/images/404.jpg">
</figure>
</div>
</body>
</html> </html>