Commit Graph

746 Commits

Author SHA1 Message Date
Philip Arthur Moore a4d2204396 Merge pull request #690 from corvannoorloos/master
Update travis.yml to adhere to coding style used in WordPress' CI file.
2015-04-07 17:30:35 +07:00
Konstantin Obenland f0ec361d52 Merge remote-tracking branch 'origin/master' 2015-04-03 14:39:57 -07:00
Konstantin Obenland b7f4a02e89 Merge branch 'pr/722'
Fixes #722.
2015-04-03 14:39:31 -07:00
Konstantin Obenland c5ec554e95 Merge branch 'pr/722' 2015-04-03 14:37:59 -07:00
mrwweb 31144c7dbb New 1200x900px screenshot, compressed 2015-04-03 14:35:59 -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
David A. Kennedy 68fb7912ef Merge pull request #657 from jaspermdegroot/header
Made aria-controls refer to an ID instead of a class. Prevents ARIA error.
2015-03-03 19:54:55 -05:00
Konstantin Obenland 01217e3486 Merge pull request #708 from corvannoorloos/link-build-results
Link Travis build results.
2015-03-04 05:49:49 +05:30
Cor van Noorloos bf7982d7ca Link Travis build results
This links the badge to the Travis CI build results page
2015-03-03 21:19:56 +01:00
Jasper de Groot 412bdd8b81 Header: Made aria-controls refer to an ID instead of a class 2015-02-27 11:56:43 +01:00
Konstantin Obenland f0de1c9e8b Merge pull request #704 from oskarcieslik/patch-1
Fix JSLint error:
`regular expressions should be preceded by a left parenthesis assignment colon or comma`.
2015-02-23 09:38:57 -08:00
oskar_cieslik dfd8a0e921 JSLint error
JSLint error: "regular expressions should be preceded by a left parenthesis assignment colon or comma"
2015-02-23 11:48:50 +01:00
Konstantin Obenland d5c78acc10 Merge pull request #703 from taupecat/upstream-master
Using best practices to apply the proper units to the font-size mixin.

See http://sass-guidelin.es/#units
2015-02-17 20:01:20 -08:00
Tracy Rotton 0395cd6bba Using best practices to apply the proper units to the font-size mixin. See http://sass-guidelin.es/#units 2015-02-17 22:28:00 -05:00
Konstantin Obenland 70db168dc6 Merge pull request #702 from Automattic/fix-701
Sanitize location.hash before passing it to getElementById.

See #701.
2015-02-17 10:16:21 -08:00
Konstantin Obenland 4309cd6c56 Merge pull request #700 from pixelstrolch/comment-navigation
Consistent navigation.

Fixes #699.
2015-02-17 10:00:45 -08:00
Miguel Fonseca dea243f2eb Sanitize location.hash before passing it to getElementById
There is no actual vulnerability in the existing implementation, as we
can only fetch existing elements (no DOM injection is possible). Plus,
the only call occurring on those elements is `HTMLElement#focus`.

Consider this an extra, more future-proof precaution.
2015-02-17 17:52:36 +00:00
Stefan Brechbühl e45aff27ed Consistent navigation
Handle the comment navigation the same way as the new the_post_navigation() and the_posts_navigation().
2015-02-14 12:21:53 +01:00
Konstantin Obenland 56bad5250d Merge pull request #698 from slushman/master
Remove duplicate b & strong and improve SASS inheritance.
2015-02-10 08:25:07 -08: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
Konstantin Obenland 41f33d3c9a Merge pull request #695 from FStop/694-css-small-twice
Remove duplicate CSS rule for `small`.

Fixes #694.
2015-02-07 10:16:17 -08:00
Gabriel Luethje b83c659915 Remove duplicate CSS rules for `small` - refs #694 2015-02-06 16:23:37 -07:00
Cor van Noorloos 084794098c update travis.yml
In short this updates `travis.yml`'s indent size to 2 spaces as per
WordPress' development repo and Jetpack.
Inserts final newline.
Uses a period at the end of each sentence.
2015-01-23 23:55:02 +01:00
Konstantin Obenland ea84ceec95 Merge branch 'issue/617' 2015-01-14 09:37:03 -08:00
Konstantin Obenland ec2a5e212a Fixed merge conflicts. 2015-01-14 09:35:02 -08:00
Konstantin Obenland 60a6eeb6a5 Merge pull request #679 from iandunn/center-block-margins
Remove unnecessary margin-top and margin-bottom from center-block mixin.
2015-01-12 13:36:42 -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
Konstantin Obenland 6b2e7c8b44 Merge branch 'pr/667' 2015-01-07 09:43:31 -08:00
Konstantin Obenland e6366f4474 Revert "Merge branch 'pr/667'"
This reverts commit a7c2f89982.

Been meaning to give proper attribution, but Git lost the commit after
I edited the merge commit.

See #667.
2015-01-07 09:40:24 -08:00
Konstantin Obenland a7c2f89982 Merge branch 'pr/667'
Fixes #667.
Props @gatespace.
2015-01-07 09:35:26 -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
Philip Arthur Moore 5c6311499b Update Travis CI build checks. Props @miya0001. See #663. 2015-01-06 11:48:47 +07:00
Philip Arthur Moore e5e31d472c Update WP versions that are being used in Travis checks. [skip ci] 2015-01-06 10:45:45 +07:00
Konstantin Obenland 115221ea34 Bring back box-sizing reset.
Props @chrisdc.
See #674.
2014-12-31 12:27:05 -08:00
Konstantin Obenland 396dea5656 Merge pull request #670 from JulienMelissas/patch-1
Add braces around if statement.
2014-12-31 12:16:57 -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 3e02659325 Merge pull request #673 from fklein-lu/remove-home-link
Remove home link from `wp_page_menu()` args.
2014-12-30 20:21:27 -08:00
Konstantin Obenland 2580a0a69f _s: Remove author data shim.
Immediate set up of author data in author archives was added in
WordPress 3.7, so it’s safe to remove.

See https://core.trac.wordpress.org/ticket/14408.
See a156f2cbab.
2014-12-30 20:19:28 -08:00
Konstantin Obenland 01819a8a0a _s: Update copyright year in anticipation of 2015. 2014-12-30 20:08:44 -08:00
Konstantin Obenland 9711e6d542 _s: Remove leading white space in style.scss.
See de7a9b576b.
2014-12-30 20:07:35 -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
Fränk Klein c4f6755f61 Remove home link from wp_page_menu() args. 2014-12-30 14:53:42 +01: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
Julien Melissas 67fb1af3f3 Add braces around if statement.
Running jshint on this file returned an error, adding braces fixed it. Please add braces around if statements!!! :)
2014-12-24 00:19:34 -05:00
Konstantin Obenland 37d283481f Avoid repeatedly checking specific post format.
Will only check for a specific post format if it’s a post format
archive page.

See https://core.trac.wordpress.org/changeset/30854
Fixes #664.
2014-12-22 10:11:39 +01:00
Konstantin Obenland 47ee126fb4 Don't check for a private function.
Even with WordPress’ commitment to backwards compatibility, we should
probably not bank on private functions being around for ever, and tying
our functionality to it.

This will go old school and do a version check to provide compatibility
with older versions of WordPress. Again, this is only temporary until
4.3 is out.

See #644.
Fixes #636.
2014-12-22 10:06:15 +01:00
Konstantin Obenland f2d2495630 Switch in and out of PHP to render fallback title.
The upload checks for the .org Theme Directory are rightfully strict about the contents of the title tag.
Switching in and out of PHP should make `_s`-based themes pass those tests again.

See https://github.com/Automattic/_s/pull/644#discussion-diff-22153263
See #644.
2014-12-22 09:16:13 +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
Philip Arthur Moore 108799d104 Revert #638 for a bit. 2014-12-03 18:46:33 +07:00