Commit Graph

306 Commits

Author SHA1 Message Date
Konstantin Obenland 1520999e66 Merge pull request #202 from gatespace/works
Add missing `nav-` prefix for 'previous/next' links in CSS.
2013-04-22 09:40:33 -07:00
gatespace 48702363eb `nav-` prefix for css class 'previous/next'.
Re-introduce nav- prefix for previous/next links (see 6056c1e).
nav- prefix for css class 'previous/next'.
2013-04-22 20:08:49 +09:00
Philip Arthur Moore 790b765ac2 Ditch license.txt from theme and change License URI to canonical source of information on version 2 of the GNU General Public License. Also adjust theme license DocBlock to explicitly state that _s is GPL v2 or later. 2013-04-22 08:58:10 +09:00
michiecat a47b1523dd Updates to the _s_admin_header_image() callback
Adding a ".displaying-header-text" class to the header h1 and to the site description div inside _s_admin_header_image(). This allows the "display text with your image" toggle button to work in the admin preview under Appearance > Header.
2013-04-17 16:46:57 -07:00
obenland 6056c1ed66 _s: Re-introduce `nav-` prefix for previous/next links.
This way we can select both links with `[class*="nav-"]`.
2013-04-05 09:34:08 -07:00
Philip Arthur Moore ee7323950a Update copyright/license notice. The capital S in _S felt really weird. Also, shorten copyright text and re-arrange link to Underscores.me. 2013-04-04 11:45:57 -07:00
Philip Arthur Moore 5c3689cd67 Update stylesheet to include proper copyright and license attribution in style.css. Fixes #10 and also reverts the changes that were made in 06463db11d, since we can now use this copyright notice to find out which themes are based on Underscores. 2013-04-04 11:01:38 -07:00
obenland f424711c65 _s: Simplify the way we do responsive images. Props @philiparthurmoore.
Fixes #120.
2013-03-27 11:37:20 -07:00
obenland a298e8c2bd _s: Revert partial heading change. 2013-03-26 15:56:47 -07:00
obenland 32d2432487 _s: Minor updates to categories widget. Closes #183. 2013-03-26 15:55:49 -07:00
Konstantin Obenland 603b57727f Merge pull request #189 from slobodan/issue-183
Skip printing categories widget in 404 template if there's only one category.
2013-03-26 15:44:21 -07:00
obenland 4c120839ec _s: Remove vendor prefixes on box-shadow and some legacy IE6/7
adjustments. Props @SeamlessThemes. Fixes #176.
2013-03-26 15:39:48 -07:00
Slobodan Manic dfbf5f5d2e Corrected if statement formatting 2013-03-26 21:03:29 +01:00
obenland bd20a6214a _s: /inc/etras.php is active by default. 2013-03-26 12:02:55 -07:00
Konstantin Obenland 3edc2ee616 Merge pull request #180 from pierrepavlov/patch-1
Update mention of tweaks.php in README.md
2013-03-26 12:01:24 -07:00
obenland 9af47bab03 _s: Use the_title_attrinute() when we don't need to specify a post.
See #188, closes #184.
2013-03-26 12:00:34 -07:00
Konstantin Obenland 6752ef06a5 Merge pull request #188 from slobodan/issue-184
Added strip_tags when get_the_title is used in title attribute in image.php. Fixes #188.
2013-03-26 11:58:35 -07:00
obenland e3b4907946 _s: Add a Post Format Archives heading to archive.php. Props @sixhours,
@philiparthurmoore. Fixes #95.
2013-03-26 11:41:51 -07:00
Philip Arthur Moore eb683c73a3 Revert part of previous commit so that search and replace step 3 is parsed properly. 2013-03-23 20:02:11 -05:00
Philip Arthur Moore ddec2916eb Update README.md with search and replace steps for handles. 2013-03-23 19:57:13 -05:00
Philip Arthur Moore 6885730506 Make sure that the theme's style enqueue handles are properly prefixed. 2013-03-23 17:03:12 -05:00
Slobodan Manic 153c76c92b Skip printing categories widget in 404 template if there's only one category
Addresses issue 183 - https://github.com/Automattic/_s/issues/183
2013-03-21 06:42:55 +01:00
Slobodan Manic 410ca3b1df Added strip_tags when get_the_title is used for title attribute in image.php
Aaddresses _s issue 184 - https://github.com/Automattic/_s/issues/184
2013-03-21 06:35:08 +01:00
Philip Arthur Moore 84ed9c519d Merge pull request #182 from philiparthurmoore/ditch-since-docblocks
Ditch all @since DocBlocks from theme.
2013-03-18 13:04:59 -07:00
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05:00
Pierre Pavlov 273c97abd9 Updated with mention of extras.php instead 2013-03-18 17:38:43 +01:00
Pierre Pavlov 789f59cf51 Update mention of tweaks.php in README.md
I first thought my download was broken, but I believe this file is no longer in use.
2013-03-18 17:30:29 +01:00
Konstantin Obenland 182298629a Merge pull request #179 from eduardozulian/patch/image-navigation
Image navigation improvements
2013-03-16 16:28:53 -07:00
Eduardo Zulian 37253e11f4 Image navigation improvements
Add a navigation role, replace spans with divs and also add a
'.meta-nav' for both previous and next image links.
2013-03-16 14:50:02 -03:00
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
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
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