forked from grimalschi/calque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (70 loc) · 1.25 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
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', 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;
}