Commit Graph

161 Commits

Author SHA1 Message Date
David A. Kennedy 1a7cedc7dd Do not show the outline on the skip link target container
* Putting it in style.css solves the issue for our specific skip link, but leaves the outline working on other anchors in case developers need that.
* For discussion, see: https://github.com/Automattic/_s/pull/814
* Related: https://github.com/Automattic/_s/pull/755 and https://github.com/Automattic/_s/pull/604

Fixes #543
2015-11-11 14:54:08 -05:00
Dmitry Mayorov 2c6e9173b7 Removed widget search submit styles. 2015-11-11 23:09:25 +05:00
jrfnl 5929e81b8d Apply the fix from #835 to style.css. 2015-11-11 17:12:57 +01:00
Dmitry Mayorov fee93610b7 Not hiding submit button on search widget. 2015-11-11 11:06:09 +05:00
sarah ✈ semark 0b81f58c99 Merge pull request #789 from corvannoorloos/patch-1
Add font-family declaration for body text.
2015-08-21 13:56:26 +01:00
Cor van Noorloos af2d101164 Remove remaining caption margin-top and margin-bottom
see 3d6bd4df39
2015-08-05 21:30:03 +02:00
Cor van Noorloos 2b648088f4 Add style.css missing main font family 2015-08-05 20:23:28 +02:00
Caroline Moore 67b2428bbe Remove :hover and :active states on screen-reader-text
We should consider removing all CSS rules that provide `:hover` and `:active` pseudo element behavior for `screen-reader-text` elements.

In IE 10/11, the `screen-reader-text` element, normally hidden, pops up when you hover your mouse over it, obscuring content — the Archives Widget drop-down menu is a good example.

According to the latest from the core a11y team: ​https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/ -- we only need the `:focus` pseudo element class.

Props to @lancewillett for figuring this out.
2015-05-13 15:30:37 -04:00
Ulrich Pogson 60d249b7c3 State licence of Underscores 2015-04-25 08:26:52 +02:00
sixhours 3bc2eeda4f _s: Mobile-first toggle menu.
Reverse media queries to use min-width instead of max-width, taking a
mobile-first approach to the navigation menu. It displays as the
default, and disappears at widths above 600px.

Fixes #579.
2015-04-07 15:33:28 -07:00
Christopher Crouch 18f843ed03 _s: Tabbable dropdown menus.
Fixes #540.
2015-04-07 13:09:00 -07:00
Hugo Baeta 70b8baf2ed Updated Sass and CSS files to remove numbered TOC structure for added flexibility 2015-03-23 17:58:02 -07:00
Chris Wilcoxson 7ef388656e Removed duplicate b & strong styling, changed SASS files to make use of parent selector: _menu, _galleries, _buttons, _fields, and _elements. 2015-02-09 23:11:59 -06:00
Gabriel Luethje b83c659915 Remove duplicate CSS rules for `small` - refs #694 2015-02-06 16:23:37 -07:00
Konstantin Obenland ec2a5e212a Fixed merge conflicts. 2015-01-14 09:35:02 -08:00
Ian Dunn 3d6bd4df39 Remove unnecessary margin-top and margin-bottom from center-block mixin.
Setting top and bottom margins is not necessary to center the element, and it can potentially override the margins set by another rule.
2015-01-11 11:33:19 -08:00
Kazue Igarashi 894bd6b5d3 Use core navigation template tags.
* Remove custom arguments from `the_posts_navigation()` and `the_post_navigation()`.
* Adjust fallbacks for `the_posts_navigation()` and `the_post_navigation()`.
* update pot file.
* merge master for style.css and style.scss.
2015-01-07 09:23:28 -08:00
Konstantin Obenland 115221ea34 Bring back box-sizing reset.
Props @chrisdc.
See #674.
2014-12-31 12:27:05 -08:00
Konstantin Obenland 75c5023576 _s: Use semantic versioning.
Fairly minor and noncommittal change. It does encourage theme authors
to think about semantically versioning their themes but doesn’t require
`_s` to take a strong stand on it.

It also removes an obstacle from submitting the generated theme to the
WordPress.org Theme Directory, as it refuses themes with non-numeric
version numbers.

Fixes https://github.com/Automattic/underscores.me/issues/8
Closes https://github.com/Automattic/underscores.me/pull/20
Props @ScottSmith95.
2014-12-30 20:34:51 -08:00
Konstantin Obenland 01819a8a0a _s: Update copyright year in anticipation of 2015. 2014-12-30 20:08:44 -08:00
Konstantin Obenland de7a9b576b _s: Remove leading white space for theme name.
At some point in the past it was believed that a leading whitespace was
necessary for a proper replacement.

Let’s see if the existing replace handler can indeed handle it without
it.

See
https://github.com/Automattic/underscores.me/commit/7671cad5685ae8df50a0
2f871a1ae28119b8dbf1
2014-12-30 20:05:47 -08:00
Konstantin Obenland 6c47be98c1 Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset,
sprinkled with some blueprint.css, and base styles. It was hard to
maintain and just seemed outdated (setting the base font-size to 10px
instead of 16px, among other things).

Normalize sets saner defaults and is generally just not as disruptive
as a full reset.

The code was added as is, has only its comments stripped (for now), and
is not mixed with any styles to make future updates to it as easy as
possible.

See #3, #44, #174, #267, #617.
2014-12-30 01:28:19 +01:00
sixhours 204654ac1f Revert previous (unintentional) commit 2014-12-17 15:09:44 -05:00
sixhours 88f94a9a4e First pass at fixing drop-down menus for touch
This patch allows the user to view a site on a touch screen tablet and
access child menus by clicking on the parent once, or access the parent
by clicking on it twice. Props @iamtakashi for the original fix.
2014-12-17 15:03:17 -05:00
Konstantin Obenland e4a252b630 _s: Merge branch 'pr/609'.
Props @mor10 for documentation.
Fixes #641.
2014-11-05 17:19:10 -08:00
Konstantin Obenland 921992277d _s: Merge branch 'pr/616'. 2014-11-05 17:02:58 -08:00
Konstantin Obenland 8ba2a53f3a _s: Remove remaining box-sizing prefix.
Also removes the box-sizing mixin, as it is of no use anymore.

See http://caniuse.com/#feat=css3-boxsizing
See #558.

Fixes #561.
2014-11-05 16:53:52 -08:00
Konstantin Obenland 69171d3ea3 _s: Merge branch 'pr/561'. 2014-11-05 16:49:07 -08:00
Tim Moore 85247e7996 Merge pull request #605 from 1upon0/master
Update style.css fixes #587
2014-09-21 09:48:40 -06:00
Ram Ratan Maurya 1ca71befe2 Remove border-radius mixin 2014-09-14 22:56:29 +05:30
Emil Uzelac e6ffa223e0 Double quotes for consistency
```_s``` uses ```""``` throughout except in clearings.
2014-09-09 21:39:38 -05:00
Stefan Brechbühl f0340a66e4 Delete hyphens
in comment headings
2014-09-01 22:44:54 +02:00
Yash Gupta a88e0e989e Update style.css
fixes #587
2014-09-01 17:00:07 +05:30
Mike Griffiths 16587b5123 Removed vendor prefixes, except where it fixes a specific bug or quirk 2014-08-11 18:20:09 +01:00
Fränk Klein 17c12ec0e5 Remove Domain Path from style.css
Indicating a domain path is optional, if you use the default, there is
no need to specify it.
2014-08-06 08:55:45 +02:00
Konstantin Obenland 048057ad68 Merge branch 'updated-hAtom' of https://github.com/slobodan/_s into slobodan-updated-hAtom 2014-07-30 14:35:44 -05:00
Greg Rickaby 99287281cf return all the things! Also, add display: block; to some empty selectors (to tie in with _sass) 2014-07-29 15:54:08 -05:00
Tammie Lister eb58df8d30 Revert the change to spacing in #517
Adds back in space for now. Props @lancewillett
2014-06-21 00:39:40 +01:00
Emil Uzelac f74b591348 Minor spacing fix for main navigation
Just an itsy-bitsy space removal, no biggie, but needed :)
2014-06-19 23:49:33 -05:00
Konstantin Obenland 1c42386783 _s: Document background color fallback.
A default background color is needed for any time there is no custom background color.
This happens to use the browser's default `#fff`, and is meant more as a reminder for theme authors.

See #515.
2014-06-19 13:20:30 +02:00
Slobodan Manic 00570514d4 Adds .updated class to .entry-date when needed 2014-06-15 13:20:06 +02:00
Emil Uzelac 9f295c197d textarea width
We can safely increase the textarea width from 98% to 100%. 

```box-sizing``` handles the layout nicely and it won't allow the overflow. 

If more details is needed, please see: http://davidwalsh.name/textarea-width this is the best example I could find.
2014-05-28 00:05:18 -05:00
Emil Uzelac 92128bbc7d Border Color
Minor CSS optimization for border and border color.

For the border itself, we don't need to include the color in ```border: {}```, color is already added in ```border-color: {}```. 

Since the Theme uses shorthands for padding/margins, why not do the same for the border colors as well.
2014-05-26 16:00:23 -05:00
David A. Kennedy f8c52a8114 Change position for left to match WordPress CSS standards. 2014-05-24 13:30:50 -04:00
David A. Kennedy 1365515b74 Merge with upstream/master. 2014-05-20 15:56:31 -04:00
Konstantin Obenland f1dd4b2c2a _s: Revert f955fca630
The leading whitespace is needed to replace this `_s` instance with the theme name.
It's obviously a hack, since it also leaves the theme name with a leading white space, but short of adding a new replace logic for this specific line in `style.css`, it's the easiest way to achieve that.

See #304, where this was brought up before.
2014-05-20 10:53:10 -05:00
Lance Willett 86a0cd531d Pinking shears (remove trailing spaces) in two files. 2014-05-18 13:09:20 -07:00
Lance Willett f955fca630 Remove leading space in stylesheet comment. 2014-05-18 13:08:41 -07:00
Konstantin Obenland 2d0ebc79cd Merge pull request #492 from mor10/screen-reader-text_overflow
Fixes overflow issue on .screen-reader-text. See #484.
2014-05-15 05:26:15 -07:00
David A. Kennedy 03fbbf84fd Adjust dropdown menu styles so they work with screen readers and align with Twenty Fourteen techniques. 2014-05-14 22:12:26 -04:00