Commit Graph

129 Commits

Author SHA1 Message Date
Konstantin Obenland 3c4b905086 Merge pull request #279 from jayj/jayj-underscores-heading-spacing
Add spaces between heading selectors.
2013-08-07 08:26:21 -07:00
Jesper Johansen b5864622ee Add the <main> element to the list of HTML5 selectors 2013-08-07 00:59:28 +02:00
Jesper Johansen c8ca427356 Add a space between the heading selectors 2013-08-07 00:58:31 +02:00
Jesper Johansen 1108a8a582 Add `url` to the list of input selectors 2013-08-07 00:57:17 +02:00
Konstantin Kovshenin 167197dd07 Add a domain path header to the stylesheet for translation 2013-07-30 23:45:55 +04:00
obenland 1f15c20995 _s: Make theme headers translatable. Props @grappler. Fixes #203. 2013-07-30 11:58:13 -07:00
Calvin Winter 7276a13a4b Fixed bug where menu does not toggle on click
fixes the error described here: https://github.com/Automattic/_s/issues/261
2013-07-17 23:28:49 -04:00
michaeldcain 31331b4b64 Switch "navigation-" back to "-navigation"
Original edit not needed for `[class*="navigation"]` selector. Matches
other class/id navigation naming conventions.
2013-07-11 16:42:45 -04: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
obenland d406dc8f8c _s: Add `.page-content` class to `style.css` to encourage styling. Also
removes some redundant comments.
2013-07-11 12:18:47 -07:00
obenland 6e22132768 _s: Update search form markup to make it forward compatible with HTML5
search form in 3.6. As a result, `searchfornm.php` can be safely
removed in the future. Also fixes #240.
2013-06-29 16:19:10 -04:00
obenland 39d8f7ad61 _s: Include "entry updated" as part of the hAtom. Props @michiecat. See
#131, fixes #170.
2013-06-27 06:54:02 -07:00
Michael Fields ac3cda4543 Rework Navigation Menu Part 2
* Separate scoping and assignment so that a decision does not need to be made as to whether we should intermix spaces and tabs on the left
 * Restore the previously removed nav-menu class addition to the first unordered list in `#site-navigation`.
 * Restore the `.navigation-main.toggled-on .nav-menu` selector.
 * Remove rules for the `.main-small-navigation ul` selector.
2013-06-25 01:45:52 -07:00
Michael Fields 4c396f6f9b Rework menu navigation: these changes build off pull request #239 for issue #200
* Only set button and menu if container is not null.
 * Break up the "return early" conditional into multiple parts.
 * Shorten the name of the toggled class from `toggled-on` to `toggled`.
 * Restore the "Hide menu toggle button if menu is empty." documentation.
 * Remove the `nav-menu` class. The previous code would replace any custom custom classes applied via `wp_nav_menu()` or template file.
 * Replace the `nav-menu` selector is style.css with selectors that will target both a custom nav menu and a page menu. These changes could use critical feedback. Do you know of an edge case where they might not work as expected?
2013-06-16 20:29:17 -07:00
obenland 99f6d17f9c _s: Revert reset changes. They were accidentally committed after
resolving merge conflicts.
2013-05-28 09:39:02 -07:00
obenland f0ed253d5b Merge branch 'custom_header_fix' of https://github.com/iamtakashi/_s
into iamtakashi-custom_header_fix

Conflicts:
	inc/custom-header.php
2013-05-28 09:31:59 -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
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
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 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
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
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
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 914c6c21de _s: Simpler selector for lists within lists. 2013-03-04 15:14:51 -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
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 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
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 fbb50c4e90 Fix incorrect rem value. See #160. Props @dollseb. 2013-02-22 18:04:12 -06: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
Philip Arthur Moore f1e9b44c0a Bump version number. 2013-02-03 02:15:01 -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
Philip Arthur Moore 14ad334be6 _s: Add word breaking to anchors within comment content. Fixes #96. 2013-02-02 19:49:21 -10:00
Joachim Kudish a1d6fd95fe Update Theme URL
The Theme URL was previously pointing to an old Automattic svn repository that no longer exists. This change points the URL to underscores.me which is the site that promotes the theme.
2013-01-23 18:23:32 +02:00
Joachim Kudish 4bebf54cf0 Update Theme URL to github
The Theme URL was previously pointing to an old Automattic svn repository that no longer exists. 
This change points the URL back to the main `_s` GitHub repository where it is now being developed on. 
Alternatively it could point to underscores.me
2013-01-23 18:18:13 +02:00
obenland 3e717fa9c2 _s: Make sure images with height attributes in comments are scaled
correctly.
2013-01-21 15:18:26 -08:00
Michael Fields 80d803aff5 Merge pull request #99 from iamtakashi/max-width-for-select
Add max-width to select elements in widgets to prevent it overflowing from widget areas. props @iamtakash
2013-01-05 09:58:17 -08:00
Michael Fields a1b722345c Use a more specific selector to target images in captions. This will avoid setting smilies to block. Fixes #116 2012-12-28 17:12:10 -08:00
Michael Fields c8f0f72d2e Always give .wpcaption bottom margin. Fixes #121 2012-12-28 17:03:31 -08:00
obenland 7b7489df5d _s: Bump the version number to 1.2 to reflect the last round of updates
47 commits with 586 deletions and 356 additions by 19 contributors.
2012-12-28 09:19:23 -08:00
lukecarbis 2f0cd22d5b Password Inputs
Adds password input types to styles for text and email inputs.
2012-11-14 08:20:52 +10:00
Takashi Irie 09a21f2e59 Added max-width to select elements in widgets to prevent it overflowing. This intends to fix a common issue - the dropdown in the category widget overflows when a blog has a long category name 2012-11-01 11:49:23 +09:00
Ian Stewart 11769b8bd7 Merge pull request #39 from hugobaeta/master
Simpler styles for default reset buttons and an updated readme.txt props @hugobaeta
2012-09-13 17:37:22 -07: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 3a75b8386d Update the main stylesheet to use the available classes
Avoid polluting the CSS specificity landscape with ids if we have
suitable classes
2012-08-25 14:06:33 -03:00
Hugo Baeta 6f4192d9b0 updated the styles for the buttons, switching from using background css gradients to using box-shadow techniques 2012-08-15 13:45:04 -07:00
Ian Stewart 7484b4cf6b _s: add styling for HTML5 email inputs; See #1286
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9628 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-24 18:53:07 +00:00
Ian Stewart 98a9f3905c _s: Bumping the version number to 1.1 to reflect the last round of updates
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9497 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 19:14:21 +00:00
Takashi Irie 49f37d5920 _s: Removed line-height from button/submit type input because it makes too tall on browsers except Firefox which has a bug with line-height for the type
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9282 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 19:50:05 +00:00
Michelle Langston 792c8c3406 _s: Remove duplicate .entry-meta class.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9000 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-23 19:31:05 +00:00
Ian Stewart ea2b067539 _s: a generic and basic interpretation of the aside post format
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8919 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:49:23 +00:00
Ian Stewart dffc6549da _S: basic floated content styles
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8918 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:43:25 +00:00
Ian Stewart 93fa346360 _s: a generic catch-all that should automatically prevent most future themes from having things float up into posts
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8915 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 19:19:48 +00:00
Ian Stewart 60d8720ad6 _s: adding empty selectors required for theme check plugin test
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8889 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 21:15:27 +00:00
Ian Stewart 4fe4900503 _s: adding empty selectors required for theme check plugin test
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8888 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 21:14:42 +00:00
Ian Stewart df7ce3d902 _s: removing temporary dev styles
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8879 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 03:22:23 +00:00
Ian Stewart 349e3f973e _s: Adding a class to the menu toggle for help in styling open-close states with just CSS
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8878 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 03:20:46 +00:00
Ian Stewart e4a5c76fd6 _s: simpler way of handling hiding authors on single author blogs without adding another class
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8877 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:57:41 +00:00
Ian Stewart 545b3514b3 _s: If the tweaks file is in use hide the author of posts everywhere except singular -- where it's useful to see the author if that's your entry point to a single author blog -- unless it's a group blog in which case just show the author name everywhere. Doing this all with just CSS so it's easily reversible with child themes of themes built from _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8876 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:52:04 +00:00
Ian Stewart 4f3d984c7c _s: Simple script for changing the classes of the main menu based on browser width let's you easily restyle a menu for small screens without changing the markup
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8868 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-06 16:40:54 +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
Lance Willett e0cbbffcce _s: Readme description added, add trailing slash to theme URI.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8832 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-01 18:50:53 +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 b17f2285d4 _s: removing the temporary margin on the body element 2012-01-23 17:45:41 +00:00
Lance Willett 9ce5deb7af _s fixes
Spacing, trailing slash; no need to translate the footer generator URI.
2012-01-20 18:18:59 +00:00
Ian Stewart 5cad5adab9 _s: adding sample layouts for content-sidebar, sidebar-content, and sidebar-content-sidebar 2012-01-13 20:57:16 +00:00
Ian Stewart a81dc6a810 _s: Adding starter styles along with a few markup changes to accomodate them 2012-01-13 20:10:17 +00:00
Ian Stewart caee136b9f _s: the theme description seems like a great place to tell anyone using that code that this theme is most definitely a starter theme 2012-01-11 04:04:23 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00