-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
62 lines (53 loc) · 1.02 KB
/
styles.css
File metadata and controls
62 lines (53 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
55
56
57
58
59
60
61
62
/* TextareaDecorator.css
* written by Colin Kuebler 2012
* Part of LDT, dual licensed under GPLv3 and MIT
* Provides styles for rendering a textarea on top of a pre with scrollbars
*/
/* settings you can play with */
.ldt,
.ldt label {
padding: 4px;
}
.ldt,
.ldt pre,
.ldt textarea {
font-size: 16px !important;
/* resize algorithm depends on a monospaced font */
font-family: monospace !important;
color: black;
}
.ldt textarea {
color: rgba(0, 0, 0, 0.2) !important;
}
/* settings you shouldn't play with unless you have a good reason */
.ldt {
overflow: auto;
width: 100%;
height: 100%;
position: relative;
}
.ldt pre {
margin: 0;
overflow: initial;
}
.ldt label {
position: absolute;
top: 0;
left: 0;
display: inline;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
cursor: text;
}
.ldt textarea {
margin: 0;
padding: 0;
border: 0;
background: 0;
outline: none;
resize: none;
min-width: 100%;
min-height: 100%;
overflow: hidden;
}