-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.css
104 lines (98 loc) · 2.17 KB
/
app.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
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
display: flex;
flex-direction: column;
}
header {
margin: 0;
padding: 0 0 .5rem 0;
flex: none;
}
header h1 {
background-color: #557;
color: #fdfdfd;
font-weight: lighter;
font-size: 1.75rem;
padding: .125rem 1rem .125rem 1rem;
margin: 0;
}
#options {
padding: 0 1rem 0 1rem;
margin: .85rem 0 .85rem 0;
font-size: .85rem;
}
#options label {
white-space: nowrap;
}
#options input[type=checkbox] {
margin-left: 1em;
}
#main {
display: flex;
flex-direction: row;
flex: 1;
border-top: 1px solid #aaa;
}
#editor-container {
flex: 1;
overflow: scroll;
}
#output-container {
flex: 1;
padding: .5em .5em .5em 1.5em;
border-left: .5rem solid #eaeaea;
overflow: scroll;
}
#editor-controls {
width: 50%;
float: left;
}
#editor-controls button {
padding: .25rem .75rem .25rem .75rem;
margin-left: 1rem;
cursor: pointer;
text-transform: lowercase;
}
#output-controls {
width: 50%;
float: right;
text-align: right;
text-transform: lowercase;
}
#output-controls label {
display: inline-block;
cursor: pointer;
padding: .25rem .75rem .25rem .75rem;
border: 1px solid #aaa;
}
#output-controls input[type=radio] {
display: none;
}
#output-controls input[type=radio] + label {
background-color: unset;
}
#output-controls input[type=radio]:checked + label {
background-color: #557;
color: #fdfdfd;
}
.markdown-body .deep-link {
margin-left: -20px;
}
.markdown-body .deep-link-icon {
visibility: hidden;
}
.markdown-body h1:hover .deep-link .deep-link-icon,
.markdown-body h2:hover .deep-link .deep-link-icon,
.markdown-body h3:hover .deep-link .deep-link-icon,
.markdown-body h4:hover .deep-link .deep-link-icon,
.markdown-body h5:hover .deep-link .deep-link-icon,
.markdown-body h6:hover .deep-link .deep-link-icon {
visibility: visible;
}
#editor-container pre.ace_editor { margin-top: 0; }
#output-container.source, #output-container.debug {
background-color: #f7f7f7;
padding-left: 0;
}