Commit Graph

381 Commits

Author SHA1 Message Date
obenland 1ba2f62752 _s: Use .screen-reader-text rather than .assistive-text.
With 3.6 introducing many HTML5 improvements the need for custom
searchform and comment templates will vanish. To cope with core's
.screen-reader-text class, let's make the switch early.

Commit also adds core's focus styles for screen reader texts, so they
can actually be used.
2013-03-13 15:39:05 -07:00
kobenland 629acfcb96 _s: Let's keep the `.entry-` namespace for attachment post types. 2013-03-13 13:54:07 -07:00
kobenland f897bc6938 _s: Let's keep the `.entry-` namespace for page post types. 2013-03-13 13:51:12 -07:00
Konstantin Obenland bdecbd3734 Merge pull request #175 from braden337/master
_s: site-navigation is an id not a class, silly!
2013-03-07 22:10:34 -08:00
Braden Jonsson e6f6225214 Changed nav closing tag comment to indicate CSS id 2013-03-07 23:57:36 -06:00
Philip Arthur Moore 06463db11d Add an identifier into style.css that will allow us — the WordPress.com Theme Team — to easily search for themes that have been built with _s. Now there will be no more scratching our heads whenever someone asks, "What have you built with _s?" :) 2013-03-07 18:30:21 -06:00
sixhours 9f3e2cdd80 Remove blank tabs/trailing whitespace 2013-03-07 09:10:13 -05:00
obenland b1d3b5369c _s: Introduce a default for clearing floats.
Selectors provide clearing out of the box for the site container,
header, footer, main container, content container, entry content, and
comment content.

Also, theme developers can optionally use .clear as a utility class. Or
delete it.

For more information about the philosophy behind the approach of
selecting class elements, see
http://24ways.org/2012/a-harder-working-class/

Fixes #88.
2013-03-04 17:16:44 -08:00
obenland c4f2aa32ce _s: Formatting changes:
- Reduce element comments to either the element id or the first element
class.
- Tabs > Spaces.
- Improve adherence to formatting guidelines.
2013-03-04 16:41:38 -08:00
obenland c7f2b7a1ee _s: Enable live preview for Header Text Color in Customizer. Change also
removes an !important declaration in Custom Header CSS rules.
2013-03-04 16:13:56 -08:00
obenland 9fe1b0d8a8 _s: Aggregate translation strings and make comment edit links easier to
style.
2013-03-04 15:18:11 -08:00
obenland 914c6c21de _s: Simpler selector for lists within lists. 2013-03-04 15:14:51 -08:00
kobenland 6f45aadc89 _s: Let's not change .entry-date. 2013-03-01 17:31:59 -08:00
kobenland 5905cc3889 _s: Move away from using <article> for content that is not syndicated. 2013-03-01 17:28:18 -08:00
Philip Arthur Moore 3f85aae174 Fix spacing and tabbing problems in page.php introduced in 4134038278 and 054aa194a7 2013-02-28 11:33:36 -06:00
sixhours 054aa194a7 Fix indentation on comments block 2013-02-28 11:47:17 -05:00
sixhours 4134038278 Merge pull request #132 from davidensinger/master
Load comments template only when comments are open or there's at least one comment in image.php and page.php
2013-02-28 08:45:06 -08:00
michiecat afd1db501e Update style.css 2013-02-27 23:34:26 -08:00
michiecat 35c3162e4f Update style.css 2013-02-27 23:33:51 -08:00
Philip Arthur Moore dcd62e323c Manually revert all changes made after debefa8b98 so that the code proposed in #131 gets a proper review. 2013-02-28 01:12:59 -06:00
Philip Arthur Moore c8c60b3904 Let us try this one more time. Revert all changes made to _s up until commit debefa merge until #131 has had a proper code review. 2013-02-28 01:04:34 -06:00
Michael Fields debefa8b98 Merge pull request #139 from aaronjorbin/master
make "Skip to content" link work in browsers that are doing_it_wrong, but without jQuery. props @aaronjorbin
2013-02-27 15:15:49 -08:00
Michael Fields e04732c5a3 Remove _s_content_nav( 'nav-above' ); from the top of all templates. Fixes #148 2013-02-27 15:08:26 -08:00
obenland ad57a4af29 _s: Move role declaration to the end of the element for consistency. 2013-02-27 14:51:13 -08:00
obenland fa3d86936a _s: Simplify and unify navigation classes throughout Underscores.
For more information about the philosophy behind the new approach,
see http://24ways.org/2012/a-harder-working-class/
2013-02-27 14:47:03 -08:00
obenland 469e1f97c4 Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 14:05:14 -08:00
obenland d99f4c8115 _s: Adhere to WordPress CSS class naming conventions. See
http://make.wordpress.org/core/handbook/coding-standards/css/#selectors
for details.
2013-02-27 14:03:03 -08:00
Lance Willett 7ed3c58e23 Search form improvements:
- Add "searchform" class to form element, easier styling
- Better gettext for label, placeholder, and submit text, easier for translators
- Remove "name" attribute from submit button, not needed and it adds cruft to URL

See also http://core.trac.wordpress.org/ticket/15081
2013-02-27 14:49:26 -07:00
obenland a1b163e8ea Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 13:36:08 -08:00
obenland ebe5c56c42 _s: Update layouts to use classes when appropriate. Fixes #55. 2013-02-27 13:35:28 -08:00
sixhours 620b8e5e53 Merge pull request #66 from kovshenin/patch-8
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
2013-02-27 13:28:31 -08:00
Philip Arthur Moore 6917268595 Merge pull request #166 from iamtakashi/input-type-search
Change the search form text input to search type along with basic styling for search type inputs.
2013-02-27 12:51:51 -08:00
Takashi Irie ed6a89fa20 Change the search form text input to search type and add the basic style for it 2013-02-27 20:26:16 +00:00
Philip Arthur Moore dc730a3bc5 Reduce default padding on buttons and reset/submit inputs. Fixes #161. 2013-02-27 11:32:42 -06:00
Philip Arthur Moore 50cee30497 Remove colon from @package DocBlock 2013-02-25 01:15:14 -06:00
Philip Arthur Moore fbb50c4e90 Fix incorrect rem value. See #160. Props @dollseb. 2013-02-22 18:04:12 -06:00
Konstantin Obenland d7fd5eac21 Merge pull request #145 from sriniguna/patch-1
Move 'Edit' link in entry footer to be consistent with content.php and content-single.php
2013-02-20 12:03:49 -08:00
Philip Arthur Moore e652d9f130 Change apos back to the correct rsquo. See #84. 2013-02-12 16:48:51 -06:00
Konstantin Obenland 3236571996 Merge pull request #156 from inspectorfegter/patch-1
Updated 'comments callback' location comment
2013-02-12 08:44:00 -08:00
Brian Fegter ec4c855158 Updated 'comments callback' location comment
The function has been moved outside of 'functions.php' and into 'inc/template-tags.php'. This directs developers to the proper location for the callback.
2013-02-12 10:40:31 -06:00
Michael Fields 79a6a23da2 Use .text() instead of .html() for site title and tagline when modified via the customizer. Neither setting supports html. 2013-02-07 10:50:34 -08:00
Michael Fields 9f58e3f6e2 Escape the return value of get_author_posts_url() with esc_url(). 2013-02-06 20:48:04 -08:00
Michael Fields c0f3582777 Escape the return value of admin_url() with esc_url() 2013-02-06 20:43:42 -08:00
Michael Fields ce069e6d94 Merge branch 'master', remote-tracking branch 'origin' 2013-02-06 20:42:02 -08:00
Philip Arthur Moore 494533fd4c Merge pull request #112 from lukecarbis/patch-1
Add password input types to styles for text and email inputs.
2013-02-03 00:02:04 -08:00
Michael Fields 8ece982a5b Merge branch 'master', remote-tracking branch 'origin' 2013-02-02 21:16:32 -10:00
Philip Arthur Moore f1e9b44c0a Bump version number. 2013-02-03 02:15:01 -05:00
Philip Arthur Moore c06b9fe571 _s: Minor adjustments to Infinite Scroll's implementation. 2013-02-03 02:12:42 -05:00
Philip Arthur Moore 16906d44c5 _s: Add basic Infinite Scroll support. Fixes #107. Fixes #105. Props @ethitter. 2013-02-03 02:03:40 -05:00
Michael Fields c2dca5db27 Add basic support for core custom background feature providing fallbacks for WordPress 3.3. Fixes #29 2013-02-02 20:11:57 -10:00