Ticket #23662: 23662.patch
File 23662.patch, 8.4 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/style.css
48 48 http://snook.ca/archives/html_and_css/font-size-with-rem 49 49 http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/ 50 50 51 /** 52 * Table of Contents: 53 * 54 * 1.0 - Reset 55 * 1.1 - Clearing floats 56 * 2.0 - Repeatable Patterns 57 * 2.1 - Small headers 58 * 2.2 - Shared Post Format styling 59 * 2.3 - Form fields, general styles first 60 * 2.4 - Reset non-text input types 61 * 2.5 - Buttons 62 * 2.6 - Responsive images 63 * 2.7 - Images 64 * 2.8 - Navigation 65 * 2.9 - Author profiles 66 * 3.0 - Site Structure 67 * 3.1 - Body, links, basics 68 * 3.2 - Assistive text 69 * 3.3 - Page structure 70 * 3.4 - Header 71 * 3.4.1 - Site Header 72 * 3.4.2 - Navigation 73 * 3.4.3 - Banner 74 * 3.5 - Sidebar 75 * 3.6 - Footer 76 * 4.0 - Main content and comment content 77 * 5.0 - Archives 78 * 6.0 - Single image attachment view 79 * 7.0 - Aside post format 80 * 8.0 - Post formats 81 * 8.1 - Image posts 82 * 8.2 - Link posts 83 * 8.3 - Quote posts 84 * 8.4 - Status posts 85 * 9.0 - Comments 86 * 9.1 - Comment form 87 * 10.0 - Front page template 88 * 11.0 - Widgets 89 * 12.0 - Plugins 90 * 13.0 - Media queries 91 * 13.1 - Minimum width of 600 pixels 92 * 13.2 - Minimum width of 960 pixels 93 * 14.0 - Print 94 * 14.1 - Comments 95 * ---------------------------------------------------------------------------- 96 */ 51 97 52 /* =Reset98 /* 1.0 Reset 53 99 -------------------------------------------------------------- */ 54 100 55 101 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { … … 159 205 -ms-interpolation-mode: bicubic; 160 206 } 161 207 162 /* Clearing floats */208 /* 1.1 Clearing floats */ 163 209 .clear:after, 164 210 .wrapper:after, 165 211 .format-status .entry-header:after { … … 176 222 } 177 223 178 224 179 /* =Repeatable patterns225 /* 2.0 Repeatable patterns 180 226 -------------------------------------------------------------- */ 181 227 182 /* Small headers */228 /* 2.1 Small headers */ 183 229 .archive-title, 184 230 .page-title, 185 231 .widget-title, … … 193 239 color: #636363; 194 240 } 195 241 196 /* Shared Post Format styling */242 /* 2.2 Shared Post Format styling */ 197 243 article.format-quote footer.entry-meta, 198 244 article.format-link footer.entry-meta, 199 245 article.format-status footer.entry-meta { … … 202 248 line-height: 2.181818182; 203 249 } 204 250 205 /* Form fields, general styles first */251 /* 2.3 Form fields, general styles first */ 206 252 button, 207 253 input, 208 254 textarea { … … 222 268 vertical-align: top; 223 269 } 224 270 225 /* Reset non-text input types */271 /* 2.4 Reset non-text input types */ 226 272 input[type="checkbox"], 227 273 input[type="radio"], 228 274 input[type="file"], … … 234 280 padding: 0; 235 281 } 236 282 237 /* Buttons */283 /* 2.5 Buttons */ 238 284 .menu-toggle, 239 285 input[type="submit"], 240 286 input[type="button"], … … 312 358 padding: 0; 313 359 } 314 360 315 /* Responsive images */361 /* 2.6 Responsive images */ 316 362 .entry-content img, 317 363 .comment-content img, 318 364 .widget img { … … 342 388 max-width: 100% !important; /* Override the Twitter embed fixed width */ 343 389 } 344 390 345 /* Images */391 /* 2.7 Images */ 346 392 .alignleft { 347 393 float: left; 348 394 } … … 412 458 padding: 3%; 413 459 } 414 460 415 /* Navigation */461 /* 2.8 Navigation */ 416 462 .site-content nav { 417 463 clear: both; 418 464 line-height: 2; … … 445 491 margin: 3.428571429rem 0; 446 492 } 447 493 448 /* Author profiles */494 /* 2.9 Author profiles */ 449 495 .author .archive-header { 450 496 margin-bottom: 24px; 451 497 margin-bottom: 1.714285714rem; … … 474 520 } 475 521 476 522 477 /* =Basicstructure523 /* 3.0 Site structure 478 524 -------------------------------------------------------------- */ 479 525 480 /* Body, links, basics */526 /* 3.1 Body, links, basics */ 481 527 html { 482 528 font-size: 87.5%; 483 529 } … … 499 545 color: #0f3647; 500 546 } 501 547 502 /* Assistive text */548 /* 3.2 Assistive text */ 503 549 .assistive-text, 504 550 .site .screen-reader-text { 505 551 position: absolute !important; … … 522 568 z-index: 100000; /* Above WP toolbar */ 523 569 } 524 570 525 /* Page structure */571 /* 3.3 Page structure */ 526 572 .site { 527 573 padding: 0 24px; 528 574 padding: 0 1.714285714rem; … … 537 583 margin: 1.714285714rem 0 0; 538 584 } 539 585 540 /* Header */ 586 /* 3.4 Header */ 587 588 /* 3.4.1 Site Header */ 541 589 .site-header { 542 590 padding: 24px 0; 543 591 padding: 1.714285714rem 0; … … 575 623 margin-top: 1.714285714rem; 576 624 } 577 625 578 /* Navigation Menu */626 /* 3.4.2 Navigation Menu */ 579 627 .main-navigation { 580 628 margin-top: 24px; 581 629 margin-top: 1.714285714rem; … … 603 651 display: inline-block; 604 652 } 605 653 606 /* Banner */654 /* 3.4.3 Banner */ 607 655 section[role="banner"] { 608 656 margin-bottom: 48px; 609 657 margin-bottom: 3.428571429rem; 610 658 } 611 659 612 /* Sidebar */660 /* 3.5 Sidebar */ 613 661 .widget-area .widget { 614 662 -webkit-hyphens: auto; 615 663 -moz-hyphens: auto; … … 655 703 width: 53.66666666666%; /* define a width to avoid dropping a wider submit button */ 656 704 } 657 705 658 /* Footer */706 /* 3.6 Footer */ 659 707 footer[role="contentinfo"] { 660 708 border-top: 1px solid #ededed; 661 709 clear: both; … … 679 727 } 680 728 681 729 682 /* =Main content and comment content730 /* 4.0 Main content and comment content 683 731 -------------------------------------------------------------- */ 684 732 685 733 .entry-meta { … … 987 1035 } 988 1036 989 1037 990 /* =Archives1038 /* 5.0 Archives 991 1039 -------------------------------------------------------------- */ 992 1040 993 1041 .archive-header, … … 1008 1056 } 1009 1057 1010 1058 1011 /* =Single image attachment view1059 /* 6.0 Single image attachment view 1012 1060 -------------------------------------------------------------- */ 1013 1061 1014 1062 .article.attachment { … … 1032 1080 } 1033 1081 1034 1082 1035 /* =Aside post format1083 /* 7.0 Aside post format 1036 1084 -------------------------------------------------------------- */ 1037 1085 1038 1086 article.format-aside h1 { … … 1064 1112 } 1065 1113 1066 1114 1067 /* =Post formats1115 /* 8.0 Post formats 1068 1116 -------------------------------------------------------------- */ 1069 1117 1070 /* Image posts */1118 /* 8.1 Image posts */ 1071 1119 article.format-image footer h1 { 1072 1120 font-size: 13px; 1073 1121 font-size: 0.928571429rem; … … 1083 1131 font-weight: normal; 1084 1132 } 1085 1133 1086 /* Link posts */1134 /* 8.2 Link posts */ 1087 1135 article.format-link header { 1088 1136 padding: 0 10px; 1089 1137 padding: 0 0.714285714rem; … … 1109 1157 text-decoration: none; 1110 1158 } 1111 1159 1112 /* Quote posts */1160 /* 8.3 Quote posts */ 1113 1161 article.format-quote .entry-content p { 1114 1162 margin: 0; 1115 1163 padding-bottom: 24px; … … 1127 1175 background: #efefef; 1128 1176 } 1129 1177 1130 /* Status posts */1178 /* 8.4 Status posts */ 1131 1179 .format-status .entry-header { 1132 1180 margin-bottom: 24px; 1133 1181 margin-bottom: 1.714285714rem; … … 1162 1210 } 1163 1211 1164 1212 1165 /* =Comments1213 /* 9.0 Comments 1166 1214 -------------------------------------------------------------- */ 1167 1215 1168 1216 .comments-title { … … 1266 1314 margin-bottom: 1.714285714rem; 1267 1315 } 1268 1316 1269 /* Comment form */1317 /* 9.1 Comment form */ 1270 1318 #respond { 1271 1319 margin-top: 48px; 1272 1320 margin-top: 3.428571429rem; … … 1322 1370 } 1323 1371 1324 1372 1325 /* =Front page template1373 /* 10.0 Front page template 1326 1374 -------------------------------------------------------------- */ 1327 1375 1328 1376 .entry-page-image { … … 1363 1411 } 1364 1412 1365 1413 1366 /* =Widgets1414 /* 11.0 Widgets 1367 1415 -------------------------------------------------------------- */ 1368 1416 1369 1417 .widget-area .widget ul ul { … … 1415 1463 } 1416 1464 1417 1465 1418 /* =Plugins1466 /* 12.0 Plugins 1419 1467 ----------------------------------------------- */ 1420 1468 1421 1469 img#wpstats { … … 1425 1473 } 1426 1474 1427 1475 1428 /* =Media queries1476 /* 13.0 Media queries 1429 1477 -------------------------------------------------------------- */ 1430 1478 1431 /* Minimum width of 600 pixels.*/1479 /* 13.1 Minimum width of 600 pixels */ 1432 1480 @media screen and (min-width: 600px) { 1433 1481 .author-avatar { 1434 1482 float: left; … … 1594 1642 } 1595 1643 } 1596 1644 1597 /* Minimum width of 960 pixels.*/1645 /* 13.2 Minimum width of 960 pixels */ 1598 1646 @media screen and (min-width: 960px) { 1599 1647 body { 1600 1648 background-color: #e6e6e6; … … 1621 1669 } 1622 1670 1623 1671 1624 /* =Print1672 /* 14.0 Print 1625 1673 ----------------------------------------------- */ 1626 1674 1627 1675 @media print { … … 1718 1766 width: auto; 1719 1767 } 1720 1768 1721 /* Comments */1769 /* 14.1 Comments */ 1722 1770 .commentlist > li.comment { 1723 1771 background: none; 1724 1772 position: relative; … … 1735 1783 margin-left: 50px; 1736 1784 margin-left: 3.57142857rem; 1737 1785 } 1738 } 1739 No newline at end of file 1786 }