diff --git a/assets/hanyuu.css/auth.css b/assets/hanyuu.css/auth.css deleted file mode 100644 index dd6beeb..0000000 --- a/assets/hanyuu.css/auth.css +++ /dev/null @@ -1,120 +0,0 @@ -.auth { - margin: 0 auto; - padding: 10px; - padding-top: 10vh; - box-sizing: content-box; -} - -.auth-header { - font-size: 5em; - line-height: 1.5em; - color: #a77bca; - text-shadow: 0 1px 5px #a77bca; - text-align: center; - padding: 10px 0; -} - -.auth-avatar { - text-align: center; - margin: 10px 0; -} -.auth-avatar-image { - width: 100px; - height: 100px; - overflow: hidden; - border-radius: 5%; - display: inline-block; -} -.auth-avatar img { - vertical-align: middle; - width: 100%; - height: 100%; -} - -.auth-login { - max-width: 400px; - width: 100%; - margin: 0 auto; -} - -.auth-fields { - max-width: 300px; - width: 100%; - margin: 0 auto; - margin-bottom: 10px; -} - -.auth-input { - display: block; - width: 100%; - border-left: 5px solid #aaa; - margin: 10px 0; - padding: 2px 7px; - padding-right: 12px; - transition: border-color .2s; -} -.auth-input:focus-within { - border-color: #a77bca; -} -.auth-input-title { - display: block; - font-size: 1.2em; - line-height: 1.5em; -} -.auth-input-value { - display: block; -} -.auth-input-value input { - display: block; - width: 100%; - border-width: 0; - background-color: inherit; - outline-style: none !important; - font-size: 1.2em; - line-height: 1.5em; - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; -} - -.auth-buttons { - max-width: 200px; - width: 100%; - margin: 0 auto; -} - -.auth-button { - display: block; - width: 100%; - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size: 12px; - line-height: 1.5em; - background-color: #bbb; - border-width: 0; - border-radius: 5px; - margin: 5px 0; - padding: 5px; - color: #222; - text-align: center; - text-decoration: none; - cursor: default; - transition: background-color .2s; -} -.auth-button:hover, -.auth-button:focus { - background-color: #ccc; -} -.auth-button:active { - background-color: #aaa; -} - -.auth-button-primary { - font-size: 1.3em; - background-color: #a77bca; - color: #fff; -} -.auth-button-primary:hover, -.auth-button-primary:focus { - background-color: #b28bd1; -} -.auth-button-primary:active { - background-color: #925bbd; -} diff --git a/assets/hanyuu.css/main.css b/assets/hanyuu.css/main.css index d4d7f28..a29618a 100644 --- a/assets/hanyuu.css/main.css +++ b/assets/hanyuu.css/main.css @@ -27,5 +27,3 @@ body { .hidden { display: none !important; } - -@include auth.css; diff --git a/public/index.php b/public/index.php index ee50838..f23cfb0 100644 --- a/public/index.php +++ b/public/index.php @@ -16,15 +16,13 @@ set_exception_handler(function(\Throwable $ex) { } header('Content-Type: text/html; charset=utf-8'); - //echo file_get_contents(HAU_DIR_PUBLIC . '/error-500.html'); - echo '500'; + echo file_get_contents(HAU_DIR_PUBLIC . '/error-500.html'); exit; }); if(file_exists(HAU_ROOT . '/.migrating')) { http_response_code(503); - //echo file_get_contents(HAU_DIR_PUBLIC . '/error-503.html'); - echo '503'; + echo file_get_contents(HAU_DIR_PUBLIC . '/error-503.html'); exit; }