-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (92 loc) · 1.53 KB
/
style.css
File metadata and controls
98 lines (92 loc) · 1.53 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
GFMarkdownEditor
please see https://github.com/romaricdrigon/GFMarkdownEditor
*/
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
}
/* central page */
#parent { /* we use id because classes will be manipulated by javascript */
height: -webkit-calc(100% - 40px);
height: -moz-calc(100% - 40px);
height: calc(100% - 40px);
}
.editor-pane {
float: left;
position: relative; /* will force #editor to stay inside */
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #333;
clear: both;
}
.editor {
height: 100%;
width: 100%;
}
.preview-pane {
top: 0;
margin-left: 0;
width: 100%;
height: 100%;
display: none;
}
.preview {
height: 100%;
width: 100%;
overflow: scroll;
word-wrap: break-word;
border: none;
}
/* Gliimpse mode */
.gliimpse .editor-pane {
width: 100%;
}
.gliimpse .preview-pane {
margin-left: 0;
display: none;
width: 100%;
}
/* two panes mode */
.panes .editor-pane {
width: 50%;
}
.panes .preview-pane {
margin-left: 50%;
display: block;
width: 50%;
}
/* footer */
.footer {
background: #333;
bottom: 0;
height: 40px;
line-height: 40px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11pt;
letter-spacing: 1px;
text-align: center;
color: #777;
}
.footer a {
color: #ccc;
}
.grey-text {
color: #666;
}
.grey-text a {
color: #888;
}
.toolbar {
display: inline;
}
/* cheat sheet */
.cheat-sheet {
display: none;
}