forked from grimalschi/calque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.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: 14px;
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: #E4E4E4;
}
.interface .output .code {
color: #B8C7D3;
}
.interface .output .code:before {
content: attr(data-code);
}
.interface .output .hint:before {
content: attr(data-prefix);
color: #B8C7D3;
white-space: pre;
}
.interface .output .hint {
z-index: 1;
position: absolute;
white-space: pre;
}
.interface .output .help {
color: #00AAC9;
}
.interface .output .result {
color: #00AAC9;
}
.interface .output .error {
color: red;
}
@media (prefers-color-scheme: dark) {
body, textarea {
background-color: #2D2A2E;
color: #EEEEEE;
}
.interface .output div.highlight {
background-color: #242225;
}
.interface .output .code {
color: #848088;
}
.interface .output .hint:before {
color: #848088;
}
.interface .output .help {
color: #8DCAD5;
}
.interface .output .result {
color: #8DCAD5;
}
}