Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Andrew Nacin
50bf8dfaef Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: https://develop.svn.wordpress.org/trunk@20219 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 18:41:54 +00:00
Lance Willett
c41874b4d7 Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20011 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:28:08 +00:00
Lance Willett
e6282c7f0d Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20010 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:24:57 +00:00
Lance Willett
91511b6a18 Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.

Props iandstewart for the original JS file and concept.


git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett
deb5f6f182 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: https://develop.svn.wordpress.org/trunk@19958 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:14:51 +00:00
Lance Willett
a6951d77f3 Twenty Twelve template changes and fixes ... see #19978.
* Add custom header support
 * header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
 * Add full-width template, including adding relevant body_class value as a CSS hook
 * Hide sidebar on all views if no active widgets exist
 * Fix site title output (was missing site title)
 * Remove "featured" title for sticky posts
 * Add content template files for aside, image, link, and quote post formats
 * Indent content-single.php to match content.php
 * Remove sample JPG since Twenty Twelve ships with no default header images

... and style updates, props drewstrojny

 * Better footer styles
 * Styling for full-width layouts
 * Add basic styles for archive views
 * Refine post header/footer styles a bit


git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Matt Mullenweg
94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00