-
Notifications
You must be signed in to change notification settings - Fork 90
/
style.css
110 lines (91 loc) · 1.72 KB
/
style.css
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
body {
margin: 0;
padding: 0;
}
.interface {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
}
.interface .input, .interface .output {
position: absolute;
top: 0;
right: 0;
left: 0;
width: 100%;
border: none;
margin: 0;
font-family: 'Menlo', 'Monaco', 'Consolas', courier, monospace;
font-size: 16px;
line-height: 1.5;
box-sizing: border-box;
white-space: pre-wrap;
word-break: break-word;
}
.interface .input {
overflow: auto;
outline: none;
background: none;
resize: none;
padding: 20px;
}
.interface .output {
overflow: hidden;
padding: 20px 0;
}
.interface .output div {
display: block;
padding: 0 20px;
}
.interface .output div.highlight {
background-color: #f9f9f9;
}
.interface .output .code {
color: #E9E9E9;
}
.interface .output .code:before {
content: attr(data-code);
}
.interface .output .hint:before {
content: attr(data-prefix);
color: #E9E9E9;
white-space: pre;
}
.interface .output .hint {
z-index: 1;
position: absolute;
white-space: pre;
}
.interface .output .help {
color: silver;
}
.interface .output .result {
color: silver;
}
.interface .output .error {
color: red;
}
@media (prefers-color-scheme: dark) {
body, textarea {
background-color: #212121;
color: #EEEEEE;
}
.interface .output div.highlight {
background-color: #424242;
}
.interface .output .code {
color: #616161;
}
.interface .output .hint:before {
color: #616161;
}
.interface .output .help {
color: #757575;
}
.interface .output .result {
color: #757575;
}
}