Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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 9711e6d542 _s: Remove leading white space in style.scss.
See de7a9b576b.
2014-12-30 20:07:35 -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
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
Tim Moore bdab57a53f Fix child menu styling inheritance. See #587 2014-09-21 09:47:04 -06:00
Ram Ratan Maurya 1ca71befe2 Remove border-radius mixin 2014-09-14 22:56:29 +05:30
Ram Ratan Maurya 00c220b1c5 Inherit box-sizing for best practice
Using inheritance allows easy override on other elements, and also it’s the best practice.
2014-09-09 05:09:46 +05:30
Stefan Brechbühl f0340a66e4 Delete hyphens
in comment headings
2014-09-01 22:44:54 +02:00
Konstantin Obenland b76f394a79 Merge pull request #594 from MickeyKay/sass-fixes
Add fixes for faulty Sass import paths and negative values.
Closes #588.
2014-08-29 13:54:45 +02:00
MickeyKay aadc4a1e57 Change Sass headings file name and import path. 2014-08-23 13:57:51 -07:00
MickeyKay 4effd896ff Add fixes for faulty Sass @import paths and negative values. 2014-08-22 17:00:32 -07:00
Tammie Lister a3e0022dd5 Changes description of mixin - props @r007
Relates to #582
2014-08-18 16:38:19 +01:00
Tammie Lister e88ad83914 Merge pull request #571 from corvannoorloos/patch-2
Update input field border color props @corvannoorloos
2014-08-14 17:00:37 +01:00
Cor van Noorloos bf1e501b00 Update input field border color
now matches style.css
2014-08-13 19:06:04 +02:00
Cor van Noorloos 354ad2b896 indentation using tabs instead of mixed tabs/spaces
see https://github.com/Automattic/_s/pull/565
2014-08-13 18:38:51 +02:00
Tammie Lister 4bba66e25e Puts width in right place
Props @corvannoorloos
2014-08-13 14:34:23 +01:00
Firdaus Zahari 6a8b42795d Put vendor specific property first 2014-08-13 20:03:05 +08:00
Tammie Lister 96718641de Adds in missing class
Brings in class that was missing from updated Sass but in style.css.
Props @corvannoorloos
2014-08-13 12:18:30 +01:00
Tammie Lister 068f90fc8f Initial commit for _sass.
Props @michaelArestad @hugobeta, and @jacklenox.

* Give prefix to variable files. This avoids confusion with files of similar names like typography. It also helps with the visual recognition over what file does what.
* Set up mixins-master.
* Setting foundation for encouraging in larger projects use of more than one mixing file. This creates a master mixins file that we can then bring subs into if the project grows.
* Fixed line breaks, spacing and new lines. Props @gregrickaby.
* Nest widget select. Props @gregrickaby.
* Make variables be variables-site. Makes this the global variables folder. People can then use sub folders in sections for local only variables.
* Change content directory to be site directory.
* Remove zip. Revert `style.css` to not be auto generated version.
* Fixes rem size issue on body font.
* Fixes for differences between `_s` and `_sass`. Fixed font sizes, added in display block to classes so they compile and the theme check
passes.
* Remove text domain and clean up css.
2014-08-11 09:05:56 -07:00