Ticket #25946: 25946.14.diff
File 25946.14.diff, 7.5 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/css/editor-style.css
32 32 body { 33 33 color: #2b2b2b; 34 34 font-family: Lato, sans-serif; 35 font-weight: 400; 35 36 line-height: 1.5; 36 text-rendering: optimizeLegibility;37 37 vertical-align: baseline; 38 38 } 39 39 … … 51 51 h6 { 52 52 clear: both; 53 53 font-weight: 700; 54 margin: 00 12px;54 margin: 36px 0 12px; 55 55 } 56 56 57 57 h1 { 58 font-size: 33px;59 line-height: 1. 0909090909;58 font-size: 26px; 59 line-height: 1.3846153846; 60 60 } 61 61 62 62 h2 { 63 font-size: 30px;64 line-height: 1 .2;63 font-size: 24px; 64 line-height: 1; 65 65 } 66 66 67 67 h3 { 68 font-size: 2 6px;69 line-height: 1. 3846153846;68 font-size: 22px; 69 line-height: 1.0909090909; 70 70 } 71 71 72 72 h4 { 73 font-size: 2 2px;74 line-height: 1. 0909090909;73 font-size: 20px; 74 line-height: 1.2; 75 75 } 76 76 77 77 h5 { … … 84 84 line-height: 1.5; 85 85 } 86 86 87 hr { 88 background-color: rgba(0, 0, 0, 0.1); 89 border: 0; 90 height: 1px; 91 margin-bottom: 23px; 87 h1:first-child, 88 h2:first-child, 89 h3:first-child, 90 h4:first-child, 91 h5:first-child, 92 h6:first-child { 93 margin-top: 0; 92 94 } 93 95 94 96 … … 97 99 * ---------------------------------------------------------------------------- 98 100 */ 99 101 100 p { 101 margin: 0 0 24px; 102 address { 103 font-style: italic; 104 margin-bottom: 24px; 102 105 } 103 106 104 ol, 105 ul { 106 margin: 0 0 24px 22px; 107 padding-left: 0; 107 abbr[title] { 108 border-bottom: 1px dotted #2b2b2b; 109 cursor: help; 108 110 } 109 111 110 ul { 111 list-style-type: disc; 112 b, 113 strong { 114 font-weight: 700; 112 115 } 113 116 114 ol{115 list-style: decimal;117 cite { 118 border: 0; 116 119 } 117 120 118 li > ul, 119 li > ol { 120 margin-bottom: 0; 121 margin-left: 20px; 121 cite, 122 dfn, 123 em, 124 i { 125 font-style: italic; 122 126 } 123 127 124 dl { 125 margin: 0 20px; 128 mark, 129 ins { 130 background: #fff9c0; 131 text-decoration: none; 126 132 } 127 133 128 dt { 129 font-weight: bold; 130 } 131 132 dd { 134 p { 133 135 margin: 0 0 24px; 134 136 } 135 137 136 strong {137 font-weight: bold;138 }139 140 138 code, 141 139 kbd, 142 140 tt, 143 141 var, 144 samp { 145 font: 15px/1.6 Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; 142 samp, 143 pre { 144 font-family: monospace, serif; 145 font-size: 15px; 146 line-height: 1.6; 146 147 } 147 148 148 149 pre { 149 background: #eee; 150 font-family: 'Courier 10 Pitch', Courier, monospace; 151 font-size: 15px; 152 line-height: 1.6; 150 border: 1px solid rgba(0, 0, 0, 0.1); 153 151 margin-bottom: 24px; 154 152 max-width: 100%; 155 153 overflow: auto; 156 154 padding: 12px; 155 white-space: pre; 156 white-space: pre-wrap; 157 word-wrap: break-word; 157 158 } 158 159 159 160 blockquote, … … 170 171 } 171 172 172 173 blockquote { 174 color: #767676; 175 font-size: 19px; 173 176 font-style: italic; 174 177 font-weight: 300; 178 line-height: 1.2631578947; 175 179 margin: 0 0 24px; 176 180 } 177 181 178 blockquote em, blockquote i, blockquote cite {179 font-style: normal;180 }181 182 blockquote p {183 color: #767676;184 font-size: 19px;185 line-height: 1.2631578947;186 }187 188 182 blockquote cite, 189 183 blockquote small { 190 184 color: #2b2b2b; … … 193 187 line-height: 1.5; 194 188 } 195 189 196 blockquote.pull p { 197 margin-bottom: 17px; 190 blockquote em, 191 blockquote i, 192 blockquote cite { 193 font-style: normal; 198 194 } 199 195 200 blockquote.pull.alignleft, 201 blockquote.pull.alignright { 202 border-top: 1px solid rgba(0, 0, 0, 0.1); 203 border-bottom: 1px solid rgba(0, 0, 0, 0.1); 204 padding-top: 17px; 205 width: 50%; 196 blockquote strong, 197 blockquote b { 198 font-weight: 400; 206 199 } 207 200 208 blockquote.pull.alignleft{209 margin: 7px 24px 7px 0;201 small { 202 font-size: smaller; 210 203 } 211 204 212 b lockquote.pull.alignright{213 margin: 7px 0 7px 24px;205 big { 206 font-size: 125%; 214 207 } 215 208 216 blockquote blockquote { 217 margin-right: 0; 209 sup, 210 sub { 211 font-size: 75%; 212 height: 0; 213 line-height: 0; 214 position: relative; 215 vertical-align: baseline; 218 216 } 219 217 220 cite{221 bo rder-bottom: 0;218 sup { 219 bottom: 1ex; 222 220 } 223 221 224 abbr[title]{225 border-bottom: 1px dotted rgba(0, 0, 0, 0.1);222 sub { 223 top: .5ex; 226 224 } 227 225 228 address { 229 font-style: normal; 226 dl { 230 227 margin: 0 0 24px; 231 228 } 232 229 233 d el{234 color: #333;230 dt { 231 font-weight: bold; 235 232 } 236 233 237 ins { 238 background: #fff9c0; 239 border: none; 240 color: #333; 241 text-decoration: none; 234 dd { 235 margin: 0 0 24px; 242 236 } 243 237 244 sub, 245 sup { 246 font-size: 75%; 247 line-height: 0; 248 position: relative; 249 vertical-align: baseline; 238 ul, 239 ol { 240 list-style: none; 241 margin: 0 0 24px 20px; 242 padding-left: 0; 250 243 } 251 244 252 sup{253 bottom: 1ex;245 ul { 246 list-style: disc; 254 247 } 255 248 256 sub{257 top: .5ex;249 ol { 250 list-style: decimal; 258 251 } 259 252 253 li > ul, 254 li > ol { 255 margin: 0 0 0 20px; 256 } 260 257 258 del { 259 color: #767676; 260 } 261 262 hr { 263 background-color: rgba(0, 0, 0, 0.1); 264 border: 0; 265 height: 1px; 266 margin-bottom: 23px; 267 } 268 269 261 270 /** 262 271 * 4.0 Links 263 272 * ---------------------------------------------------------------------------- … … 278 287 279 288 a:active, 280 289 a:hover { 281 color: # 55d737;290 color: #41a62a; 282 291 outline: 0; 283 292 } 284 293 294 285 295 /** 286 296 * 5.0 Alignment 287 297 * ---------------------------------------------------------------------------- … … 289 299 290 300 .alignleft { 291 301 float: left; 292 margin -right: 24px;302 margin: 7px 24px 7px 0; 293 303 } 294 304 295 305 .alignright { 296 306 float: right; 297 margin -left:24px;307 margin: 7px 0 7px 24px; 298 308 } 299 309 300 310 .aligncenter { 301 311 clear: both; 302 312 display: block; 303 margin: 0auto;313 margin: 7px auto; 304 314 } 305 315 306 img.alignnone { 307 margin: 5px 0; 316 blockquote.alignleft, 317 blockquote.alignright { 318 border-top: 1px solid rgba(0, 0, 0, 0.1); 319 border-bottom: 1px solid rgba(0, 0, 0, 0.1); 320 padding-top: 17px; 321 width: 50%; 308 322 } 309 323 324 blockquote.alignleft p, 325 blockquote.alignright p { 326 margin-bottom: 17px; 327 } 310 328 329 311 330 /** 312 331 * 6.0 Tables 313 332 * ---------------------------------------------------------------------------- 314 333 */ 315 334 316 table {335 .mceItemTable { 317 336 border: 1px solid rgba(0, 0, 0, 0.1); 318 border-collapse: collapse; 337 border-width: 1px 0 0 1px; 338 border-collapse: separate; 319 339 border-spacing: 0; 320 340 font-size: 14px; 321 341 line-height: 1.2857142857; … … 323 343 width: 100%; 324 344 } 325 345 326 caption, 327 th { 328 border-right: 1px solid rgba(0, 0, 0, 0.1); 346 .mceItemTable th, 347 .mceItemTable caption { 348 border: 1px solid rgba(0, 0, 0, 0.1); 349 border-width: 0 1px 1px 0; 329 350 font-weight: 700; 330 351 padding: 8px; 352 text-align: left; 331 353 text-transform: uppercase; 354 vertical-align: baseline; 332 355 } 333 356 334 td { 335 border-top: 1px solid rgba(0, 0, 0, 0.1); 336 border-right: 1px solid rgba(0, 0, 0, 0.1); 357 .mceItemTable td { 358 border: 1px solid rgba(0, 0, 0, 0.1); 359 border-width: 0 1px 1px 0; 360 font-family: Lato, sans-serif; 361 font-size: 14px; 337 362 padding: 8px; 363 vertical-align: baseline; 338 364 } 339 365 366 340 367 /** 341 368 * 7.0 Images 342 369 * ---------------------------------------------------------------------------- … … 351 378 .wp-caption { 352 379 background: transparent; 353 380 border: none; 381 color: #767676; 354 382 margin: 0 0 24px 0; 383 max-width: 474px; 355 384 padding: 0; 356 385 text-align: left; 357 max-width: 474px;358 386 } 359 387 360 388 .wp-caption.alignleft { 361 margin: 7px 24px 7px 0;389 margin: 7px 14px 7px 0; 362 390 } 363 391 364 392 .wp-caption.alignright { 365 margin: 7px 0 7px 24px;393 margin: 7px 0 7px 14px; 366 394 } 367 395 368 396 .wp-caption.aligncenter { … … 375 403 376 404 .wp-caption .wp-caption-text, 377 405 .wp-caption-dd { 406 -webkit-box-sizing: border-box; 378 407 -moz-box-sizing: border-box; 379 408 box-sizing: border-box; 380 409 font-size: 12px; 381 410 font-style: italic; 382 line-height: 1. 6666666666;383 margin: 4px 0;411 line-height: 1.5; 412 margin: 9px 0; 384 413 padding: 0 10px 0 0; /* Avoid the caption to overflow the width of the image because wp-caption has 10px wider width */ 385 414 text-align: left; 386 415 } … … 390 419 list-style-position: inside; 391 420 } 392 421 422 393 423 /** 394 424 * 8.0 RTL 395 425 * ---------------------------------------------------------------------------- … … 406 436 margin-right: 24px; 407 437 } 408 438 409 .rtl blockquote.pull.alignleft {410 margin-left: 24px;411 margin-right: 0;412 }413 414 .rtl blockquote.pull.alignright {415 margin-left: 0;416 margin-right: 24px;417 }418 419 439 .rtl .wp-caption, 420 440 .rtl tr th { 421 441 text-align: right;