forked from wearerequired/required-foundation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditor-style.css
88 lines (83 loc) · 1.79 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
/*
Theme Name: required+ Foundation
Description: Used to style the TinyMCE editor.
*/
@import url(stylesheets/editor-style.css);
html .mceContentBody {
padding: 5px;
max-width: 657px;
}
/* =Alignment
-------------------------------------------------------------- */
.alignleft {
display: inline;
float: left;
margin: 12px 24px 12px 0;
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
.alignright {
display: inline;
float: right;
margin: 12px 0 12px 24px;
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
.aligncenter {
clear: both;
display: block;
margin-top: 12px;
margin-top: 0.857142857rem;
margin-bottom: 12px;
margin-bottom: 0.857142857rem;
}
/* =Images
-------------------------------------------------------------- */
img {
border: 0;
border-radius: 3px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
max-width: 100%;
}
img.size-full {
width: auto/9; /* Prevent stretching of full-size images in IE8 */
}
img[class*="wp-image-"] {
height: auto;
max-width: 100%;
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.mceWPnextpage {
border-radius: 0;
box-shadow: none;
}
img.wp-smiley {
border: 0;
border-radius: 0;
box-shadow: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
.wp-caption {
background: transparent;
border: none;
margin: 0;
padding: 4px;
text-align: left;
}
.wp-caption-dt {
margin: 0;
}
.wp-caption .wp-caption-text,
.wp-caption-dd {
color: #777;
font-style: italic;
font-size: 12px;
font-size: 0.857142857rem;
line-height: 2;
margin: 0 0 24px;
margin: 0 0 1.71429rem;
}