Ticket #21376: 21376.5.diff
File 21376.5.diff, 2.4 KB (added by , 13 years ago) |
---|
-
wp-content/themes/twentytwelve/editor-style.css
1 /* 2 Theme Name: Twenty Twelve3 Description: Used to style the TinyMCE editor.4 */1 /** 2 * Theme Name: Twenty Twelve 3 * Description: Used to style the TinyMCE editor. 4 */ 5 5 6 6 html { 7 7 font-size: 87.5%; … … 19 19 vertical-align: baseline; 20 20 } 21 21 22 /* Headings */ 22 /** 23 * 1.0 Headings 24 */ 23 25 h1, 24 26 h2, 25 27 h3, … … 71 73 margin: 0 0 24px; 72 74 margin: 0 0 1.714285714rem; 73 75 } 74 ul, ol { 76 ul, 77 ol { 75 78 margin: 0 0 24px; 76 79 margin: 0 0 1.714285714rem; 77 80 line-height: 1.714285714; … … 83 86 ol { 84 87 list-style: decimal outside; 85 88 } 86 ul ul, ol ol, ul ol, ol ul { 89 ul ul, 90 ol ol, 91 ul ol, 92 ol ul { 87 93 margin-bottom: 0; 88 94 } 89 95 li { … … 107 113 strong { 108 114 font-weight: bold; 109 115 } 110 cite, em, i { 116 cite, 117 em, 118 i { 111 119 font-style: italic; 112 120 } 113 121 cite { … … 136 144 padding: 24px; 137 145 padding: 1.714285714rem; 138 146 } 139 code, kbd, samp, var { 147 code, 148 kbd, 149 samp, 150 var { 140 151 font-family: Consolas, Monaco, Lucida Console, monospace; 141 152 font-size: 12px; 142 153 font-size: 0.857142857rem; 143 154 line-height: 2; 144 155 } 145 abbr, acronym, dfn { 156 abbr, 157 acronym, 158 dfn { 146 159 border-bottom: 1px dotted #666; 147 160 cursor: help; 148 161 } … … 174 187 sub { 175 188 bottom: -0.25em; 176 189 } 177 input[type= text] {190 input[type="text"] { 178 191 border: 1px solid #ccc; 179 192 border-radius: 3px; 180 193 font-family: inherit; … … 193 206 width: 96%; 194 207 } 195 208 196 /* Links */ 209 /** 210 * 3.0 Links 211 */ 197 212 a, 198 213 a em, 199 214 a strong { 200 215 color: #21759b; 201 216 outline: none; 202 217 } 218 203 219 a:focus, 204 220 a:active, 205 221 a:hover { 206 222 color: #0f3647; 207 223 } 208 224 209 /* Alignment */ 225 /** 226 * 4.0 Alignment 227 */ 210 228 .alignleft { 211 229 display: inline; 212 230 float: left; 231 margin: 12px 24px 12px 0; 232 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0; 213 233 } 214 234 .alignright { 215 235 display: inline; … … 226 246 margin-bottom: 0.857142857rem; 227 247 } 228 248 229 /* Tables */ 249 /** 250 * 5.0 Tables 251 */ 230 252 table { 231 253 border-bottom: 1px solid #ededed; 232 254 border-collapse: collapse; … … 257 279 text-align: left; 258 280 } 259 281 260 /* Images */ 282 /** 283 * 5.0 Images 284 */ 261 285 img { 262 286 border: 0; 263 287 border-radius: 3px; … … 271 295 height: auto; 272 296 max-width: 100%; 273 297 } 274 img.alignleft {275 margin: 12px 24px 12px 0;276 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;277 }278 298 img[class*="align"], 279 299 img[class*="wp-image-"], 280 300 img[class*="attachment-"] {