forked from grimalschi/calque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (88 loc) · 1.5 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
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.interface {
position: absolute;
top: 0;
right: 350px;
bottom: 0;
left: 0;
height: 100%;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
box-sizing: border-box;
}
.interface .input, .interface .output {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
font-family: monospace;
font-size: 16px;
line-height: 1.5;
padding: 20px;
padding-bottom: 0;
box-sizing: border-box;
white-space: pre;
}
.interface .input {
overflow: auto;
border: none;
outline: none;
background: none;
resize: none;
}
.interface .output {
overflow: hidden;
}
.interface .output div {
display: block;
}
.interface .output .prefix:before {
content: attr(data-prefix);
color: lightgrey;
}
.interface .output .data {
z-index: 1;
position: relative;
}
.interface .output .empty {
visibility: hidden;
}
.interface .output .result {
color: silver;
}
.interface .output .error {
color: red;
}
.info {
position: absolute;
top: 0;
right: 0;
bottom: 0;
height: 100%;
width: 350px;
padding: 40px;
box-sizing: border-box;
overflow: auto;
font-family: Arial;
}
.info h1 {
margin-top: 0;
margin-bottom: 0px;
}
.info h2 {
margin-bottom: 0px;
}
.info hr {
border: 1px solid #E6E6E6;
border-bottom: none;
}
.info pre:after {
content: attr(data-result);
color: grey;
}