-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcodeflask.css
56 lines (51 loc) · 1.01 KB
/
codeflask.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
.CodeFlask{
position:relative;
overflow:hidden;
}
.CodeFlask__textarea,
.CodeFlask__pre{
box-sizing:border-box;
position:absolute;
top:0;
left:0;
width:100%;
padding:1rem !important;
border:none;
font-family: "微软雅黑", "YaHei-Consolas", Arial, Consolas, monospace;
font-size:12px;
background:transparent;
white-space:pre-wrap;
line-height:1.5em;
word-wrap: break-word;
}
.CodeFlask__textarea{
border:none;
background:transparent;
outline:none;
resize:none;
opacity:0.4;
color:#000;
margin:0;
z-index:1;
height:100%;
-webkit-overflow-scrolling: touch;
-webkit-text-fill-color: transparent;
}
.CodeFlask__pre{
z-index:2;
pointer-events:none;
overflow-y:auto;
margin:0;
min-height:100%;
margin:0 !important;
background:transparent !important;
}
.CodeFlask__code{
font-size:inherit;
font-family:inherit;
color:inherit;
display:block;
}
.CodeFlask__is-code{
white-space: pre;
}