blessing-skin-server/templates/error.tpl.php

42 lines
1.9 KiB
PHP
Raw Normal View History

2016-03-12 18:37:06 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title>出现错误 - Blessing Skin Server</title>
2016-03-26 18:46:03 +08:00
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
2016-03-18 18:40:28 +08:00
<link rel="stylesheet" type="text/css" href="https://work.prinzeugen.net/font/Minecraft.css">
2016-03-12 18:37:06 +08:00
</head>
<body class="container">
<p id="logo"><a href="https://github.com/printempw/blessing-skin-server" tabindex="-1">Blessing Skin Server</a></p>
<h1>出现了一些错误:</h1>
2016-03-27 11:38:27 +08:00
<p>错误码:<?php echo $code; ?></p>
<p>详细信息:<?php echo $message; ?></p>
2016-03-12 18:37:06 +08:00
</body>
<style type="text/css">
2016-03-27 11:38:27 +08:00
html { background: #f1f1f1; margin: 0 20px; font-weight: 400; }
body { background: #FFF none repeat scroll 0% 0%; color: #444; font-family: Ubuntu, 'Microsoft Yahei', 'Microsoft Jhenghei', sans-serif; margin: 140px auto 25px; padding: 20px 20px 10px; max-width: 700px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.13); }
h1, h2 { border-bottom: 1px solid #DEDEDE; clear: both; color: #666; font-size: 24px; }
a:active, a:hover { color: #00a0d2; }
a { color: #0073aa; }
#logo a, p, h1, h2 { font-weight: 400; }
#logo, h1, h2 { padding: 0px 0px 7px; }
p { padding-bottom: 2px; font-size: 14px; line-height: 1.5; }
#logo a { font-family: Minecraft, sans-serif; font-size: 50px; color: #666; height: 84px; line-height: 1.3em; margin: -130px auto 25px; padding: 0; outline: 0; text-decoration: none; overflow: hidden; display: block; }
#logo { margin: 6px 0 14px; border-bottom: none; text-align: center; }
2016-03-12 18:37:06 +08:00
/* Mobile phone */
@media (max-width: 48em) {
2016-03-27 11:38:27 +08:00
#logo a { font-size: 40px; }
2016-03-12 18:37:06 +08:00
}
@media (max-width: 35.5em) {
2016-03-27 11:38:27 +08:00
#logo a { font-size: 30px; }
2016-03-12 18:37:06 +08:00
}
</style>
</html>