-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (70 loc) · 1.04 KB
/
style.css
File metadata and controls
77 lines (70 loc) · 1.04 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.top-pane {
display: flex;
flex: 1;
background-color: lightblue;
height: 50vh;
/* overflow: hidden; */
}
.code-editors {
display: flex;
flex: 1;
}
.editor {
/* margin: 10px; */
/* display: flex; */
flex: 1;
/* margin: 10px; */
/* padding: 10px; */
/* height: 100%; */
/* margin: 20px 10px 40px 10px; */
margin: 10px;
}
.editor textarea {
width: 100%;
height: 90%;
resize: none;
padding: 10px;
}
.bottom-pane {
flex: 1;
/* background-color: lightgreen; */
height: 50vh;
}
#iframe-ele {
width: 100%;
height: 100%;
border: none;
}
.CodeMirror {
width: 100%;
height: 92%;
max-height: 40vh;
max-width: 32vw;
}
@media (max-width: 800px) {
.top-pane {
display: block;
flex: unset;
height: 100%;
}
.code-editors {
flex-direction: column;
height: 100vh;
flex: unset;
}
.editor {
flex: unset;
height: 100%;
}
.CodeMirror {
width: 100%;
height: 90%;
max-height: 25vh;
max-width: 90vw;
}
}