Commit Graph

79 Commits

Author SHA1 Message Date
Lance Willett
9051dd1d06 Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694.
* Use wp_style_is() to check for the enqueued CSS file before adding the body class value.
 * Add a sample dequeue method in the comments as documentation for child themers and their ilk.

Props viniciusmassuchetto, nacin, and obenland.


git-svn-id: https://develop.svn.wordpress.org/trunk@21668 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:59:22 +00:00
Lance Willett
93f85f9f9f Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.
git-svn-id: https://develop.svn.wordpress.org/trunk@21667 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:39:49 +00:00
Lance Willett
f9429df937 Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer.
git-svn-id: https://develop.svn.wordpress.org/trunk@21666 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:25:31 +00:00
Lance Willett
ce7c75f5b5 Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here.
Also allows authors to assign CSS classes and float menu items with something like `alignright`.


git-svn-id: https://develop.svn.wordpress.org/trunk@21665 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:24:29 +00:00
Lance Willett
0dae6cb745 Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715.
git-svn-id: https://develop.svn.wordpress.org/trunk@21642 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:12:10 +00:00
Lance Willett
6165bfd311 Twenty Twelve: simplify custom font loading behavior, see #21694.
* Remove theme options code and support from theme.
 * Keep Open Sans font first in the stack and make it always loaded.
 * Move Customizer pieces from Theme Options out of class structure and into functions.php.


git-svn-id: https://develop.svn.wordpress.org/trunk@21639 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 02:18:43 +00:00
Lance Willett
c93e79d25a Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
git-svn-id: https://develop.svn.wordpress.org/trunk@21637 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:29:16 +00:00
Lance Willett
0e13c1d7d0 Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
git-svn-id: https://develop.svn.wordpress.org/trunk@21636 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:23:13 +00:00
Lance Willett
518e6bead2 Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696.
git-svn-id: https://develop.svn.wordpress.org/trunk@21635 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:18:12 +00:00
Lance Willett
58e0fdfd7b Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@21626 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 23:27:04 +00:00
Lance Willett
29252a0121 Twenty Twelve: bump theme version to .9
git-svn-id: https://develop.svn.wordpress.org/trunk@21613 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 23:41:25 +00:00
Lance Willett
ed2c34c971 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: https://develop.svn.wordpress.org/trunk@21612 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:08:35 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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