generated from Pixelbite-CSS/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplayground.css
More file actions
54 lines (49 loc) · 1.02 KB
/
playground.css
File metadata and controls
54 lines (49 loc) · 1.02 KB
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
.custom-editor {
width: 100%;
height: calc(100vh - 140px) !important;
overflow-y: scroll;
display: inline-flex;
padding: 12px;
}
.custom-lines {
position: relative;
top: -2px;
width: 20px;
text-align: right;
font-size: 14px;
height: 100%;
}
.custom-lines span {
counter-increment: linenumber;
}
.custom-lines span::before {
content: counter(linenumber);
display: block;
font-family: var(--font-mono-family);
color: rgba(255, 255, 255, .2);
}
.custom-textarea {
position: relative;
top: 0;
left: 0;
padding: 0;
background: transparent;
font-size: 14px;
outline: none !important;
border: none;
margin-left: 12px;
tab-size: 17px;
position: relative;
top: -3px;
color: #aaa;
resize: none;
width: 500% !important;
overflow: hidden;
white-space: pre;
overflow-wrap: normal;
font-family: var(--font-mono-family);
}
#preview-window-inside {
height: calc(100vh - 90px) !important;
overflow-y: scroll;
}