27 lines
597 B
1
.moonlight-error-boundary {
2
margin: 0 0 15px;
3
padding: 10px;
4
border-radius: 5px;
5
font-size: 1rem;
6
font-weight: 300;
7
line-height: 22px;
8
color: var(--text-normal, white);
9
background: hsl(var(--red-400-hsl) / 0.1);
10
border: 2px solid hsl(var(--red-400-hsl) / 0.5);
11
12
.theme-light & {
13
color: var(--text-normal, black) !important;
14
}
15
16
& > h3 {
17
margin-bottom: 0.25rem;
18
}
19
20
& > .hljs {
21
background: var(--background-secondary);
22
border: 1px solid var(--background-tertiary);
23
white-space: pre-wrap;
24
font-family: var(--font-code);
25
user-select: text;
26
}
27
}
28