WordPress.org

Make WordPress Themes

source: swiftmag/1.0.3/css/editor-style.css

Last change on this file was 94512, checked in by themedropbox, 3 weeks ago

New version of SwiftMag - 1.0.3

File size: 8.9 KB
Line 
1/*
2Theme Name: SwiftMag
3Description: Used to style the TinyMCE editor.
4*/
5
6body {
7    background-color: #fff;
8    color: #333;
9    margin: 20px 40px;
10    max-width: 580px;
11}
12
13body,
14button,
15input,
16select,
17textarea {
18    font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
19    font-size: 16px;
20    font-size: 1rem;
21    font-weight: 400;
22    line-height: 1.66;
23}
24
25h1,
26h2,
27h3,
28h4,
29h5,
30h6 {
31    clear: both;
32    line-height: 1.4;
33    margin: 0 0 0.75em;
34    padding: 1.5em 0 0;
35}
36
37h1:first-child,
38h2:first-child,
39h3:first-child,
40h4:first-child,
41h5:first-child,
42h6:first-child {
43    padding-top: 0;
44}
45
46h1 {
47    font-size: 24px;
48    font-size: 1.5rem;
49    font-weight: 300;
50}
51
52h2 {
53    color: #666;
54    font-size: 20px;
55    font-size: 1.25rem;
56    font-weight: 300;
57}
58
59h3 {
60    color: #333;
61    font-size: 18px;
62    font-size: 1.125rem;
63    font-weight: 300;
64}
65
66h4 {
67    color: #333;
68    font-size: 16px;
69    font-size: 1rem;
70    font-weight: 800;
71}
72
73h5 {
74    color: #767676;
75    font-size: 13px;
76    font-size: 0.8125rem;
77    font-weight: 800;
78    letter-spacing: 0.15em;
79    text-transform: uppercase;
80}
81
82h6 {
83    color: #333;
84    font-size: 15px;
85    font-size: 0.9375rem;
86    font-weight: 800;
87}
88
89p {
90    margin: 0 0 1.5em;
91    padding: 0;
92}
93
94dfn,
95cite,
96em,
97i {
98    font-style: italic;
99}
100
101blockquote {
102    color: #666;
103    font-size: 18px;
104    font-size: 1.125rem;
105    font-style: italic;
106    line-height: 1.7;
107    margin: 0;
108    overflow: hidden;
109    padding: 0;
110}
111
112blockquote.alignleft,
113blockquote.alignright {
114    font-size: 14px;
115    font-size: 0.875rem;
116    width: 34%;
117}
118
119address {
120    margin: 0 0 1.5em;
121}
122
123pre {
124    background: #eee;
125    font-family: "Courier 10 Pitch", Courier, monospace;
126    font-size: 15px;
127    font-size: 0.9375rem;
128    line-height: 1.6;
129    margin-bottom: 1.6em;
130    max-width: 100%;
131    overflow: auto;
132    padding: 1.6em;
133}
134
135code,
136kbd,
137tt,
138var {
139    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
140    font-size: 15px;
141    font-size: 0.9375rem;
142}
143
144abbr,
145acronym {
146    border-bottom: 1px dotted #666;
147    cursor: help;
148}
149
150mark,
151ins {
152    background: #eee;
153    text-decoration: none;
154}
155
156big {
157    font-size: 125%;
158}
159
160blockquote,
161q {
162    quotes: "" "";
163}
164
165blockquote:before,
166blockquote:after,
167q:before,
168q:after {
169    content: "";
170}
171
172html[lang="th"] h1,
173html[lang="th"] h2,
174html[lang="th"] h3,
175html[lang="th"] h4,
176html[lang="th"] h5,
177html[lang="th"] h6 {
178    letter-spacing: 0;
179    line-height: 1.65;
180}
181
182html[lang="th"] body,
183html[lang="th"] button,
184html[lang="th"] input,
185html[lang="th"] select,
186html[lang="th"] textarea {
187    line-height: 1.8;
188}
189
190hr {
191    background-color: #bbb;
192    border: 0;
193    height: 1px;
194    margin-bottom: 1.5em;
195}
196
197ul,
198ol {
199    margin: 0 0 1.5em;
200    padding: 0;
201}
202
203ul {
204    list-style: disc;
205}
206
207ol {
208    counter-reset: item;
209}
210
211ol li {
212    display: block;
213    position: relative;
214}
215
216ol li:before {
217    content: counter(item);
218    counter-increment: item;
219    font-weight: 800;
220    left: -1.5em;
221    position: absolute;
222}
223
224li > ul,
225li > ol {
226    margin-bottom: 0;
227    margin-left: 1.5em;
228}
229
230dt {
231    font-weight: 700;
232}
233
234dd {
235    margin: 0 1.5em 1.5em;
236}
237
238table {
239    border-collapse: collapse;
240    margin: 0 0 1.5em;
241    width: 100%;
242}
243
244thead th {
245    border-bottom: 2px solid #bbb;
246    padding-bottom: 0.5em;
247}
248
249th {
250    padding: 0.4em;
251    text-align: left;
252}
253
254tr {
255    border-bottom: 1px solid #eee;
256}
257
258td {
259    padding: 0.4em;
260}
261
262th:first-child,
263td:first-child {
264    padding-left: 0;
265}
266
267th:last-child,
268td:last-child {
269    padding-right: 0;
270}
271
272a {
273    -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
274    box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
275    color: #222;
276    text-decoration: none;
277    -webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
278    transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
279    transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
280    transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
281}
282
283a:focus {
284    outline: thin dotted;
285}
286
287a:hover,
288a:focus {
289    color: #000;
290    -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
291    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
292}
293
294a img {
295    background: #fff;
296    -webkit-box-shadow: 0 0 0 6px #fff;
297    box-shadow: 0 0 0 6px #fff;
298}
299
300img {
301    height: auto; /* Make sure images are scaled correctly. */
302    width: inherit;  /* Make images fill their parent's space. Solves IE8. */
303    max-width: 100%; /* Adhere to container width. */
304}
305
306embed,
307iframe,
308object {
309    margin-bottom: 1.5em;
310    max-width: 100%;
311}
312
313.wp-caption {
314    color: #666;
315    font-size: 13px;
316    font-size: 0.8125rem;
317    font-style: italic;
318    margin-bottom: 1.5em;
319    max-width: 100%;
320}
321
322.wp-caption img[class*="wp-image-"] {
323    display: block;
324    margin-left: auto;
325    margin-right: auto;
326}
327
328.wp-caption .wp-caption-text {
329    margin: 0.8075em 0;
330}
331
332.gallery {
333    margin-bottom: 1.5em;
334}
335
336.gallery-item {
337    display: inline-block;
338    text-align: center;
339    vertical-align: top;
340    width: 100%;
341}
342
343.gallery-item a,
344.gallery-item a:hover,
345.gallery-item a:focus {
346    -webkit-box-shadow: none;
347    box-shadow: none;
348    background: none;
349    display: inline-block;
350}
351
352.gallery-columns-2 .gallery-item {
353    max-width: 50%;
354}
355
356.gallery-columns-3 .gallery-item {
357    max-width: 33.33%;
358}
359
360.gallery-columns-4 .gallery-item {
361    max-width: 25%;
362}
363
364.gallery-columns-5 .gallery-item {
365    max-width: 20%;
366}
367
368.gallery-columns-6 .gallery-item {
369    max-width: 16.66%;
370}
371
372.gallery-columns-7 .gallery-item {
373    max-width: 14.28%;
374}
375
376.gallery-columns-8 .gallery-item {
377    max-width: 12.5%;
378}
379
380.gallery-columns-9 .gallery-item {
381    max-width: 11.11%;
382}
383
384.gallery-caption {
385    display: block;
386}
387
388.mejs-container {
389    margin-bottom: 1.5em;
390}
391
392.mejs-controls a.mejs-horizontal-volume-slider,
393.mejs-controls a.mejs-horizontal-volume-slider:focus,
394.mejs-controls a.mejs-horizontal-volume-slider:hover {
395    background: transparent;
396    border: 0;
397}
398
399.wp-playlist-light {
400    border-color: #eee;
401    color: #222;
402}
403
404.wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album {
405    color: #333;
406}
407
408.wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist {
409    color: #767676;
410}
411
412.wp-playlist-light .wp-playlist-item {
413    border-bottom: 1px dotted #eee;
414    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
415    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
416}
417
418.wp-playlist-light .wp-playlist-item:hover,
419.wp-playlist-light .wp-playlist-item:focus {
420    border-bottom-color: rgba(0, 0, 0, 0);
421    background-color: #767676;
422    color: #fff;
423}
424
425.wp-playlist-light a.wp-playlist-caption:hover,
426.wp-playlist-light .wp-playlist-item:hover a,
427.wp-playlist-light .wp-playlist-item:focus a {
428    color: #fff;
429}
430
431.wp-playlist-dark {
432    background: #222;
433    border-color: #333;
434}
435
436.wp-playlist-dark .mejs-container .mejs-controls {
437    background-color: #333;
438}
439
440.wp-playlist-dark .wp-playlist-caption {
441    color: #fff;
442}
443
444.wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-album {
445    color: #eee;
446}
447
448.wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-artist {
449    color: #aaa;
450}
451
452.wp-playlist-dark .wp-playlist-playing {
453    background-color: #333;
454}
455
456.wp-playlist-dark .wp-playlist-item {
457    border-bottom: 1px dotted #555;
458    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
459    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
460}
461
462.wp-playlist-dark .wp-playlist-item:hover,
463.wp-playlist-dark .wp-playlist-item:focus {
464    border-bottom-color: rgba(0, 0, 0, 0);
465    background-color: #aaa;
466    color: #222;
467}
468
469.wp-playlist-dark a.wp-playlist-caption:hover,
470.wp-playlist-dark .wp-playlist-item:hover a,
471.wp-playlist-dark .wp-playlist-item:focus a {
472    color: #222;
473}
474
475.wp-playlist {
476    padding: 0.625em 0.625em 0.3125em;
477}
478
479.wp-playlist-current-item .wp-playlist-item-title {
480    font-weight: 700;
481}
482
483.wp-playlist-current-item .wp-playlist-item-album {
484    font-style: normal;
485}
486
487.wp-playlist-current-item .wp-playlist-item-artist {
488    font-size: 10px;
489    font-size: 0.625rem;
490    font-weight: 800;
491    letter-spacing: 0.1818em;
492    text-transform: uppercase;
493}
494
495.wp-playlist-item {
496    padding: 0 0.3125em;
497    cursor: pointer;
498}
499
500.wp-playlist-item:last-of-type {
501    border-bottom: none;
502}
503
504.wp-playlist-item a {
505    padding: 0.3125em 0;
506    border-bottom: none;
507}
508
509.wp-playlist-item a,
510.wp-playlist-item a:focus,
511.wp-playlist-item a:hover {
512    -webkit-box-shadow: none;
513    box-shadow: none;
514    background: transparent;
515}
516
517.wp-playlist-item-length {
518    top: 5px;
519}
520
521.rtl th {
522    text-align: right;
523}
524
525.rtl ol {
526    counter-reset: item;
527}
528
529.rtl ol li:before {
530    left: auto;
531    right: -1.5em;
532}
533
534.rtl li > ul,
535.rtl li > ol {
536    margin-left: 0;
537    margin-right: 1.5em;
538}
539
540.rtl .mejs-offscreen {
541    right: -10000px;
542}
Note: See TracBrowser for help on using the repository browser.