-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbaskerville-editor-style.css
144 lines (110 loc) · 3.08 KB
/
baskerville-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
/*---------------------------------------------------------------------------------
Editor styles for Baskerville
---------------------------------------------------------------------------------*/
body#tinymce.wp-editor {
font-family: 'Roboto', Helvetica, sans-serif;
font-size: 16px;
}
body#tinymce.wp-editor a { color: #13C4A5; }
body#tinymce.wp-editor a:hover { color: #13C4A5; text-decoration: underline; }
/* headlines */
body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4, body#tinymce.wp-editor h5, body#tinymce.wp-editor h6 {
color: #444;
line-height: 120%;
}
body#tinymce.wp-editor h1,
body#tinymce.wp-editor h2,
body#tinymce.wp-editor h3,
body#tinymce.wp-editor h4,
body#tinymce.wp-editor h5,
body#tinymce.wp-editor h6 { font-family: 'Roboto Slab', sans-serif; }
body#tinymce.wp-editor h1 { font-size: 2em; font-weight: 700; }
body#tinymce.wp-editor h2 { font-size: 1.75em; font-weight: 700; }
body#tinymce.wp-editor h3 { font-size: 1.5em; font-weight: 700; }
body#tinymce.wp-editor h4 { font-size: 1.25em; }
body#tinymce.wp-editor h5 { font-size: 1.1em; }
/* blockquote */
body#tinymce.wp-editor blockquote {
padding: 1.1em;
line-height: 150%;
color: #666;
}
body#tinymce.wp-editor blockquote:before,
body#tinymce.wp-editor blockquote:after {
content: "";
display: block;
width: 128px;
height: 3px;
background: #eee;
margin: 40px auto;
}
body#tinymce.wp-editor blockquote p {
font-size: 1.2em;
line-height: 160%;
font-weight: 300;
text-align: center;
}
body#tinymce.wp-editor blockquote p:first-child { margin-top: 0; }
body#tinymce.wp-editor blockquote p:last-child { margin-bottom: 0; }
body#tinymce.wp-editor cite {
font-family: 'Roboto Slab', sans-serif;
font-size: 0.9rem;
font-weight: bold;
text-transform: uppercase;
line-height: 140%;
text-align: center;
display: block;
margin-top: 1.1em;
font-style: normal;
}
body#tinymce.wp-editor cite:before { content: "— " }
body#tinymce.wp-editor blockquote cite em { font-style: italic; font-weight: bold; }
/* media */
body#tinymce.wp-editor .alignright { margin-left: 20px; }
body#tinymce.wp-editor .alignleft { margin-right: 20px; }
body#tinymce.wp-editor .wp-caption {
padding: 0;
border: none;
background: none;
}
body#tinymce.wp-editor .wp-caption-dd {
font-size: 0.85em;
padding-top: 0.5em;
color: #888;
text-align: center;
padding: 10px 0;
}
/* tables */
body#tinymce.wp-editor table {
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
font-size: 0.9em;
width: 100%;
margin-bottom: 1.1em;
border: none;
}
body#tinymce.wp-editor th,
body#tinymce.wp-editor td {
padding: 2%;
margin: 0;
overflow: visible;
line-height: 120%;
border: none;
border-bottom: 1px solid #DDD;
font-size: 1em;
}
body#tinymce.wp-editor caption {
color: #444;
text-align: center;
padding: 2%;
}
body#tinymce.wp-editor thead {
vertical-align: bottom;
white-space: nowrap;
}
body#tinymce.wp-editor th {
font-weight: bold;
color: #444;
}
body#tinymce.wp-editor table tbody > tr:nth-child(odd) > td { background: #f9f9f9; }