summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/error.css
diff options
context:
space:
mode:
authorKainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com>2022-07-05 01:44:05 -0700
committerGitHub <noreply@github.com>2022-07-05 17:44:05 +0900
commit40656e3ee2ece0df754bad612f92449f40c43e1d (patch)
treede8b21773286ab6044ac598b098aee30893f93f5 /packages/backend/src/server/web/error.css
parentfix: pagination uses API correctly (#8925) (diff)
downloadmisskey-40656e3ee2ece0df754bad612f92449f40c43e1d.tar.gz
misskey-40656e3ee2ece0df754bad612f92449f40c43e1d.tar.bz2
misskey-40656e3ee2ece0df754bad612f92449f40c43e1d.zip
feat: styled error screen (#8930)
* Styled error screen * Make details margin auto * Update boot.css * Replace fontawesome with tabler svg * Remove hr * Add new style to flush screen * Rename to `error.css`
Diffstat (limited to 'packages/backend/src/server/web/error.css')
-rw-r--r--packages/backend/src/server/web/error.css98
1 files changed, 98 insertions, 0 deletions
diff --git a/packages/backend/src/server/web/error.css b/packages/backend/src/server/web/error.css
new file mode 100644
index 0000000000..9f8f905017
--- /dev/null
+++ b/packages/backend/src/server/web/error.css
@@ -0,0 +1,98 @@
+* {
+ font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif;
+}
+
+body,
+html {
+ background-color: #222;
+ color: #dfddcc;
+ justify-content: center;
+ margin: auto;
+ width: 80%;
+ padding: 10px;
+ text-align: center;
+}
+
+button {
+ border-radius: 999px;
+ padding: 0px 12px 0px 12px;
+ border: none;
+ cursor: pointer;
+ margin-bottom: 12px;
+}
+
+.button-big {
+ background: linear-gradient(90deg, rgb(134, 179, 0), rgb(74, 179, 0));
+ line-height: 50px;
+}
+
+.button-big:hover {
+ background: rgb(153, 204, 0);
+}
+
+.button-small {
+ background: #444;
+ line-height: 40px;
+}
+
+.button-small:hover {
+ background: #555;
+}
+
+.button-label-big {
+ color: #222;
+ font-weight: bold;
+ font-size: 20px;
+ padding: 12px;
+}
+
+.button-label-small {
+ color: rgb(153, 204, 0);
+ font-size: 16px;
+ padding: 12px;
+}
+
+a {
+ color: rgb(134, 179, 0);
+ text-decoration: none;
+}
+
+p,
+li {
+ font-size: 16px;
+}
+
+.dont-worry,
+#msg {
+ font-size: 18px;
+}
+
+.icon-warning {
+ color: #dec340;
+ height: 4rem;
+}
+
+h1 {
+ font-size: 32px;
+}
+
+code {
+ font-family: Fira, FiraCode, monospace;
+}
+
+details {
+ background: #333;
+ margin-bottom: 2rem;
+ padding: 0.5rem 1rem;
+ border-radius: 5px;
+ justify-content: center;
+ margin: auto;
+}
+
+summary {
+ cursor: pointer;
+}
+
+summary > * {
+ display: inline;
+}