-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
56 lines (50 loc) · 978 Bytes
/
index.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
* {
color: #eee;
font-family: 'Courier New', Courier, monospace;
font-size: 10vh;
margin: 0;
letter-spacing: 1px;
line-height: 120%;
word-break: break-all;
}
body {
display: grid;
grid-template-rows: 1fr 1fr;
height: 100svh;
overflow: hidden;
background-color: #333;
}
textarea,
#highlight {
grid-row: 1 / span 1;
grid-column: 1 / span 1;
margin: 5px;
resize: none;
background-color: transparent;
border: 1px solid #AAA;
border-radius: 0;
padding: 1vh;
overflow-y: auto;
}
#highlight {
background-color: #444;
white-space-collapse: preserve;
}
#highlight,
#highlight * {
color: transparent;
pointer-events: none;
user-select: none;
}
#result {
display: flex;
justify-content: center;
align-items: center;
overflow-y: auto;
border: 1px solid transparent;
margin: 5px;
}
.highlight-content {
background-color: #AAA;
border-radius: 3vh;
}