This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
editor-style.css
308 lines (259 loc) · 4.69 KB
/
editor-style.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
/*--------------------------------------------------------------
Typographic styles for the post editor
--------------------------------------------------------------*/
body#tinymce {
max-width: 870px;
margin: 20px auto;
padding: 0 30px !important;
}
.mceContentBody {
font-weight: 400;
font-size: 19px;
line-height: 1.7;
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #272c30;
}
.mceContentBody h1,
.mceContentBody h2,
.mceContentBody h3,
.mceContentBody h4,
.mceContentBody h5,
.mceContentBody h6 {
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.2;
clear: both;
margin: 0 0 1% 0;
color: #272c30;
}
.mceContentBody h1 {
font-size: 42px;
}
.mceContentBody h2 {
font-size: 38px;
}
.mceContentBody h3 {
font-size: 34px;
}
.mceContentBody h4 {
font-size: 30px;
}
.mceContentBody h5 {
font-size: 26px;
}
.mceContentBody h6 {
font-size: 24px;
}
.mceContentBody p {
margin-bottom: 1.2em;
}
.mceContentBody img {
max-width: 100%;
}
hr {
background-color: transparent;
border: 0;
border-bottom: dotted 1px #c7d6e4;
height: 2px;
margin: 4% 0;
}
.mceContentBody blockquote {
position: relative;
margin: 0 0 0 0;
z-index: 1;
}
.mceContentBody blockquote p {
font-size: 24px;
font-weight: 400;
line-height: 1.4;
margin: 1em 0 1em 0;
position: relative;
padding: 20px 0 0 8%;
border-top: solid 3px #272c30;
color: #272c30;
}
@media screen and (max-width: 786px) {
.mceContentBody blockquote p {
font-size: 19px;
padding-left: 12%;
}
}
.mceContentBody blockquote p:before {
content: "\201C";
position: absolute;
left: 0;
font-size: 66px;
width: 30px;
top: 19px;
line-height: 1;
font-weight: 600;
}
.mceContentBody ul,
.mceContentBody ol {
margin: 0 0 5% 25px;
padding-left: 0;
}
.mceContentBody ul {
list-style: square;
line-height: 2;
}
.mceContentBody ol {
list-style: decimal;
line-height: 2;
}
.mceContentBody ul ul,
.mceContentBody ol ol,
.mceContentBody ul ol,
.mceContentBody ol ul {
margin: .3em 0 0 1.5em;
}
.mceContentBody img {
max-width: 100%;
height: auto;
}
.highlight {
background: #fff198;
color: #404040;
}
/*--------------------------------------------------------------
Table Styles
--------------------------------------------------------------*/
table {
font-size: 18px;
margin-bottom: 5%;
padding: 0;
width: 100%;
}
table thead {
background: #f2f2f2;
}
table thead th {
font-weight: bold;
}
table td, #content table th {
padding: 10px;
}
table td {
border-bottom: solid 1px #f2f2f2;
}
table tr:last-child td {
border-bottom: none;
}
table tr:nth-child(even) {
background: #f2f2f2;
}
/*--------------------------------------------------------------
Code Styles
--------------------------------------------------------------*/
pre {
background: #f2f2f2;
font-family: "Courier 10 Pitch", Courier, monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1.6em;
}
code, kbd, tt, var {
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/
.alignleft {
display: inline;
float: left;
margin: .5em 2em .5em 0;
}
@media (max-width: 600px) {
.alignleft {
max-width: 200px;
margin-right: 1em;
}
}
.alignright {
display: inline;
float: right;
margin: .5em 0 1.5em 2em;
}
@media (max-width: 600px) {
.alignright {
max-width: 200px;
margin-left: 1em;
}
}
.aligncenter {
clear: both;
display: block;
margin: 0 auto 1.5em auto;
}
dl.wp-caption {
background: none;
border: none;
}
.wp-caption {
margin: .5em 0 1.5em 0;
max-width: 100%;
text-align: left;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin: 0;
max-width: 100%;
}
.wp-caption-text,
.gallery-caption,
.wp-caption-dd {
padding: 0;
margin-top: 12px;
width: 100%;
color: #8494A1;
text-transform: none;
font-size: 15px;
font-weight: 400;
letter-spacing: 0;
padding-left: 10px;
border-left: solid 2px #e3eaf0;
margin-bottom: 0;
}
.pull-right,
.pull-excerpt {
float: right;
margin: 1% 0 2% 5%;
text-align: right;
}
.pull-left {
float: left;
margin: 1% 5% 2% 0;
}
.pull-right,
.pull-left,
.pull-excerpt {
font-size: 18px;
line-height: 1.5;
width: 32%;
padding: 20px;
background: #f2f2f2;
}
@media screen and (max-width: 786px) {
.pull-right,
.pull-left,
.pull-excerpt {
font-size: 18px;
width: auto;
margin: 0 0 5% 0;
}
}
.pull-excerpt {
font-style: normal;
text-align: left;
padding-top: 18px;
line-height: 1.6;
margin-top: 9px;
}
@media screen and (max-width: 768px) {
.pull-excerpt {
font-style: 18px;
}
}