Commit Graph

1317 Commits

Author SHA1 Message Date
Philip Arthur Moore e59b1cd448 Turn post thumbnail support off by default, as it's used nowhere in the theme by default. Also add a DocBlock into the theme which gives more information on post thumbnail support implementation. 2013-04-24 19:57:11 +09:00
Philip Arthur Moore 07c44bbeef Restore site-header class to header element and give site-branding class to title and description wrapper div. See #206. 2013-04-24 15:08:06 +09:00
Konstantin Obenland bcff5534a5 Merge pull request #201 from iamtakashi/minor-clean-up
Minor code style clean-up.
2013-04-23 12:53:47 -07:00
Philip Arthur Moore 1ea2ccd909 Remove hgroup from theme. It's dead now: http://www.sitepoint.com/html5-hgroup-element-dropped/. In its place a div will be use that inherits the old class that was being applied to header. 2013-04-23 15:45:23 +09:00
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
Takashi Irie 8ceefdcdeb Fixes the broken display header text option in the Customizer. 2013-04-22 16:47:14 +01: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
Takashi Irie c780bc0559 Add trailing commas to the last elements of arrays 2013-04-20 16:45:36 +01:00
Takashi Irie 7be757759c Minor code style clean-up 2013-04-20 01:26:43 +01: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
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