Ticket #21376: 21376.6.diff
File 21376.6.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 { … … 206 221 color: #0f3647; 207 222 } 208 223 209 /* Alignment */ 224 /** 225 * 4.0 Alignment 226 */ 210 227 .alignleft { 211 228 display: inline; 212 229 float: left; 230 margin: 12px 24px 12px 0; 231 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0; 213 232 } 214 233 .alignright { 215 234 display: inline; … … 226 245 margin-bottom: 0.857142857rem; 227 246 } 228 247 229 /* Tables */ 248 /** 249 * 5.0 Tables 250 */ 230 251 table { 231 252 border-bottom: 1px solid #ededed; 232 253 border-collapse: collapse; … … 257 278 text-align: left; 258 279 } 259 280 260 /* Images */ 281 /** 282 * 6.0 Images 283 */ 261 284 img { 262 285 border: 0; 263 286 border-radius: 3px; … … 271 294 height: auto; 272 295 max-width: 100%; 273 296 } 274 img.alignleft {275 margin: 12px 24px 12px 0;276 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;277 }278 297 img[class*="align"], 279 298 img[class*="wp-image-"], 280 299 img[class*="attachment-"] {