Commit Graph

1051 Commits

Author SHA1 Message Date
Lance Willett
6255e979f8 Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21611 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:07:19 +00:00
potbot
9826917f39 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21607 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:56 +00:00
potbot
57e6d56ea4 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21606 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:49 +00:00
Andrew Nacin
e1d2b7baa0 Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:22:14 +00:00
Lance Willett
ad6704a632 Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21603 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 23:39:57 +00:00
potbot
2578ecfabd POT, generated from r21600
git-svn-id: https://develop.svn.wordpress.org/trunk@21602 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 21:18:27 +00:00
Lance Willett
326d6db1ed Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671.
git-svn-id: https://develop.svn.wordpress.org/trunk@21600 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 20:52:07 +00:00
Lance Willett
2b6c43d89b Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21573 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 17:31:33 +00:00
Lance Willett
89d3a6c1a1 Twenty Twelve: add in missing style.css tag for 'editor-style', see #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21566 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:26:51 +00:00
Lance Willett
81e0beea4c Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21565 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:11:36 +00:00
Lance Willett
c03b4a21c6 Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21564 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:10:56 +00:00
Lance Willett
c4e51487e5 Twenty Twelve: minor style fixes for small navigation menu (line-height) -- see #21562; featured image on homepage timeplate (space below image in small layouts).
git-svn-id: https://develop.svn.wordpress.org/trunk@21562 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 21:44:38 +00:00
Lance Willett
453941f725 Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619.
git-svn-id: https://develop.svn.wordpress.org/trunk@21558 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:43:16 +00:00
Lance Willett
35ad2034b2 Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
git-svn-id: https://develop.svn.wordpress.org/trunk@21557 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:14:51 +00:00
Lance Willett
9bdc159632 Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
git-svn-id: https://develop.svn.wordpress.org/trunk@21556 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:13:28 +00:00
Lance Willett
1addc8f756 Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21555 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:45:00 +00:00
Lance Willett
c148784433 Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21554 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:35:33 +00:00
Lance Willett
c43e008f54 Twenty Twelve: remove twentytwelve_is_categorized_site() in favor of a theme-agnostic future core fix for this issue, see #21479.
Also simplify the logic for checking tag and categories, props SergeyBiryukov and obenland.


git-svn-id: https://develop.svn.wordpress.org/trunk@21543 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 22:18:01 +00:00
Lance Willett
0c088e5f37 Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
git-svn-id: https://develop.svn.wordpress.org/trunk@21542 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 21:20:16 +00:00
Lance Willett
d022dec53b Twenty Twelve: minor CSS cleanup for extra trailing selector comma, spacing, and too-specific class selector.
git-svn-id: https://develop.svn.wordpress.org/trunk@21540 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 17:23:49 +00:00
Lance Willett
b6c113f135 Twenty Twelve: add flexible-header tag back into style.css, in anticipation of it being a core-allowed tag, see #21065.
Remove responsive-width since it's not decided yet, see #21065.


git-svn-id: https://develop.svn.wordpress.org/trunk@21533 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 22:20:57 +00:00
Lance Willett
8d5d12272d Twenty Twelve: remove initial-scale value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577.
git-svn-id: https://develop.svn.wordpress.org/trunk@21525 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 16:05:13 +00:00
Lance Willett
1ccc08642e Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587.
git-svn-id: https://develop.svn.wordpress.org/trunk@21524 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:58:25 +00:00
Lance Willett
c5902bca7b Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562.
Also remove duplicate line-height rule, props bradthomas127. See #21577.


git-svn-id: https://develop.svn.wordpress.org/trunk@21520 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:56:24 +00:00
Lance Willett
b07a12820a Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531.
git-svn-id: https://develop.svn.wordpress.org/trunk@21519 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:37:36 +00:00
Lance Willett
77411d483e Twenty Twelve: fix centering of image captions on image attachment view. Fixes #21530.
git-svn-id: https://develop.svn.wordpress.org/trunk@21518 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:30:36 +00:00
Lance Willett
8b7561bee8 Twenty Twelve: better fix for long words getting hidden in widgets, putting the rules in the correct selector, props obenland. Closes #21503.
git-svn-id: https://develop.svn.wordpress.org/trunk@21517 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:25:40 +00:00
Lance Willett
64746c8d75 Twenty Twelve: move IE8 styles to specific IE selector, props obenland. Closes #21440.
git-svn-id: https://develop.svn.wordpress.org/trunk@21516 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:08:07 +00:00
Lance Willett
2e2fd01f5d Twenty Twelve: editor RTL style fixes props yoavf, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21515 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:03:21 +00:00
potbot
e731297f92 POT, generated from r21492
git-svn-id: https://develop.svn.wordpress.org/trunk@21494 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 19:22:41 +00:00
potbot
4a5e9ea34f POT, generated from r21492
git-svn-id: https://develop.svn.wordpress.org/trunk@21493 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 19:22:33 +00:00
Lance Willett
680b671330 Twenty Twelve: pinking shears for header.php
git-svn-id: https://develop.svn.wordpress.org/trunk@21492 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:42:36 +00:00
Lance Willett
e41b7dcf5a Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996.
git-svn-id: https://develop.svn.wordpress.org/trunk@21491 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:31:02 +00:00
Lance Willett
fc4fffaad5 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21490 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:21:58 +00:00
Lance Willett
ced74a6194 Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21489 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:20:25 +00:00
Lance Willett
7b11f93275 Twenty Eleven: fix gallery thumbnail image overflow, props chellycat. Fixes #20478.
git-svn-id: https://develop.svn.wordpress.org/trunk@21488 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:58:56 +00:00
Lance Willett
38ccc90afc Twenty Eleven: fix long URLs in comments overflow content area, fixes #21491. Props SergeyBiryukov jkudish andrewspittle.
Also minor pinking shears in stylesheet and functions file.


git-svn-id: https://develop.svn.wordpress.org/trunk@21487 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:32:39 +00:00
Lance Willett
56c4577fea Twenty Ten: code readability in twentyten_comment, props kovshenin, fixes #21474. (And minor pinking shears.)
git-svn-id: https://develop.svn.wordpress.org/trunk@21486 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:22:44 +00:00
Lance Willett
bad4cefc68 Twenty Twelve: fix bypostauthor styling, probs obenland and SergeyBiryukov (also improves the RTL layout, see #21441).
git-svn-id: https://develop.svn.wordpress.org/trunk@21483 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 19:10:22 +00:00
Lance Willett
05f72b8149 Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440.
git-svn-id: https://develop.svn.wordpress.org/trunk@21482 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 18:03:59 +00:00
Lance Willett
8d8b4214c5 Twenty Twelve: cleanup up extra space in functions.php
git-svn-id: https://develop.svn.wordpress.org/trunk@21479 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:59:15 +00:00
Lance Willett
da5b33b5a5 Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@21478 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:38:21 +00:00
Lance Willett
24fda2c796 Twenty Twelve: fix for long words getting hidden in widgets. Props DrewAPicture, closes #21503.
git-svn-id: https://develop.svn.wordpress.org/trunk@21477 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:21:14 +00:00
Lance Willett
bf2fe5d976 Twenty Twelve: make nav toggle button same height as other buttons.
git-svn-id: https://develop.svn.wordpress.org/trunk@21476 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:14:36 +00:00
Lance Willett
fb349e634a Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440.
git-svn-id: https://develop.svn.wordpress.org/trunk@21475 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:13:32 +00:00
Lance Willett
c0784c5fc5 Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.
git-svn-id: https://develop.svn.wordpress.org/trunk@21464 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 21:05:02 +00:00
Lance Willett
09aa0a56b8 Twenty Twelve: line-height style fixes, props chellycat. See #21486.
* For entry titles match larger screen style with the base styles to add a bit more line-height.
 * Add line-height to entry-content and entry-summary, so that elements appearing outside of paragraph tags inside these containers will still have the appropriate line-heights.
 * Add line-height for pingbacks, which looks a bit too tight when pingbacks span multiple lines.


git-svn-id: https://develop.svn.wordpress.org/trunk@21462 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 20:48:47 +00:00
Lance Willett
8250390852 Twenty Twelve: fix searchform styling issues and simplify selectors even more. Fixes #21478, props hd-J and jkudish.
git-svn-id: https://develop.svn.wordpress.org/trunk@21451 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:30:52 +00:00
Lance Willett
bca0288810 Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.
git-svn-id: https://develop.svn.wordpress.org/trunk@21450 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:19:29 +00:00
Lance Willett
5183b18ace Twenty Twelve: check for empty variable for simpler logic, props jkudish. See #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21449 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:01:32 +00:00
Lance Willett
cff9d5d95e Twenty Twelve: standardize label used for Web Fonts option. Props jkudish, fixes #21487.
git-svn-id: https://develop.svn.wordpress.org/trunk@21448 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:58:12 +00:00
Lance Willett
c0f5be84d7 Twenty Twelve: widget style fikes, align the ".timesince" class in the Twitter widget to the right like Twenty Eleven does. Props chellycat, see #21477.
git-svn-id: https://develop.svn.wordpress.org/trunk@21447 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:48:13 +00:00
Lance Willett
b120291188 Twenty Twelve: Position the stats smiley in a happy place, and add Plugins rule block. See #21477, props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21446 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:41:59 +00:00
Lance Willett
a942e53cce Twenty Twelve: style acronym element same as dfn and abbr, props DrewAPicture. Fixes #21484.
git-svn-id: https://develop.svn.wordpress.org/trunk@21445 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:11:11 +00:00
Lance Willett
d21e5fe232 Twenty Twelve: hide category and tag output in post meta if only 1 term. Props ryanimel, jkudish and fixes #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21444 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:04:32 +00:00
Lance Willett
d7ca83f5a9 Twenty Twelve, apply RSS styles from r21436 to RTL stylesheet, props SergeyBiryukov. Fixes #21476.
git-svn-id: https://develop.svn.wordpress.org/trunk@21442 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:56:50 +00:00
Lance Willett
a1a26b0318 Twenty Twelve, RTL: per azaozz, center the editor body in RTL to stop messing with calculating height/width in JS. Props obenland, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21441 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:54:47 +00:00
Lance Willett
165a28af29 Twenty Twelve: use inline-block for clickable titles, props klagraff and iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21440 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:42:46 +00:00
Lance Willett
6b54c9b5c0 Twenty Twelve: better button styles for consistent look across browsers. Props obenland, fixes #21473.
git-svn-id: https://develop.svn.wordpress.org/trunk@21438 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:39:26 +00:00
Lance Willett
43522b9b42 Twenty Twelve: only show excerpt on search view, not full content.
Props bradthomas127 and obenland. See #21462.


git-svn-id: https://develop.svn.wordpress.org/trunk@21437 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:27:22 +00:00
Lance Willett
03e65d021c Twenty Twelve: style up the RSS widget output to match Recent Posts better. Props SergeyBiryukov and obenland, see #21476.
git-svn-id: https://develop.svn.wordpress.org/trunk@21436 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:20:35 +00:00
Lance Willett
496e7275b1 Twenty Twelve RTL: more fixes props obenland. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21434 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:34:56 +00:00
Lance Willett
2d4822d1c3 Twenty Twelve RTL: add editor-style-rtl stylesheet, props SergeyBiryukov and obenland. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21433 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:27:50 +00:00
Lance Willett
b8ccfe935f Twenty Twelve RTL: Adds the visual of comment threading back to RTL, props iandstewart. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21432 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:14:23 +00:00
Lance Willett
b30c35dd8a Twenty Twelve RTL: We ought not to RTL image alignment since the editor adds the class and the button is always the same. See #21441 props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21431 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:13:21 +00:00
Lance Willett
baf3d55e1b Twenty Twelve RTL: adds missing margin for lists in comments, props iandstewart. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21430 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:10:21 +00:00
Lance Willett
ad42b71413 Twenty Twelve: set version to null to force no stylesheet version number when loading third-party CSS for Google Fonts. Props drewstrojny and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21428 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:41:20 +00:00
Lance Willett
c8338c0056 Twenty Twelve: print style tweaks for footer meta and link underlines. See #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21427 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:21:07 +00:00
Lance Willett
a53857ea64 Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385.
git-svn-id: https://develop.svn.wordpress.org/trunk@21426 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 19:56:42 +00:00
Lance Willett
28562bc58a Twenty Twelve: bump theme-customizer JS version. See #21443.
git-svn-id: https://develop.svn.wordpress.org/trunk@21412 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 22:17:06 +00:00
Lance Willett
b1f62e5a43 Twenty Twelve: Add postMessage support in Customizer for fonts, site title and description, and background color body_class value updates.
Props obenland for first patch and testing. Fixes #21443.


git-svn-id: https://develop.svn.wordpress.org/trunk@21411 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 22:10:03 +00:00
Lance Willett
3bf85fa102 Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21410 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 21:11:11 +00:00
Lance Willett
d5a2c32b11 Twenty Twelve: update editor stylesheet, props obenland. See #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21409 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 21:06:03 +00:00
Lance Willett
d9b11cf9e7 Twenty Twelve: make sure embeds and videos don't overflow their containers, and add iframe styles to all embeds, videos, and objects. Fixes #21382.
Props chriswallace and obenland for troubleshooting.


git-svn-id: https://develop.svn.wordpress.org/trunk@21408 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:57:47 +00:00
Lance Willett
46910c79e4 Twenty Twelve: add max-width rule to help captions not overflow their container at small window sizes. Props chriswallace and obenland, fixes #21383.
git-svn-id: https://develop.svn.wordpress.org/trunk@21407 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:53:38 +00:00
Lance Willett
66315ec8a3 Twenty Twelve: style hr, big, del, ins in editor stylesheet (and add all except big to style.css also). Fixes #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21406 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:27:23 +00:00
Lance Willett
4d30bd4e84 Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
git-svn-id: https://develop.svn.wordpress.org/trunk@21405 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:53:45 +00:00
Lance Willett
61d042a645 Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
 * Bump JS version after selector change.
 * Move `image-attachment` to `post_class()` output

More exhaustive notes in the ticket on each id and class change.


git-svn-id: https://develop.svn.wordpress.org/trunk@21404 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:12:11 +00:00
Lance Willett
ecd9fe3d78 Twenty Twelve: CSS and markup improvements for better child theme support, part 2. See #21379.
* Allow image alignment to apply anywhere, not just entry content area
 * Remove unneeded `hgroup` `header` and `nav` selectors


git-svn-id: https://develop.svn.wordpress.org/trunk@21402 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 18:28:10 +00:00
Lance Willett
d6c8d62585 Twenty Twelve: CSS and markup improvements for better child theme support, part 1.
Move all media queries to bottom of document.


git-svn-id: https://develop.svn.wordpress.org/trunk@21401 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 17:50:52 +00:00
Lance Willett
5ebd31d51e Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245.
git-svn-id: https://develop.svn.wordpress.org/trunk@21398 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 18:52:20 +00:00
Lance Willett
51b5a97524 Twenty Twelve: update styles for tag/category descriptions on archive pages, props drewstrojny. Closes #21255.
git-svn-id: https://develop.svn.wordpress.org/trunk@21397 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:38:00 +00:00
Lance Willett
6bff901746 Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384.
git-svn-id: https://develop.svn.wordpress.org/trunk@21396 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:34:31 +00:00
Andrew Nacin
936b693f9f Revert parameter changes in [21394] as these are unnecessary.
Our plugin API always passes the requested number arguments to a callback,
even if previous callbacks asked for less arguments than later callbacks.

see #21264.



git-svn-id: https://develop.svn.wordpress.org/trunk@21395 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:03:29 +00:00
Lance Willett
2a7834f801 Twenty Twelve: better comment block for twentytwelve_wp_title() and set passed arguments to empty strings for compatibility with plugins or child themes that might override wp_title() before this filter runs.
See #21264.


git-svn-id: https://develop.svn.wordpress.org/trunk@21394 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 16:45:12 +00:00
Lance Willett
f51441f9a1 Twenty Twelve: add CSS rule for threaded comments. Fixes #21405.
git-svn-id: https://develop.svn.wordpress.org/trunk@21393 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 16:08:47 +00:00
Lance Willett
2e091941cd Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21392 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:47:02 +00:00
Lance Willett
d699dd2ae7 Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21391 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:36:44 +00:00
Lance Willett
5931640943 Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640.
git-svn-id: https://develop.svn.wordpress.org/trunk@21390 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:31:36 +00:00
Lance Willett
ca414c64b5 Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376.
RTL version and tweaks to come after more testing.


git-svn-id: https://develop.svn.wordpress.org/trunk@21389 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:28:50 +00:00
Lance Willett
c7f7d937b3 Twenty Twelve: update comment header in html5 JS file.
Related to #20640.


git-svn-id: https://develop.svn.wordpress.org/trunk@21388 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:06:24 +00:00
Lance Willett
08220cceb8 Twenty Twelve: improve definition term layout a bit, use line-height instead of bottom margin. Fixes #21259.
git-svn-id: https://develop.svn.wordpress.org/trunk@21372 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 20:06:26 +00:00
Lance Willett
fcab500058 Twenty Twelve: fix typo for comment-content container showing incorrect class value, props obenland. Closes #21242.
git-svn-id: https://develop.svn.wordpress.org/trunk@21371 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:56:35 +00:00
Lance Willett
cc3294031d Twenty Twelve: squeeze 1.47% more size savings by compressing screenshot again.
git-svn-id: https://develop.svn.wordpress.org/trunk@21370 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:51:43 +00:00
Lance Willett
b290cc388a Twenty Twelve: fix typo, s/#entry-meta/.entry-meta/ props zeo. Closes #21418.
git-svn-id: https://develop.svn.wordpress.org/trunk@21369 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:48:43 +00:00
Lance Willett
691f2dfeac Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418.
git-svn-id: https://develop.svn.wordpress.org/trunk@21368 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:45:58 +00:00
Lance Willett
6d9357444c Twenty Twelve: enable async body class value changes for custom background color changes in Theme Customizer. See #21226.
git-svn-id: https://develop.svn.wordpress.org/trunk@21343 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:42:55 +00:00
Lance Willett
280d1d249c Twenty Twelve: improve table styles, props sennza and drewstrojny. Fixes #21261.
git-svn-id: https://develop.svn.wordpress.org/trunk@21342 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:15:55 +00:00
Lance Willett
752f63847b Twenty Twelve: new screenshot, props drewstrojny. Fixes #21227.
git-svn-id: https://develop.svn.wordpress.org/trunk@21341 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:09:46 +00:00
Lance Willett
1510f1b7c8 Twenty Twelve: update pre element styles, props senzza and drewstrojny. Fixes #21263.
git-svn-id: https://develop.svn.wordpress.org/trunk@21340 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:03:39 +00:00
Lance Willett
89c8ce5277 Twenty Twelve: give address element a little more line-height, props sennza and drewstrojny. Fixes #21262.
git-svn-id: https://develop.svn.wordpress.org/trunk@21338 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:58:04 +00:00
Lance Willett
000f94a4ff Twenty Twelve: adjust styles for definition lists, props sennza and drewstrojny. Fixes #21259.
git-svn-id: https://develop.svn.wordpress.org/trunk@21337 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:55:33 +00:00
Lance Willett
83c5befaae Twenty Twelve: CSS cleanup for clearing float method. Use overflow: hidden; and leave the other method intact in .clear rule so child themes can use it if needed. See #21381.
git-svn-id: https://develop.svn.wordpress.org/trunk@21336 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:44:37 +00:00
Lance Willett
27cd96d425 Twenty Twelve: CSS cleanup for old prefixes. See #21381.
git-svn-id: https://develop.svn.wordpress.org/trunk@21334 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 18:13:41 +00:00
Lance Willett
bb8a5b69ca Twenty Twelve: tag and category descriptions should not be part of h1 element. Props obenland, see #21255.
git-svn-id: https://develop.svn.wordpress.org/trunk@21331 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:55:50 +00:00
Lance Willett
fba8941581 Twenty Twelve: remove unneeded filter (props nacin) and fix up PHP comment blocks in custom-header.php file for s/@package/@since/ on individual functions. See #21231.
git-svn-id: https://develop.svn.wordpress.org/trunk@21329 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:30:19 +00:00
Lance Willett
92c83f843f Twenty Twelve: remove back compat for custom header image, installs prior to 3.4 will not see it as an option. Props obenland, closes #21231.
git-svn-id: https://develop.svn.wordpress.org/trunk@21328 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:12:40 +00:00
Lance Willett
8b2b91941a Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: https://develop.svn.wordpress.org/trunk@21327 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:51:23 +00:00
Lance Willett
7d67ab54df Twenty Twelve: add explanatory notes to top of style.css for the use of rem and pixel units for font-size and line-height values, props drewstrojny. See #21379.
git-svn-id: https://develop.svn.wordpress.org/trunk@21326 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:46:21 +00:00
Lance Willett
cabf107b65 Twenty Twelve: set gray background as default, handling empty and white as fallback cases. See #21226.
Also fix incorrect logic for full-width-page.php page template check in `twentytwelve_body_class` function.


git-svn-id: https://develop.svn.wordpress.org/trunk@21325 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:28:50 +00:00
Lance Willett
4fb5c2778f Twenty Twelve: update theme options file to use PHP5 constructor and visibility keywords, and also minor DocBlock cleanup. Props Mamaduka and obenland, closes #21297.
git-svn-id: https://develop.svn.wordpress.org/trunk@21280 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:41:17 +00:00
Lance Willett
8dc9cd8698 Twenty Twelve: Update full-width handling with a missing CSS selector, and add case of no sidebar to the content_width calculation. Props obenland, fixes #21254.
git-svn-id: https://develop.svn.wordpress.org/trunk@21279 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:13:49 +00:00
Lance Willett
4686ae30de Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: https://develop.svn.wordpress.org/trunk@21278 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:06:18 +00:00
Lance Willett
1a52aad25f Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form. Props drewstrojny, fixes #21242.
git-svn-id: https://develop.svn.wordpress.org/trunk@21277 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:03:38 +00:00
Lance Willett
03eca08891 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: https://develop.svn.wordpress.org/trunk@21276 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 17:07:15 +00:00
Lance Willett
5c27dfc67c Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21275 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 16:26:40 +00:00
Lance Willett
b21d21dc52 Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: https://develop.svn.wordpress.org/trunk@21268 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:36:27 +00:00
Lance Willett
2934b3d7b0 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: https://develop.svn.wordpress.org/trunk@21267 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:27:29 +00:00
Lance Willett
94eb96e85a Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: https://develop.svn.wordpress.org/trunk@21265 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:17:05 +00:00
Lance Willett
5ab1806b37 Twenty Twelve: improve screen-reader-text handling (aka assistive-text) to use text hiding technique more friendly for RTL.
Also remove a duplicate CSS declaration as the same selector exists below in the file.


git-svn-id: https://develop.svn.wordpress.org/trunk@21264 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:08:52 +00:00
Lance Willett
09635ed0cb Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21263 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:53:27 +00:00
Lance Willett
008b1d5810 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: https://develop.svn.wordpress.org/trunk@21262 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 23:28:33 +00:00
Andrew Nacin
4cc47e2034 The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 04:20:46 +00:00
Mark Jaquith
4c7b196b6d Remove an errant 1 pixel border below the header image in Twenty Eleven. props alexvorn2. props SergeyBiryukov. fixes #21057
git-svn-id: https://develop.svn.wordpress.org/trunk@21243 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:13:50 +00:00
potbot
9d6698e9a6 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21045 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:15 +00:00
potbot
dd85c1d055 POT, generated from r21043
git-svn-id: https://develop.svn.wordpress.org/trunk@21044 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 15:18:09 +00:00
Ryan Boren
3c11c749cb Bump bundled theme versions. Props nacin. fixes #20886
git-svn-id: https://develop.svn.wordpress.org/trunk@21040 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-10 14:18:45 +00:00
potbot
f136fa9c99 POT, generated from r20985
git-svn-id: https://develop.svn.wordpress.org/trunk@20987 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:18:22 +00:00
potbot
2cf59de3a3 POT, generated from r20985
git-svn-id: https://develop.svn.wordpress.org/trunk@20986 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:18:16 +00:00
Ryan Boren
8ed05fc6fd Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: https://develop.svn.wordpress.org/trunk@20983 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 14:43:19 +00:00
potbot
4aec27c666 POT, generated from r20974
git-svn-id: https://develop.svn.wordpress.org/trunk@20976 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 21:18:16 +00:00
potbot
ea6a8355e4 POT, generated from r20974
git-svn-id: https://develop.svn.wordpress.org/trunk@20975 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 21:18:10 +00:00
Ryan Boren
b85e8d138c Custom background fixes:
* Specify default background colors for the bundled themes.
* Change the default custom background callback to only operate on saved values, rather than default values.
* Prevent an unsaved default value from overriding a manually modified style.css file.

Props nacin, kobenland
fixes #20448


git-svn-id: https://develop.svn.wordpress.org/trunk@20973 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 20:31:50 +00:00
Andrew Nacin
e1c6f28e33 Provide a Text Domain header for Twenty Ten and Twenty Eleven. WP_Theme will then look to translate the style.css headers (name, author, description, etc.) on themes.php, even if the theme isn't activated. fixes #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20946 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:44:14 +00:00
Daryl Koopersmith
771ca21787 Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().

Adds support for regular hex colors to the color picker.

Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.


git-svn-id: https://develop.svn.wordpress.org/trunk@20936 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 18:44:31 +00:00
potbot
c4822affc0 POT, generated from r20916
git-svn-id: https://develop.svn.wordpress.org/trunk@20917 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:18:18 +00:00
Daryl Koopersmith
16aaa01c48 Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20916 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 21:50:01 +00:00
Andrew Nacin
11e40f1643 Twenty Eleven: Remove unused CSS. props SergeyBiryukov. fixes #20470.
git-svn-id: https://develop.svn.wordpress.org/trunk@20907 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:29:05 +00:00
Andrew Nacin
631413d39a Twenty Eleven: Style the samp and var elements the same way we style the code and kbd elements. props mfields, fixes #17842.
git-svn-id: https://develop.svn.wordpress.org/trunk@20906 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:22:31 +00:00
Andrew Nacin
26b2c0d693 Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.
git-svn-id: https://develop.svn.wordpress.org/trunk@20905 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:16:42 +00:00
Andrew Nacin
e9e1eae451 Twenty Eleven: Remove border and padding from images in the image widget. props lancewillett, fixes #20482.
git-svn-id: https://develop.svn.wordpress.org/trunk@20904 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:16:01 +00:00
Andrew Nacin
49552d6887 Twenty Eleven: Correct the display of featured images in the showcase template for IE8. props chellycat. fixes #20479.
git-svn-id: https://develop.svn.wordpress.org/trunk@20903 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:14:44 +00:00
Andrew Nacin
7b01e30d39 Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485.
git-svn-id: https://develop.svn.wordpress.org/trunk@20881 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 18:05:36 +00:00
potbot
e4768db2b7 POT, generated from r20875
git-svn-id: https://develop.svn.wordpress.org/trunk@20876 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 08:18:26 +00:00
Mark Jaquith
f7239248cb Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
git-svn-id: https://develop.svn.wordpress.org/trunk@20875 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:38:13 +00:00
Mark Jaquith
d67d542226 Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
git-svn-id: https://develop.svn.wordpress.org/trunk@20870 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:04:34 +00:00
potbot
db0d0f971e POT, generated from r20510
git-svn-id: https://develop.svn.wordpress.org/trunk@20511 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 18:18:06 +00:00
Andrew Nacin
8c380f31ed Check for wp_get_theme() in Twenty Eleven before using it, for compatibility down to WP 3.2 when Twenty Eleven was first released. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20508 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:32:53 +00:00
potbot
7c562a712e POT, generated from r20474
git-svn-id: https://develop.svn.wordpress.org/trunk@20475 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 21:17:55 +00:00
Andrew Nacin
95c85ceeee Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20474 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:51:24 +00:00