epiceditor 0.0.0 → 0.2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.md +2 -4
- data/README.md +74 -3
- data/Rakefile +5 -11
- data/app/controllers/epiceditor/application_controller.rb +1 -1
- data/app/helpers/epiceditor/application_helper.rb +1 -1
- data/app/views/layouts/epiceditor/application.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/lib/epiceditor.rb +1 -1
- data/lib/epiceditor/engine.rb +10 -3
- data/lib/epiceditor/version.rb +7 -6
- data/vendor/assets/javascripts/epiceditor/epiceditor.js +2899 -0
- data/vendor/assets/stylesheets/epiceditor.css +10 -0
- data/vendor/assets/stylesheets/epiceditor/themes/base/epiceditor.css +70 -0
- data/vendor/assets/stylesheets/epiceditor/themes/editor/epic-dark.css +13 -0
- data/vendor/assets/stylesheets/epiceditor/themes/editor/epic-light.css +12 -0
- data/vendor/assets/stylesheets/epiceditor/themes/preview/bartik.css +167 -0
- data/vendor/assets/stylesheets/epiceditor/themes/preview/github.css +368 -0
- data/vendor/assets/stylesheets/epiceditor/themes/preview/preview-dark.css +121 -0
- metadata +16 -9
- data/app/assets/javascripts/epiceditor/application.js +0 -13
- data/app/assets/stylesheets/epiceditor/application.css +0 -13
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file for EpicEditor assets
|
3
|
+
*
|
4
|
+
*= require epiceditor/themes/base/epiceditor
|
5
|
+
*= require epiceditor/themes/editor/epic-dark
|
6
|
+
*= require epiceditor/themes/editor/epic-light
|
7
|
+
*= require epiceditor/themes/preview/bartik
|
8
|
+
*= require epiceditor/themes/preview/github
|
9
|
+
*= require epiceditor/themes/preview/preview-dark
|
10
|
+
*/
|
@@ -0,0 +1,70 @@
|
|
1
|
+
html, body, iframe, div {
|
2
|
+
margin:0;
|
3
|
+
padding:0;
|
4
|
+
}
|
5
|
+
|
6
|
+
#epiceditor-utilbar {
|
7
|
+
position:fixed;
|
8
|
+
bottom:10px;
|
9
|
+
right:10px;
|
10
|
+
}
|
11
|
+
|
12
|
+
#epiceditor-utilbar button {
|
13
|
+
display:block;
|
14
|
+
float:left;
|
15
|
+
width:30px;
|
16
|
+
height:30px;
|
17
|
+
border:none;
|
18
|
+
background:none;
|
19
|
+
}
|
20
|
+
|
21
|
+
#epiceditor-utilbar button.epiceditor-toggle-preview-btn {
|
22
|
+
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAf9JREFUeNrsVu1twjAQLZmAEcIGYYKGDWACkgkSkPiQ+CifAoEgyQTQDegEpROQDZoRMgH0HToj1yIglKr90Vg62T6f/e4d9gu50+n09BctlwFnwP8TOAgCA10VRr2ZELaHhbBXx3HCVMC+71voXmD6g4Qi2NB13e1DwAAkZhtmmKYRcxsJhHeBPc8bMMufbDU0PxF4vV4TSyth8477csI6lTV/a71er9tioonBarXaIAmLErliNWyqoM8nrJPpHFNLWLcI4xvj5XKpMo2ZgcvzIvs+75S0wKwPPB/CnpWXsG00Gra2WCwshekOVoC9Sb6IGN1ge2HNsWK+B0iJqxAL5oSpYeDJJW02mxVYLAWSGfDtebylA68Bc4wh+ahK5PcxLh6PR5GUpym/iTOfz89PqNVqhRI4iQf1/o174HNMVYDSGeTDmXQ3znogCGrtdpsYVBhER1aH2Wzm8iE7UR74DMTWGNxUQWmNYqTEzq8APoo9sJ8wKoR5eU7T6VQVjZAvx4YvDJWt1Ol0QsTqkppF8EW8/12OhTnSpT2LCe2/KiCTyUQVkJgPuwgb6XG32w05Xui4q0imLLNDxA/uSuZ4PNaZqZlSsejDYfd6veihj8RoNDK5XOUHAen3Dfr9/j7VZxEJ6AwuxCCvhMTM7oNAARhl/0Ay4Az419qXAAMAfBdK7281j6YAAAAASUVORK5CYII=);
|
23
|
+
}
|
24
|
+
|
25
|
+
#epiceditor-utilbar button.epiceditor-toggle-edit-btn {
|
26
|
+
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnVJREFUeNrsV+lt4lAQNtEWAB2QCtZ0ABWsqYB1BU5AgDgkQOISl9cV4FQQtgLYCuKtIN4K4gogM9H3pMmLTTh24c+O9An7+XnOb8aP1G63M64hN8aV5GqGvxyyyfO8Y3S6hDtc2wTfcZyLRPwdvxEbPSviIwjIRtO49s9ONSRLMIGvwkBI+EPYEEqyQmcZdl2Xo3BgcJ90xPUGDh1veLFYWCBK9oQ6P4BgiXVO6fUjg5zCJcE6kVxsLEN4QTlWzO5yuRwlGp7P55zOxz1RRqK2SfKD8BvOG4IHxUqlEnxop9lsZpITa0KWndGwIeQIXswzHbynpK2xzjXbeBfxdDrlhbUWjYyuiJS9fBJxgL3PItKsprNQrVaD1GQyYUVP2oYelDziPoPnT5+k2QajleEC3usI/exM7oYiXor0hpxS8qhLv5FIVVrcBwkp5ueclbS27qNMvkj7kg3nZX1qtVqAaSUN5OGUwn2M4RUb3263plh700E6I7wTKn1suCAW3PF4zL1r1Ov1SBhXZLEJFqGTQCq5N1BZIp3s+DOi5fXcG7lGo1Ea5DIFSWzcq7a4R6uYqJmlkSqHoeGKeq+w905MtGKj0Yje9TE5ID9pqictQQwmXTfh82cIJ0NML0d0QY8MdhMn13A4zENB0hAJEYn6EnGL3MZ0hsyG3Ww2g70jU8lgMOhqHicJz+KfovVkz3J5/FardfhBgDZzS90SeoJ8cXjQJlUAEmZUCx30kYiTfr9vgFRc72+ChCHSzNH+Qgk+fA7b7fZZJ5AAiIRhT4zUv3/Y07LiaPW9yPE2L5jrI/p/d7wVEZe0U8bJkvr/F+ZS8irAAIorRozUvI0gAAAAAElFTkSuQmCC);
|
27
|
+
}
|
28
|
+
|
29
|
+
#epiceditor-utilbar button.epiceditor-fullscreen-btn {
|
30
|
+
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAY5JREFUeNrsV8tthDAQhYgCtoV04BKghK2En5AQBw4IITjwq2RLgBJcwpawHZAxMpGDYGwTFPaQkUbG1sybj58NmNM0GVfIh3GRXBbYEid932N9d1zXHWWAGAb4m+9VsUA0H5SubKkKIGA4qyUC2qKBxSCe541HKln7dV2nVbHRtq0Nw7CXGNtz/jzwqjZ5odtqTOagQRC82KRpGkcS/L2Ok7lXZV3Xp7Q6DMNR2mqNthMhKXLqzcUCc6Wgn3wU1wlX1PboHs8tjaLoyVtLT7JFK2ZZM6CZvWyE+X1Voaj3la3DMA63epGqqm4wfyCBH8xmz1+Z1WVZ2vyqU2HvHtv9OI4PsRpjL91YV2a7pcB8onmOifYFUhSFLQCTnQtkDpokyYv73JBtcAQsA3zGTXJBEgNXgrF3CcrBZGwnC+4uqxHnH+zN8/ybvexZwvZNhlsHbrt5CyCgDtu1XosUe58K4kuOF9EKnKYp20eVrxDUJssyreM0bDg4kIw0EfCbftvqQ6KKYf7/wvyVfAkwAMjqoFSaWbrBAAAAAElFTkSuQmCC);
|
31
|
+
}
|
32
|
+
|
33
|
+
@media
|
34
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
35
|
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
36
|
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
37
|
+
only screen and ( min-device-pixel-ratio: 2),
|
38
|
+
only screen and ( min-resolution: 192dpi),
|
39
|
+
only screen and ( min-resolution: 2dppx) {
|
40
|
+
#epiceditor-utilbar button.epiceditor-toggle-preview-btn {
|
41
|
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABrVBMVEWIiIiHh4eIiIiJiYmEhISEhISEhISMjIyNjY2MjIyNjY2MjIyFhYWDg4OFhYW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ZCkMdOANWeSLEJZklt5StxEWcmLIuw+AHGE+YiEWE67jGxnlO8xv8OGTEBGRRSACmNtYyBUjgcCCKJPLqjYMAeD04ENEGIjQ7AGikuUFNhdF8Vogj0T5bDyqEjh55AwI4N7/hmRTe4zRxEM+ZuKYFSYeEP9HzPtuEFjm9pKf9W5KQLbKhSVMbkymfHL90i+s/wR5PM9iCaYiLOcLTogCrKEIYwkLD19T25/4bR+unSG3bkOQwiG1QZfV6gryBaqL5c01XCCZ9lbOCOvNUpouUOGishSK+dpKUHMZ2M6Jz7ZHNEO+hOoLUWVZZROx6a8hn+VcRWh1EOtBUuhcPiy+pBdg3fZ3DaOj2ma7LtXVW1uj0XVqTW2aS9/bUP8jJfUN3is+N97mp8nV9Wavka9kZ/e6zuzuNP59Hhkbn53+QkzPjo+NZP6TZOSM/L/LfwAJ69Ba3fXmtwAAAABJRU5ErkJggg==);
|
42
|
+
background-size: 30px 30px;
|
43
|
+
}
|
44
|
+
|
45
|
+
#epiceditor-utilbar button.epiceditor-toggle-edit-btn {
|
46
|
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAACNFBMVEWIiIiHh4eIiIiGhoaEhISDg4OCgoKDg4OMjIyNjY2MjIyMjIyLi4uMjIyKioqCgoKNjY2Ojo6Dg4ONjY2FhYWFhYWCgoKKioqKioqLi4uLi4uMjIyLi4uFhYWKioqKioqEhISJiYmJiYmEhISEhISFhYWEhISGhoaHh4eJiYmNjY2Hh4eKioqDg4ODg4OCgoKOjo6Ojo6Dg4OOjo6BgYGOjo6AgICCgoKNjY2Dg4OPj4+BgYGBgYGAgICOjo6BgYGOjo6AgICOjo6BgYGBgYGAgICPj4+QkJCQkJCQkJCQkJCPj4+NjY2IiIiIiIiFhYWFhYWEhISEhISGhoaDg4OGhoaDg4OHh4eDg4OCgoKMjIyLi4uLi4uKioqNjY2KioqNjY2NjY2NjY2Dg4OKioqGhoaJiYmIiIiGhoaFhYWEhISFhYW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4yGUl5ToAORMOaGiflhtkoRKCfq41yTw+GFsHKeeIRUfwwbwKOo/eIATi3GQNivREVxyIZsqeADL1+swuvZEiAJ4UmsEUsVEODRAnNp2iulzekrVAbyJLPrYctJTJ7nGQjI7uMULXBIBjIyQWUWLeAGik0E39sQGKYU0QMmp1vGnADSjj0EFtk5uOjuKzOtgok8r34rxasMzEjDFhjdDJNsE7u2VXh9oYDgNllp/n8IgfzJbwXhq9zlRu5soZWtFFl/Zy8SkaljK0R6inJTEinLQo5aSFE889kkqUWvsCdM37ZcnHYnrNBhably5QyoJDtFuJK1xMF3mHgVlkHM2e4eYB02Xxfts/NwXBuSMWLIG7sTmbb/+Hzj3fy1wuQD6N3DMX5/g0VHDDQ3aXAR4jXsEb5/co9fbLN2KdlJbO/zmM5a0qH+KukXxOnfzoO5GmTr5M7mOoktP4xrfUyffIvQ118pNBiTvq5AeDxNV//W+CFX4Doxg1lHC8FNUAAAAASUVORK5CYII=);
|
47
|
+
background-size: 30px 30px;
|
48
|
+
}
|
49
|
+
|
50
|
+
#epiceditor-utilbar button.epiceditor-fullscreen-btn {
|
51
|
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAA5FBMVEWPj4+JiYmJiYmCgoKGhoaPj4+Li4uEhISAgICNjY2Li4uNjY2QkJCFhYWEhISLi4uHh4eHh4eIiIiHh4eGhoaHh4eEhISOjo6EhISJiYmFhYWJiYmFhYWNjY2NjY2Hh4eOjo6CgoKGhoaKioqKioqJiYmKioqDg4ODg4OBgYGGhoaKioqKioqLi4uMjIyMjIyIiIiIiIiMjIyOjo6GhoaDg4ONjY2EhISPj4+CgoIAAACJiYmHh4eIiIiFhYWCgoKPj4+Li4uAgICKioqEhISGhoaBgYGOjo6MjIyQkJCNjY2Dg4O2Jy/OAAAAO3RSTlMQz0DPEHDPz0DvMDBAQBBAQBAQz88wMM/v7zAw788Q7xAQQM9AEBDPEEAwMO/v7zDvMEBA70BAQEBAAAENmbYAAAG1SURBVHja7dftM0JREMdxD5GkEEqKpBJRSc8rQq7Q////2Dnm3t85jtkTmmGG75t7Z3c/t9fN0Tf6x1/Dz0ZrZGZf/BJ8a9QjM/vCwks9Px5aBcslC+P3nPVmi8dcczrcHHM2flug1CHRYcoYNd0YFlrAL1yHqPOC9g9IdbAfjHAjYFjoT+FI1MfRiAM/cZdEl0+oVidVvRaMcAOMgJWGBUYSVhrWjdfvjKqrq1Vzsu7Cy1Vo7XXZhYuj0ahwfHY+sjo/Oy7woyhitkTQsESsZawstG6VlvDCfIlUmfSVVjpDqtL8goBLbKFhsRcwalxcB100CDkxLLQbJxKwpvb3At7Y2iRuJzd4V26HuM2tDQkPWMOamu1Awkeetx2qtDy/lvZaCW173pGIWetA/xBbF+ZgiVgjGcdutLJ7xO1l9VnMiWGhJdzl4vx4CNpN+ifJXUy7RPEuZ2C1AIY1NG5kHI4Dx8MynnBtovYkqHzi25OyP8ONiKFh3djQsCIecn2i/lBvMU+UXxwi3HyE832jvD0RsLuP8CN3Oh0+feRmixE+g7CdLb43WiEz++Jb+M//x/gB/ArCl0G4nsFuEQAAAABJRU5ErkJggg==);
|
52
|
+
background-size: 30px 30px;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
#epiceditor-utilbar button:last-child {
|
57
|
+
margin-left:15px;
|
58
|
+
}
|
59
|
+
|
60
|
+
#epiceditor-utilbar button:hover {
|
61
|
+
cursor:pointer;
|
62
|
+
}
|
63
|
+
|
64
|
+
.epiceditor-edit-mode #epiceditor-utilbar button.epiceditor-toggle-edit-btn {
|
65
|
+
display:none;
|
66
|
+
}
|
67
|
+
|
68
|
+
.epiceditor-preview-mode #epiceditor-utilbar button.epiceditor-toggle-preview-btn {
|
69
|
+
display:none;
|
70
|
+
}
|
@@ -0,0 +1,167 @@
|
|
1
|
+
body {
|
2
|
+
font-family: Georgia, "Times New Roman", Times, serif;
|
3
|
+
line-height: 1.5;
|
4
|
+
font-size: 87.5%;
|
5
|
+
word-wrap: break-word;
|
6
|
+
margin: 2em;
|
7
|
+
padding: 0;
|
8
|
+
border: 0;
|
9
|
+
outline: 0;
|
10
|
+
background: #fff;
|
11
|
+
}
|
12
|
+
|
13
|
+
h1,
|
14
|
+
h2,
|
15
|
+
h3,
|
16
|
+
h4,
|
17
|
+
h5,
|
18
|
+
h6 {
|
19
|
+
margin: 1.0em 0 0.5em;
|
20
|
+
font-weight: inherit;
|
21
|
+
}
|
22
|
+
|
23
|
+
h1 {
|
24
|
+
font-size: 1.357em;
|
25
|
+
color: #000;
|
26
|
+
}
|
27
|
+
|
28
|
+
h2 {
|
29
|
+
font-size: 1.143em;
|
30
|
+
}
|
31
|
+
|
32
|
+
p {
|
33
|
+
margin: 0 0 1.2em;
|
34
|
+
}
|
35
|
+
|
36
|
+
del {
|
37
|
+
text-decoration: line-through;
|
38
|
+
}
|
39
|
+
|
40
|
+
tr:nth-child(odd) {
|
41
|
+
background-color: #dddddd;
|
42
|
+
}
|
43
|
+
|
44
|
+
img {
|
45
|
+
outline: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
code {
|
49
|
+
background-color: #f2f2f2;
|
50
|
+
background-color: rgba(40, 40, 0, 0.06);
|
51
|
+
}
|
52
|
+
|
53
|
+
pre {
|
54
|
+
background-color: #f2f2f2;
|
55
|
+
background-color: rgba(40, 40, 0, 0.06);
|
56
|
+
margin: 10px 0;
|
57
|
+
overflow: hidden;
|
58
|
+
padding: 15px;
|
59
|
+
white-space: pre-wrap;
|
60
|
+
}
|
61
|
+
|
62
|
+
pre code {
|
63
|
+
font-size: 100%;
|
64
|
+
background-color: transparent;
|
65
|
+
}
|
66
|
+
|
67
|
+
blockquote {
|
68
|
+
background: #f7f7f7;
|
69
|
+
border-left: 1px solid #bbb;
|
70
|
+
font-style: italic;
|
71
|
+
margin: 1.5em 10px;
|
72
|
+
padding: 0.5em 10px;
|
73
|
+
}
|
74
|
+
|
75
|
+
blockquote:before {
|
76
|
+
color: #bbb;
|
77
|
+
content: "\201C";
|
78
|
+
font-size: 3em;
|
79
|
+
line-height: 0.1em;
|
80
|
+
margin-right: 0.2em;
|
81
|
+
vertical-align: -.4em;
|
82
|
+
}
|
83
|
+
|
84
|
+
blockquote:after {
|
85
|
+
color: #bbb;
|
86
|
+
content: "\201D";
|
87
|
+
font-size: 3em;
|
88
|
+
line-height: 0.1em;
|
89
|
+
vertical-align: -.45em;
|
90
|
+
}
|
91
|
+
|
92
|
+
blockquote > p:first-child {
|
93
|
+
display: inline;
|
94
|
+
}
|
95
|
+
|
96
|
+
table {
|
97
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
98
|
+
border: 0;
|
99
|
+
border-spacing: 0;
|
100
|
+
font-size: 0.857em;
|
101
|
+
margin: 10px 0;
|
102
|
+
width: 100%;
|
103
|
+
}
|
104
|
+
|
105
|
+
table table {
|
106
|
+
font-size: 1em;
|
107
|
+
}
|
108
|
+
|
109
|
+
table tr th {
|
110
|
+
background: #757575;
|
111
|
+
background: rgba(0, 0, 0, 0.51);
|
112
|
+
border-bottom-style: none;
|
113
|
+
}
|
114
|
+
|
115
|
+
table tr th,
|
116
|
+
table tr th a,
|
117
|
+
table tr th a:hover {
|
118
|
+
color: #FFF;
|
119
|
+
font-weight: bold;
|
120
|
+
}
|
121
|
+
|
122
|
+
table tbody tr th {
|
123
|
+
vertical-align: top;
|
124
|
+
}
|
125
|
+
|
126
|
+
tr td,
|
127
|
+
tr th {
|
128
|
+
padding: 4px 9px;
|
129
|
+
border: 1px solid #fff;
|
130
|
+
text-align: left; /* LTR */
|
131
|
+
}
|
132
|
+
|
133
|
+
tr:nth-child(odd) {
|
134
|
+
background: #e4e4e4;
|
135
|
+
background: rgba(0, 0, 0, 0.105);
|
136
|
+
}
|
137
|
+
|
138
|
+
tr,
|
139
|
+
tr:nth-child(even) {
|
140
|
+
background: #efefef;
|
141
|
+
background: rgba(0, 0, 0, 0.063);
|
142
|
+
}
|
143
|
+
|
144
|
+
a {
|
145
|
+
color: #0071B3;
|
146
|
+
}
|
147
|
+
|
148
|
+
a:hover,
|
149
|
+
a:focus {
|
150
|
+
color: #018fe2;
|
151
|
+
}
|
152
|
+
|
153
|
+
a:active {
|
154
|
+
color: #23aeff;
|
155
|
+
}
|
156
|
+
|
157
|
+
a:link,
|
158
|
+
a:visited {
|
159
|
+
text-decoration: none;
|
160
|
+
}
|
161
|
+
|
162
|
+
a:hover,
|
163
|
+
a:active,
|
164
|
+
a:focus {
|
165
|
+
text-decoration: underline;
|
166
|
+
}
|
167
|
+
|
@@ -0,0 +1,368 @@
|
|
1
|
+
html { padding:0 10px; }
|
2
|
+
|
3
|
+
body {
|
4
|
+
margin:0;
|
5
|
+
padding:0;
|
6
|
+
background:#fff;
|
7
|
+
}
|
8
|
+
|
9
|
+
#epiceditor-wrapper{
|
10
|
+
background:white;
|
11
|
+
}
|
12
|
+
|
13
|
+
#epiceditor-preview{
|
14
|
+
padding-top:10px;
|
15
|
+
padding-bottom:10px;
|
16
|
+
font-family: Helvetica,arial,freesans,clean,sans-serif;
|
17
|
+
font-size:13px;
|
18
|
+
line-height:1.6;
|
19
|
+
}
|
20
|
+
|
21
|
+
#epiceditor-preview>*:first-child{
|
22
|
+
margin-top:0!important;
|
23
|
+
}
|
24
|
+
|
25
|
+
#epiceditor-preview>*:last-child{
|
26
|
+
margin-bottom:0!important;
|
27
|
+
}
|
28
|
+
|
29
|
+
#epiceditor-preview a{
|
30
|
+
color:#4183C4;
|
31
|
+
text-decoration:none;
|
32
|
+
}
|
33
|
+
|
34
|
+
#epiceditor-preview a:hover{
|
35
|
+
text-decoration:underline;
|
36
|
+
}
|
37
|
+
|
38
|
+
#epiceditor-preview h1,
|
39
|
+
#epiceditor-preview h2,
|
40
|
+
#epiceditor-preview h3,
|
41
|
+
#epiceditor-preview h4,
|
42
|
+
#epiceditor-preview h5,
|
43
|
+
#epiceditor-preview h6{
|
44
|
+
margin:20px 0 10px;
|
45
|
+
padding:0;
|
46
|
+
font-weight:bold;
|
47
|
+
-webkit-font-smoothing:antialiased;
|
48
|
+
}
|
49
|
+
|
50
|
+
#epiceditor-preview h1 tt,
|
51
|
+
#epiceditor-preview h1 code,
|
52
|
+
#epiceditor-preview h2 tt,
|
53
|
+
#epiceditor-preview h2 code,
|
54
|
+
#epiceditor-preview h3 tt,
|
55
|
+
#epiceditor-preview h3 code,
|
56
|
+
#epiceditor-preview h4 tt,
|
57
|
+
#epiceditor-preview h4 code,
|
58
|
+
#epiceditor-preview h5 tt,
|
59
|
+
#epiceditor-preview h5 code,
|
60
|
+
#epiceditor-preview h6 tt,
|
61
|
+
#epiceditor-preview h6 code{
|
62
|
+
font-size:inherit;
|
63
|
+
}
|
64
|
+
|
65
|
+
#epiceditor-preview h1{
|
66
|
+
font-size:28px;
|
67
|
+
color:#000;
|
68
|
+
}
|
69
|
+
|
70
|
+
#epiceditor-preview h2{
|
71
|
+
font-size:24px;
|
72
|
+
border-bottom:1px solid #ccc;
|
73
|
+
color:#000;
|
74
|
+
}
|
75
|
+
|
76
|
+
#epiceditor-preview h3{
|
77
|
+
font-size:18px;
|
78
|
+
}
|
79
|
+
|
80
|
+
#epiceditor-preview h4{
|
81
|
+
font-size:16px;
|
82
|
+
}
|
83
|
+
|
84
|
+
#epiceditor-preview h5{
|
85
|
+
font-size:14px;
|
86
|
+
}
|
87
|
+
|
88
|
+
#epiceditor-preview h6{
|
89
|
+
color:#777;
|
90
|
+
font-size:14px;
|
91
|
+
}
|
92
|
+
|
93
|
+
#epiceditor-preview p,
|
94
|
+
#epiceditor-preview blockquote,
|
95
|
+
#epiceditor-preview ul,
|
96
|
+
#epiceditor-preview ol,
|
97
|
+
#epiceditor-preview dl,
|
98
|
+
#epiceditor-preview li,
|
99
|
+
#epiceditor-preview table,
|
100
|
+
#epiceditor-preview pre{
|
101
|
+
margin:15px 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
#epiceditor-preview hr{
|
105
|
+
background:transparent url('../../images/modules/pulls/dirty-shade.png') repeat-x 0 0;
|
106
|
+
border:0 none;
|
107
|
+
color:#ccc;
|
108
|
+
height:4px;
|
109
|
+
padding:0;
|
110
|
+
}
|
111
|
+
|
112
|
+
#epiceditor-preview>h2:first-child,
|
113
|
+
#epiceditor-preview>h1:first-child,
|
114
|
+
#epiceditor-preview>h1:first-child+h2,
|
115
|
+
#epiceditor-preview>h3:first-child,
|
116
|
+
#epiceditor-preview>h4:first-child,
|
117
|
+
#epiceditor-preview>h5:first-child,
|
118
|
+
#epiceditor-preview>h6:first-child{
|
119
|
+
margin-top:0;
|
120
|
+
padding-top:0;
|
121
|
+
}
|
122
|
+
|
123
|
+
#epiceditor-preview h1+p,
|
124
|
+
#epiceditor-preview h2+p,
|
125
|
+
#epiceditor-preview h3+p,
|
126
|
+
#epiceditor-preview h4+p,
|
127
|
+
#epiceditor-preview h5+p,
|
128
|
+
#epiceditor-preview h6+p{
|
129
|
+
margin-top:0;
|
130
|
+
}
|
131
|
+
|
132
|
+
#epiceditor-preview li p.first{
|
133
|
+
display:inline-block;
|
134
|
+
}
|
135
|
+
|
136
|
+
#epiceditor-preview ul,
|
137
|
+
#epiceditor-preview ol{
|
138
|
+
padding-left:30px;
|
139
|
+
}
|
140
|
+
|
141
|
+
#epiceditor-preview ul li>:first-child,
|
142
|
+
#epiceditor-preview ol li>:first-child{
|
143
|
+
margin-top:0;
|
144
|
+
}
|
145
|
+
|
146
|
+
#epiceditor-preview ul li>:last-child,
|
147
|
+
#epiceditor-preview ol li>:last-child{
|
148
|
+
margin-bottom:0;
|
149
|
+
}
|
150
|
+
|
151
|
+
#epiceditor-preview dl{
|
152
|
+
padding:0;
|
153
|
+
}
|
154
|
+
|
155
|
+
#epiceditor-preview dl dt{
|
156
|
+
font-size:14px;
|
157
|
+
font-weight:bold;
|
158
|
+
font-style:italic;
|
159
|
+
padding:0;
|
160
|
+
margin:15px 0 5px;
|
161
|
+
}
|
162
|
+
|
163
|
+
#epiceditor-preview dl dt:first-child{
|
164
|
+
padding:0;
|
165
|
+
}
|
166
|
+
|
167
|
+
#epiceditor-preview dl dt>:first-child{
|
168
|
+
margin-top:0;
|
169
|
+
}
|
170
|
+
|
171
|
+
#epiceditor-preview dl dt>:last-child{
|
172
|
+
margin-bottom:0;
|
173
|
+
}
|
174
|
+
|
175
|
+
#epiceditor-preview dl dd{
|
176
|
+
margin:0 0 15px;
|
177
|
+
padding:0 15px;
|
178
|
+
}
|
179
|
+
|
180
|
+
#epiceditor-preview dl dd>:first-child{
|
181
|
+
margin-top:0;
|
182
|
+
}
|
183
|
+
|
184
|
+
#epiceditor-preview dl dd>:last-child{
|
185
|
+
margin-bottom:0;
|
186
|
+
}
|
187
|
+
|
188
|
+
#epiceditor-preview blockquote{
|
189
|
+
border-left:4px solid #DDD;
|
190
|
+
padding:0 15px;
|
191
|
+
color:#777;
|
192
|
+
}
|
193
|
+
|
194
|
+
#epiceditor-preview blockquote>:first-child{
|
195
|
+
margin-top:0;
|
196
|
+
}
|
197
|
+
|
198
|
+
#epiceditor-preview blockquote>:last-child{
|
199
|
+
margin-bottom:0;
|
200
|
+
}
|
201
|
+
|
202
|
+
#epiceditor-preview table{
|
203
|
+
padding:0;
|
204
|
+
border-collapse: collapse;
|
205
|
+
border-spacing: 0;
|
206
|
+
font-size: 100%;
|
207
|
+
font: inherit;
|
208
|
+
}
|
209
|
+
|
210
|
+
#epiceditor-preview table tr{
|
211
|
+
border-top:1px solid #ccc;
|
212
|
+
background-color:#fff;
|
213
|
+
margin:0;
|
214
|
+
padding:0;
|
215
|
+
}
|
216
|
+
|
217
|
+
#epiceditor-preview table tr:nth-child(2n){
|
218
|
+
background-color:#f8f8f8;
|
219
|
+
}
|
220
|
+
|
221
|
+
#epiceditor-preview table tr th{
|
222
|
+
font-weight:bold;
|
223
|
+
}
|
224
|
+
|
225
|
+
#epiceditor-preview table tr th,
|
226
|
+
#epiceditor-preview table tr td{
|
227
|
+
border:1px solid #ccc;
|
228
|
+
text-align:left;
|
229
|
+
margin:0;
|
230
|
+
padding:6px 13px;
|
231
|
+
}
|
232
|
+
|
233
|
+
#epiceditor-preview table tr th>:first-child,
|
234
|
+
#epiceditor-preview table tr td>:first-child{
|
235
|
+
margin-top:0;
|
236
|
+
}
|
237
|
+
|
238
|
+
#epiceditor-preview table tr th>:last-child,
|
239
|
+
#epiceditor-preview table tr td>:last-child{
|
240
|
+
margin-bottom:0;
|
241
|
+
}
|
242
|
+
|
243
|
+
#epiceditor-preview img{
|
244
|
+
max-width:100%;
|
245
|
+
}
|
246
|
+
|
247
|
+
#epiceditor-preview span.frame{
|
248
|
+
display:block;
|
249
|
+
overflow:hidden;
|
250
|
+
}
|
251
|
+
|
252
|
+
#epiceditor-preview span.frame>span{
|
253
|
+
border:1px solid #ddd;
|
254
|
+
display:block;
|
255
|
+
float:left;
|
256
|
+
overflow:hidden;
|
257
|
+
margin:13px 0 0;
|
258
|
+
padding:7px;
|
259
|
+
width:auto;
|
260
|
+
}
|
261
|
+
|
262
|
+
#epiceditor-preview span.frame span img{
|
263
|
+
display:block;
|
264
|
+
float:left;
|
265
|
+
}
|
266
|
+
|
267
|
+
#epiceditor-preview span.frame span span{
|
268
|
+
clear:both;
|
269
|
+
color:#333;
|
270
|
+
display:block;
|
271
|
+
padding:5px 0 0;
|
272
|
+
}
|
273
|
+
|
274
|
+
#epiceditor-preview span.align-center{
|
275
|
+
display:block;
|
276
|
+
overflow:hidden;
|
277
|
+
clear:both;
|
278
|
+
}
|
279
|
+
|
280
|
+
#epiceditor-preview span.align-center>span{
|
281
|
+
display:block;
|
282
|
+
overflow:hidden;
|
283
|
+
margin:13px auto 0;
|
284
|
+
text-align:center;
|
285
|
+
}
|
286
|
+
|
287
|
+
#epiceditor-preview span.align-center span img{
|
288
|
+
margin:0 auto;
|
289
|
+
text-align:center;
|
290
|
+
}
|
291
|
+
|
292
|
+
#epiceditor-preview span.align-right{
|
293
|
+
display:block;
|
294
|
+
overflow:hidden;
|
295
|
+
clear:both;
|
296
|
+
}
|
297
|
+
|
298
|
+
#epiceditor-preview span.align-right>span{
|
299
|
+
display:block;
|
300
|
+
overflow:hidden;
|
301
|
+
margin:13px 0 0;
|
302
|
+
text-align:right;
|
303
|
+
}
|
304
|
+
|
305
|
+
#epiceditor-preview span.align-right span img{
|
306
|
+
margin:0;
|
307
|
+
text-align:right;
|
308
|
+
}
|
309
|
+
|
310
|
+
#epiceditor-preview span.float-left{
|
311
|
+
display:block;
|
312
|
+
margin-right:13px;
|
313
|
+
overflow:hidden;
|
314
|
+
float:left;
|
315
|
+
}
|
316
|
+
|
317
|
+
#epiceditor-preview span.float-left span{
|
318
|
+
margin:13px 0 0;
|
319
|
+
}
|
320
|
+
|
321
|
+
#epiceditor-preview span.float-right{
|
322
|
+
display:block;
|
323
|
+
margin-left:13px;
|
324
|
+
overflow:hidden;
|
325
|
+
float:right;
|
326
|
+
}
|
327
|
+
|
328
|
+
#epiceditor-preview span.float-right>span{
|
329
|
+
display:block;
|
330
|
+
overflow:hidden;
|
331
|
+
margin:13px auto 0;
|
332
|
+
text-align:right;
|
333
|
+
}
|
334
|
+
|
335
|
+
#epiceditor-preview code,
|
336
|
+
#epiceditor-preview tt{
|
337
|
+
margin:0 2px;
|
338
|
+
padding:0 5px;
|
339
|
+
white-space:nowrap;
|
340
|
+
border:1px solid #eaeaea;
|
341
|
+
background-color:#f8f8f8;
|
342
|
+
border-radius:3px;
|
343
|
+
}
|
344
|
+
|
345
|
+
#epiceditor-preview pre>code{
|
346
|
+
margin:0;
|
347
|
+
padding:0;
|
348
|
+
white-space:pre;
|
349
|
+
border:none;
|
350
|
+
background:transparent;
|
351
|
+
}
|
352
|
+
|
353
|
+
#epiceditor-preview .highlight pre,
|
354
|
+
#epiceditor-preview pre{
|
355
|
+
background-color:#f8f8f8;
|
356
|
+
border:1px solid #ccc;
|
357
|
+
font-size:13px;
|
358
|
+
line-height:19px;
|
359
|
+
overflow:auto;
|
360
|
+
padding:6px 10px;
|
361
|
+
border-radius:3px;
|
362
|
+
}
|
363
|
+
|
364
|
+
#epiceditor-preview pre code,
|
365
|
+
#epiceditor-preview pre tt{
|
366
|
+
background-color:transparent;
|
367
|
+
border:none;
|
368
|
+
}
|