Commit Graph

18 Commits

Author SHA1 Message Date
Morten Rand-Hendriksen 31df4716c8 Refactor the css layout to use grid and flex
Remove #primary

Remove #primary, take 2

Change primary layout module to CSS grid.

Remove ::before / ::after based clearfixes. When using flex and grid, pseudo-elements are considered flex/grid elements and cause unexpected behavior. Clearfix is a tool to resolve clearing when using float-based layouts. Modern flex/grid-based layouts do not need them.

Main menu: Use flex as layout module.

Main menu cleanup.

Comments, Posts, and Post Navigation: Use flex for layout. Automatic RTL.

Remove errant test data.

- Fixed skip to content link to point to main content (#primary).
- Changed ID for <main> to #primary to preserve original separation between main and sidebar (#secondary).
- Removed superfluous ID reference to #secondary in CSS.
- Cleaned up whitespace triggering Travis errors.

Fix wpcs issues

Cleaning the rebase

Compile CSS

Remove primary div from WooCommerce too

grid-template-columns property doesn't support negative values
2020-04-18 19:26:11 +01:00
Ismail El Korchi f94fc1e59b Fix PHP, CSS AND JS coding standards 2020-04-05 21:49:27 +01:00
Truong Giang 5ba1b9acb0 Add new line at the end of file and missing white space 2017-07-24 08:22:43 +07:00
Kristian Kalvå 8c3f5845da Update _menus.scss
Change 1.5em to 100% to prevent magic numbers.
2017-03-02 13:24:16 +01:00
Joseph Fusco 2332726a3d Clean up trailing whitespace 2016-07-11 09:17:29 -04:00
Greg Rickaby 9a08ca0bfb add blank line between selectors 2016-01-05 13:09:04 -06:00
limestreet eeb5e92750 Update _menus.scss 2015-10-26 16:11:34 +01:00
Jami Gibbs 2ba1db04f8 Removing unnecessary ampersands, fixes #791 2015-08-25 15:30:41 -05: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
Konstantin Obenland ec2a5e212a Fixed merge conflicts. 2015-01-14 09:35:02 -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 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
Tim Moore bdab57a53f Fix child menu styling inheritance. See #587 2014-09-21 09:47:04 -06:00
Tammie Lister 4bba66e25e Puts width in right place
Props @corvannoorloos
2014-08-13 14:34:23 +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