-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
demo.css
128 lines (106 loc) · 1.68 KB
/
demo.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
123
124
125
126
127
128
html, body {
margin: 0;
padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
background-color: #fbfbfb;
height: 100%;
}
textarea {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 12px;
}
#header {
margin-top: 1em;
text-align: center;
}
#header > h1 {
margin-top: 0;
}
#header img {
float: left;
}
#bothContainers {
position: absolute;
top: 0;
bottom: 0;
margin-top: 5em;
width: 100%;
}
#leftContainer, #rightContainer {
margin: 0;
padding: 0;
position: absolute;
width: 48.5%;
top: 0;
bottom: 0;
}
#leftContainer {
float: left;
left: 1%;
}
#rightContainer {
float: right;
right: 1%;
}
#rightContainer > * {
float: right;
}
.label {
float: none !important;
}
.pane {
margin: 1.6em 0em 0.2em;
padding: 0.6em;
display: block;
border: 1px solid #ccc;
border-radius: 2px;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
overflow: auto;
}
#previewPane {
background-color: #f3eeee;
}
#outputPane {
background-color: #6c6666;
color: #fff;
display: none;
}
#syntaxPane {
background-color: #e6dede;
background-color: #f7ecec;
display: none;
}
#inputPane {
background-color: #fff;
}
#previewPane {
padding: 0;
}
#previewPane > * {
margin-left: 4px;
margin-right: 4px;
}
#previewPane > blockquote {
margin-left: 3em;
}
#previewPane > :first-child {
margin-top: 4px; /* pane padding */
}
#previewPane * {
line-height: 1.4em;
}
#previewPane code {
font-size: 1.3em;
}
.github-ribbon {
position: absolute;
top: 0;
right: 0;
border: 0;
z-index: 1000;
}