Commit Graph

109 Commits

Author SHA1 Message Date
lancewillett a83649d755 Twenty Twelve: cleanup up extra space in functions.php
git-svn-id: http://core.svn.wordpress.org/trunk@21479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:59:15 +00:00
lancewillett ab2b32c6a9 Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
git-svn-id: http://core.svn.wordpress.org/trunk@21478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:38:21 +00:00
lancewillett e220162063 Twenty Twelve: fix for long words getting hidden in widgets. Props DrewAPicture, closes #21503.
git-svn-id: http://core.svn.wordpress.org/trunk@21477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:21:14 +00:00
lancewillett 5280582df1 Twenty Twelve: make nav toggle button same height as other buttons.
git-svn-id: http://core.svn.wordpress.org/trunk@21476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:14:36 +00:00
lancewillett 2099053853 Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440.
git-svn-id: http://core.svn.wordpress.org/trunk@21475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 16:13:32 +00:00
lancewillett 850adce105 Twenty Twelve: update author archive markup and styles, props klagraff. Fixes #21494.
git-svn-id: http://core.svn.wordpress.org/trunk@21464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 21:05:02 +00:00
lancewillett 7b9d8c1491 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: http://core.svn.wordpress.org/trunk@21462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 20:48:47 +00:00
lancewillett edbe047def Twenty Twelve: fix searchform styling issues and simplify selectors even more. Fixes #21478, props hd-J and jkudish.
git-svn-id: http://core.svn.wordpress.org/trunk@21451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:30:52 +00:00
lancewillett 15ca4e3e89 Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.
git-svn-id: http://core.svn.wordpress.org/trunk@21450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:19:29 +00:00
lancewillett c431b810d2 Twenty Twelve: check for empty variable for simpler logic, props jkudish. See #21479.
git-svn-id: http://core.svn.wordpress.org/trunk@21449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 00:01:32 +00:00
lancewillett bbd8dfb103 Twenty Twelve: standardize label used for Web Fonts option. Props jkudish, fixes #21487.
git-svn-id: http://core.svn.wordpress.org/trunk@21448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:58:12 +00:00
lancewillett fba5363fce 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: http://core.svn.wordpress.org/trunk@21447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:48:13 +00:00
lancewillett f79fe8ac32 Twenty Twelve: Position the stats smiley in a happy place, and add Plugins rule block. See #21477, props iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:41:59 +00:00
lancewillett e6afa58c20 Twenty Twelve: style acronym element same as dfn and abbr, props DrewAPicture. Fixes #21484.
git-svn-id: http://core.svn.wordpress.org/trunk@21445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:11:11 +00:00
lancewillett e9c6360474 Twenty Twelve: hide category and tag output in post meta if only 1 term. Props ryanimel, jkudish and fixes #21479.
git-svn-id: http://core.svn.wordpress.org/trunk@21444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 23:04:32 +00:00
lancewillett a6a135300d Twenty Twelve, apply RSS styles from r21436 to RTL stylesheet, props SergeyBiryukov. Fixes #21476.
git-svn-id: http://core.svn.wordpress.org/trunk@21442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:56:50 +00:00
lancewillett 2c7e03611a 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: http://core.svn.wordpress.org/trunk@21441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:54:47 +00:00
lancewillett 8cfd109c27 Twenty Twelve: use inline-block for clickable titles, props klagraff and iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:42:46 +00:00
lancewillett 06e354c14f Twenty Twelve: better button styles for consistent look across browsers. Props obenland, fixes #21473.
git-svn-id: http://core.svn.wordpress.org/trunk@21438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:39:26 +00:00
lancewillett 22fa9e4f74 Twenty Twelve: only show excerpt on search view, not full content.
Props bradthomas127 and obenland. See #21462.


git-svn-id: http://core.svn.wordpress.org/trunk@21437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:27:22 +00:00
lancewillett 94ec99851d Twenty Twelve: style up the RSS widget output to match Recent Posts better. Props SergeyBiryukov and obenland, see #21476.
git-svn-id: http://core.svn.wordpress.org/trunk@21436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:20:35 +00:00
lancewillett 09c319a557 Twenty Twelve RTL: more fixes props obenland. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:34:56 +00:00
lancewillett ae0e3c298a Twenty Twelve RTL: add editor-style-rtl stylesheet, props SergeyBiryukov and obenland. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:27:50 +00:00
lancewillett e22591ce49 Twenty Twelve RTL: Adds the visual of comment threading back to RTL, props iandstewart. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:14:23 +00:00
lancewillett df26bdae3d 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: http://core.svn.wordpress.org/trunk@21431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:13:21 +00:00
lancewillett bfb8144c1f Twenty Twelve RTL: adds missing margin for lists in comments, props iandstewart. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:10:21 +00:00
lancewillett cf619d2520 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: http://core.svn.wordpress.org/trunk@21428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 20:41:20 +00:00
lancewillett d2e2ba54b1 Twenty Twelve: print style tweaks for footer meta and link underlines. See #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 20:21:07 +00:00
lancewillett e197f9195c Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385.
git-svn-id: http://core.svn.wordpress.org/trunk@21426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 19:56:42 +00:00
lancewillett 3a0841fee7 Twenty Twelve: bump theme-customizer JS version. See #21443.
git-svn-id: http://core.svn.wordpress.org/trunk@21412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:17:06 +00:00
lancewillett ffc2e121fc 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: http://core.svn.wordpress.org/trunk@21411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 22:10:03 +00:00
lancewillett 751445937c Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:11:11 +00:00
lancewillett 36bd0f0339 Twenty Twelve: update editor stylesheet, props obenland. See #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 21:06:03 +00:00
lancewillett 4819a3ab37 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: http://core.svn.wordpress.org/trunk@21408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:57:47 +00:00
lancewillett 0a83a5cb02 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: http://core.svn.wordpress.org/trunk@21407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:53:38 +00:00
lancewillett ee6a92ceb7 Twenty Twelve: style hr, big, del, ins in editor stylesheet (and add all except big to style.css also). Fixes #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 20:27:23 +00:00
lancewillett 29b95be1b5 Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
git-svn-id: http://core.svn.wordpress.org/trunk@21405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:53:45 +00:00
lancewillett 1d9662043e 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: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:12:11 +00:00
lancewillett a7b6455c97 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: http://core.svn.wordpress.org/trunk@21402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 18:28:10 +00:00
lancewillett 4b2f431080 Twenty Twelve: CSS and markup improvements for better child theme support, part 1.
Move all media queries to bottom of document.


git-svn-id: http://core.svn.wordpress.org/trunk@21401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 17:50:52 +00:00
lancewillett a9052b5e1a Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245.
git-svn-id: http://core.svn.wordpress.org/trunk@21398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 18:52:20 +00:00
lancewillett 0403c40ecf Twenty Twelve: update styles for tag/category descriptions on archive pages, props drewstrojny. Closes #21255.
git-svn-id: http://core.svn.wordpress.org/trunk@21397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:38:00 +00:00
lancewillett dcde226134 Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384.
git-svn-id: http://core.svn.wordpress.org/trunk@21396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:34:31 +00:00
nacin c52291165e 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: http://core.svn.wordpress.org/trunk@21395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 17:03:29 +00:00
lancewillett 8e8c62cc9c 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: http://core.svn.wordpress.org/trunk@21394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:45:12 +00:00
lancewillett 51563cf8ff Twenty Twelve: add CSS rule for threaded comments. Fixes #21405.
git-svn-id: http://core.svn.wordpress.org/trunk@21393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 16:08:47 +00:00
lancewillett 87cc5cd6c9 Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377.
git-svn-id: http://core.svn.wordpress.org/trunk@21392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:47:02 +00:00
lancewillett c899eae2ae Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:36:44 +00:00
lancewillett 5c5a3522ca Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376.
RTL version and tweaks to come after more testing.


git-svn-id: http://core.svn.wordpress.org/trunk@21389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:28:50 +00:00
lancewillett 7f29970ebd Twenty Twelve: update comment header in html5 JS file.
Related to #20640.


git-svn-id: http://core.svn.wordpress.org/trunk@21388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 15:06:24 +00:00