Changeset 26561
- Timestamp:
- 12/03/2013 05:29:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/css/editor-style.css
r26409 r26561 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 } … … 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;60 }61 62 h2 {63 font-size: 30px;64 line-height: 1.2;65 }66 67 h3 {68 58 font-size: 26px; 69 59 line-height: 1.3846153846; 70 60 } 71 61 72 h4 { 62 h2 { 63 font-size: 24px; 64 line-height: 1; 65 } 66 67 h3 { 73 68 font-size: 22px; 74 69 line-height: 1.0909090909; 70 } 71 72 h4 { 73 font-size: 20px; 74 line-height: 1.2; 75 75 } 76 76 … … 85 85 } 86 86 87 hr { 88 background-color: rgba(0, 0, 0, 0.1); 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; 94 } 95 96 97 /** 98 * 3.0 Text Elements 99 * ---------------------------------------------------------------------------- 100 */ 101 102 address { 103 font-style: italic; 104 margin-bottom: 24px; 105 } 106 107 abbr[title] { 108 border-bottom: 1px dotted #2b2b2b; 109 cursor: help; 110 } 111 112 b, 113 strong { 114 font-weight: 700; 115 } 116 117 cite { 89 118 border: 0; 90 height: 1px; 91 margin-bottom: 23px; 92 } 93 94 95 /** 96 * 3.0 Text Elements 97 * ---------------------------------------------------------------------------- 98 */ 119 } 120 121 cite, 122 dfn, 123 em, 124 i { 125 font-style: italic; 126 } 127 128 mark, 129 ins { 130 background: #fff9c0; 131 text-decoration: none; 132 } 99 133 100 134 p { 101 135 margin: 0 0 24px; 102 }103 104 ol,105 ul {106 margin: 0 0 24px 22px;107 padding-left: 0;108 }109 110 ul {111 list-style-type: disc;112 }113 114 ol {115 list-style: decimal;116 }117 118 li > ul,119 li > ol {120 margin-bottom: 0;121 margin-left: 20px;122 }123 124 dl {125 margin: 0 20px;126 }127 128 dt {129 font-weight: bold;130 }131 132 dd {133 margin: 0 0 24px;134 }135 136 strong {137 font-weight: bold;138 136 } 139 137 … … 142 140 tt, 143 141 var, 144 samp { 145 font: 15px/1.6 Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; 146 } 147 142 samp, 148 143 pre { 149 background: #eee; 150 font-family: 'Courier 10 Pitch', Courier, monospace; 144 font-family: monospace, serif; 151 145 font-size: 15px; 152 146 line-height: 1.6; 147 } 148 149 pre { 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 … … 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 }177 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 180 } 187 181 … … 194 188 } 195 189 196 blockquote.pull p { 197 margin-bottom: 17px; 198 } 199 200 blockquote.pull.alignleft, 201 blockquote.pull.alignright { 190 blockquote em, 191 blockquote i, 192 blockquote cite { 193 font-style: normal; 194 } 195 196 blockquote strong, 197 blockquote b { 198 font-weight: 400; 199 } 200 201 small { 202 font-size: smaller; 203 } 204 205 big { 206 font-size: 125%; 207 } 208 209 sup, 210 sub { 211 font-size: 75%; 212 height: 0; 213 line-height: 0; 214 position: relative; 215 vertical-align: baseline; 216 } 217 218 sup { 219 bottom: 1ex; 220 } 221 222 sub { 223 top: .5ex; 224 } 225 226 dl { 227 margin: 0 0 24px; 228 } 229 230 dt { 231 font-weight: bold; 232 } 233 234 dd { 235 margin: 0 0 24px; 236 } 237 238 ul, 239 ol { 240 list-style: none; 241 margin: 0 0 24px 20px; 242 padding-left: 0; 243 } 244 245 ul { 246 list-style: disc; 247 } 248 249 ol { 250 list-style: decimal; 251 } 252 253 li > ul, 254 li > ol { 255 margin: 0 0 0 20px; 256 } 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 270 /** 271 * 4.0 Links 272 * ---------------------------------------------------------------------------- 273 */ 274 275 a { 276 color: #24890d; 277 text-decoration: none; 278 } 279 280 a:visited { 281 color: #24890d; 282 } 283 284 a:focus { 285 outline: thin dotted; 286 } 287 288 a:active, 289 a:hover { 290 color: #41a62a; 291 outline: 0; 292 } 293 294 295 /** 296 * 5.0 Alignment 297 * ---------------------------------------------------------------------------- 298 */ 299 300 .alignleft { 301 float: left; 302 margin: 7px 24px 7px 0; 303 } 304 305 .alignright { 306 float: right; 307 margin: 7px 0 7px 24px; 308 } 309 310 .aligncenter { 311 clear: both; 312 display: block; 313 margin: 7px auto; 314 } 315 316 blockquote.alignleft, 317 blockquote.alignright { 202 318 border-top: 1px solid rgba(0, 0, 0, 0.1); 203 319 border-bottom: 1px solid rgba(0, 0, 0, 0.1); … … 206 322 } 207 323 208 blockquote.pull.alignleft { 209 margin: 7px 24px 7px 0; 210 } 211 212 blockquote.pull.alignright { 213 margin: 7px 0 7px 24px; 214 } 215 216 blockquote blockquote { 217 margin-right: 0; 218 } 219 220 cite { 221 border-bottom: 0; 222 } 223 224 abbr[title] { 225 border-bottom: 1px dotted rgba(0, 0, 0, 0.1); 226 } 227 228 address { 229 font-style: normal; 230 margin: 0 0 24px; 231 } 232 233 del { 234 color: #333; 235 } 236 237 ins { 238 background: #fff9c0; 239 border: none; 240 color: #333; 241 text-decoration: none; 242 } 243 244 sub, 245 sup { 246 font-size: 75%; 247 line-height: 0; 248 position: relative; 249 vertical-align: baseline; 250 } 251 252 sup { 253 bottom: 1ex; 254 } 255 256 sub { 257 top: .5ex; 258 } 259 260 261 /** 262 * 4.0 Links 263 * ---------------------------------------------------------------------------- 264 */ 265 266 a { 267 color: #24890d; 268 text-decoration: none; 269 } 270 271 a:visited { 272 color: #24890d; 273 } 274 275 a:focus { 276 outline: thin dotted; 277 } 278 279 a:active, 280 a:hover { 281 color: #55d737; 282 outline: 0; 283 } 284 285 /** 286 * 5.0 Alignment 287 * ---------------------------------------------------------------------------- 288 */ 289 290 .alignleft { 291 float: left; 292 margin-right: 24px; 293 } 294 295 .alignright { 296 float: right; 297 margin-left: 24px; 298 } 299 300 .aligncenter { 301 clear: both; 302 display: block; 303 margin: 0 auto; 304 } 305 306 img.alignnone { 307 margin: 5px 0; 324 blockquote.alignleft p, 325 blockquote.alignright p { 326 margin-bottom: 17px; 308 327 } 309 328 … … 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; … … 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; 332 } 333 334 td { 335 border-top: 1px solid rgba(0, 0, 0, 0.1); 336 border-right: 1px solid rgba(0, 0, 0, 0.1); 354 vertical-align: baseline; 355 } 356 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; 338 } 363 vertical-align: baseline; 364 } 365 339 366 340 367 /** … … 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 … … 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; … … 390 419 list-style-position: inside; 391 420 } 421 392 422 393 423 /** … … 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 {
Note: See TracChangeset
for help on using the changeset viewer.