-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (111 loc) · 1.81 KB
/
style.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
body {
display: grid;
grid-template-rows: 50px 1fr;
grid-template-columns: 180px 1fr 1fr;
grid-template-areas:
"n v t"
"n v e";
height: 100vh;
margin: 0;
overflow: hidden;
}
.horizontal {
grid-template-rows: repeat(2, 1fr);
grid-template-columns: 180px 50px 1fr;
grid-template-areas:
"n v v"
"n t e";
}
#sidebar {
grid-area: n;
overflow-x: hidden;
overflow-y: auto;
display: flex;
flex-direction: column;
justify-content: space-between;
font-family: sans-serif;//TODO;
color: white;
background: black;
line-height: 25px;
}
iframe {
grid-area: v;
width: 100%;
height: 100%;
background: #222222;
border: none;
}
#editor {
grid-area: e;
background: #1e1e1e;
// important for resizing;
overflow: hidden;
}
#errorContainer {
pointer-events: none;
grid-area: v;
z-index: 1;
margin-left: 25px;
margin-right: 25px;
}
#errorContainer div {
pointer-events:auto;
margin-top: 5px;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
color: white;
background: maroon;
border-radius: 2px;
box-shadow: 2px 2px 3px black;
font-family: Consolas,Lucida Console,Menlo,Monaco,monospace;
}
@keyframes rotate {
from {transform: rotate(0deg);}
to {transform: rotate(90deg);}
}
h3 {
cursor: pointer;
margin-top: 15px;
margin-bottom: 2px;
}
h3:before {
display: inline-block;
width: 20px;
height: 20px;
text-align: center;
line-height: 18px;//TODO this value;
content: "\203A";
}
.open:before {
transform: rotate(90deg);
animation-name: rotate;
animation-duration: 0.4s;
}
ul {
display: none;
list-style-type: none;
padding-left: 20px;
margin: 0px;
}
.open+ul {
display: block;
}
nav ul a {
color: #444444;
text-decoration: none;
}
nav ul a[href] {
color: #EEEEEE;
}
#github {
margin-top: 15px;
text-align: center;
}
#toolbar {
grid-area: t;
background: black;
}
svg {
cursor: pointer;
}