summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/error.css
blob: 803bd1b4b52a87f50ae2e16cc73f24fae438353c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
 * SPDX-FileCopyrightText: syuilo and misskey-project
 *
 * SPDX-License-Identifier: AGPL-3.0-only
 */

* {
	font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif;
}

#misskey_app,
#splash {
	display: none !important;
}

body,
html {
	background-color: #222;
	color: #dfddcc;
	justify-content: center;
	margin: auto;
	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: 1.2em;
	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;
}

.icon-warning {
	color: #dec340;
	height: 4rem;
	padding-top: 2rem;
}

h1 {
	font-size: 1.5em;
	margin: 1em;
}

code {
	display: block;
	font-family: Fira, FiraCode, monospace;
	background: #333;
	padding: 0.5rem 1rem;
	max-width: 40rem;
	border-radius: 10px;
	justify-content: center;
	margin: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

#errorInfo summary {
	cursor: pointer;
}

#errorInfo summary>* {
	display: inline;
}

@media screen and (max-width: 500px) {
	#errorInfo {
		width: 50%;
	}
}