-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.css
121 lines (120 loc) · 2.01 KB
/
editor.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
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
html, body {
margin: 0;
padding: 0;
font: 12px 'Open Sans', Helvetica, Arial, sans-serif;
height: 100%;
}
body {
padding: 79px 0 0 0;
box-sizing: border-box;
background: #fff;
}
body > img {
position: absolute;
top: 4px;
left: 0px;
}
body > div.editor, #rendered {
width: 50%;
height: 50%;
float: left;
vertical-align: top;
display:inline-block;
box-sizing: border-box;
padding: 10px;
border: 1px solid #eee;
background: #f8f8f8;
position: relative;
}
#rendered iframe {
height: 100%;
width: 100%;
border: 0;
margin: 0;
padding: 0;
}
textarea {
height: 100%;
width: 100%;
box-sizing: border-box;
}
.dropdown {
position: relative;
}
.examples {
position: absolute;
right: 23px;
top: 24px;
}
.examples .next:before {
content: '\f054';
font: 11px FontAwesome;
}
.examples .prev:before {
content: '\f053';
font: 11px FontAwesome;
}
.examples > * {
display: inline-block;
}
h1 {
position: absolute;
top: 5px;
left: 207px;
font-size: 28px;
text-shadow: 0 2px 8px rgba(0,0,0,.15);
color: #445;
}
h6 {
font-size: 30px;
margin: 20px 30px;
}
.cm-tab {
visibility: hidden;
width: 2em;
}
.cm-s-solarized.CodeMirror {
box-shadow: inset 0 0 12px rgba(0,0,0,.15);
}
.CodeMirror {
height: 100%;
box-sizing: border-box;
}
.CodeMirror-scroll {
font-size: 14px;
line-height: 16px;
z-index: 100;
position: initial;
cursor: text;
padding: 0 7px;
}
.CodeMirror:after {
opacity: .06;
position: absolute;
bottom: -3px;
right: 8px;
font: 60px Calibri, Helvetica, Arial, sans-serif;
font-weight: bold;
z-index: 1;
}
.CodeMirror pre {
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
.editor.css .CodeMirror:after {
content: 'CSS';
}
.editor.less .CodeMirror:after {
content: 'LESS';
}
.editor.html .CodeMirror:after {
content: 'HTML';
}
.error {
font-size: 16px;
border: 1px solid #800;
background: #fdd;
border-radius: 4px;
margin: 8px;
padding: 10px;
}