Commit Graph

34 Commits

Author SHA1 Message Date
obenland 543cae8bbf Merge branch 'master' of https://github.com/davidakennedy/_s into titles
Conflicts:
	image.php
	inc/custom-header.php
	searchform.php
2013-09-25 14:59:11 -07:00
Vinod Dalvi 1a60b6cf85 Corrected wrong comments. 2013-09-14 03:29:53 -07:00
obenland 129c238239 _s: Define initial-scale for a better mobile experience when changing
device orientation. Fixes: #285.
2013-09-02 17:33:32 -07:00
David A. Kennedy 22e859857e Fix merge conflict. 2013-08-23 23:58:40 -04:00
David A. Kennedy 889491de53 First round of removing title attributes. 2013-08-23 23:48:19 -04:00
Matias Vad 7145d9fb58 <div id="main"> in comments corrected to the new <main>-element 2013-08-04 20:32:11 +02:00
obenland 810e499b93 _s: Use `<main>` element for main content.
See: http://www.w3.org/TR/html51/grouping-content.html#the-main-element

Props @BFTrick for initial patch.
Fixes #222.
2013-07-30 12:12:45 -07:00
michaeldcain d480e820c3 Switch ".navigation-main" back to ".main-navigation"
Original edit not needed for `[class*="navigation"]` selector. Matches
other class/id navigation naming conventions.
2013-07-11 16:17:12 -04:00
Shea Bunge a4168fdb74 Leave empty tags open in accordance with the HTML5 spec. Resolves #234 2013-06-05 21:08:55 +10:00
Philip Arthur Moore c186c5ee0b Remove HTML5Shiv from _s. See #215. 2013-05-11 10:00:08 +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
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
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05: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
Braden Jonsson e6f6225214 Changed nav closing tag comment to indicate CSS id 2013-03-07 23:57:36 -06: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 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
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
Michael Fields b6b88b4201 Merge pull request #113 from sixhours/patch-3
Escape home_url() in #site-title link. props @sixhours
2012-11-28 10:19:42 -08:00
sixhours c2c282e983 Escape home_url() in #site-title link
We escape the URL when displaying custom-header.php and searchform.php, which leads me to believe it should also be escaped here.
2012-11-20 10:37:37 -05:00
Konstantin Kovshenin 3517c7a36b Use a filter for wp_title instead of hard-coding things in header.php 2012-09-14 20:49:06 +04:00
Konstantin Kovshenin 22e1613bde Replace small-menu.js with navigation.js inspired by Twenty Twelve.
Doesn't use jQuery, slightly easier to understand, uses a media query for max-width, rather than JS events making it faster to respond.
2012-09-03 21:45:28 +04:00
Matias 752d08afd7 Update the HTML "class" system
Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
2012-08-25 14:06:33 -03:00
kobenland b9fa5c0dd2 Add missing 'class' comments 2012-05-23 21:01:41 +02:00
Ian Stewart 8de2e81018 _s: enqueue style.css for consistency and for more customization through child themes of themes built on _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8938 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:55:40 +00:00
Ian Stewart f3dc4c227d _s: move scripts into one function added to wp_enqueue_scripts
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8936 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:10:45 +00:00
Ian Stewart a14038728d _s: cache the masthead selector and use find to grab it's descendants to improve performance while removing the style attribute on the toggled menu to prevent it from seeming to disappear on resizing up when the menu is toggled off
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8875 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-06 21:44:43 +00:00
Ian Stewart e1f35edffb _s: We won't need comment replies if comments are closed
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8854 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-03 20:26:25 +00:00
Ian Stewart 44c46fd181 _s: Simple WordPress menu styles
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8850 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-03 14:15:28 +00:00
Ian Stewart afe244fe68 _s: More consistency with class names in the structural markup 2012-02-01 16:55:36 +00:00
Ian Stewart 88b7c401e6 _s: using a simpler and more consistent site-header class 2012-02-01 16:49:05 +00:00
Ian Stewart ae85c2b76e _s
* Make the 404 page a little friendlier
* Add a missing tab to the header.php
2012-01-11 04:51:12 +00:00
Ian Stewart db89577313 _s
* Post format support for asides only, supported by CSS and not a template, is a good workable minimum for a theme so the post format templates are gone
* With good support for essential CSS in IE8+ it's not neccesary to have a ID on the HTML element for the version of IE
* Branding and site-generator are ugly id names
* The title and description are selectable by class for consistency and portability
2012-01-10 20:43:34 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00