-
Notifications
You must be signed in to change notification settings - Fork 3
/
panel.css
52 lines (52 loc) · 836 Bytes
/
panel.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
* {
padding: 0;
margin: 0;
}
html,
body {
height: 100%;
overflow: hidden;
width: 100%;
}
body {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: fit-content(100%);
}
#controls,
#exports {
padding: 4px;
}
textarea,
#preview {
border-color: #000;
border-style: solid;
border-width: 1px 0 0 0;
}
#exports {
display: flex;
}
#exports > button {
margin-left: 4px;
}
.flexSpace {
flex-grow: 1;
}
#preview {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEXv7+////9mUzfqAAAAFElEQVQIW2NksN/ISAz+f9CBGAwAxtEddZlnB4IAAAAASUVORK5CYII=");
overflow: auto;
}
textarea {
border-right-width: 1px;
padding: 4px;
resize: none;
}
iframe {
background: #fff;
border: 0;
}
label > input {
margin-right: 0.5em;
position: relative;
top: 0.25em;
}