Commit Graph

20 Commits

Author SHA1 Message Date
Ray Elliott a833f5bf94 add typography mixins, google fonts helper 2020-05-07 20:13:07 +00:00
Neil Abraham 4909e965c4
Remove font-size mixin (#1413) 2020-04-23 16:16:40 +00:00
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
Tiago Noronha 5f5eaa4bbf File must end with a newline character. 2017-08-30 12:03:53 +01:00
Tiago Noronha af3353c783 Fix column-width sass mixin. 2017-08-23 17:13:49 +01:00
Tiago Noronha 27e68252f6 Basic WooCommerce Integration. 2017-08-01 14:21:13 +01:00
Tammie Lister 6f6de25568 Merge pull request #680 from iandunn/clearfix-max-width
Set a fixed table-layout in the clearfix to avoid max-width conflict
2015-11-11 20:55:35 +00: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 ec2a5e212a Fixed merge conflicts. 2015-01-14 09:35:02 -08:00
Ian Dunn 6b0c7717c9 Set a fixed table-layout in the clearfix to avoid max-width conflict.
Some browsers ignore the max-width property on children of elements with display: table.

See http://www.carsonshold.com/2014/07/css-display-table-cell-child-width-bug-in-firefox-and-ie/
2015-01-11 13:50:06 -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 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 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
Ram Ratan Maurya 1ca71befe2 Remove border-radius mixin 2014-09-14 22:56:29 +05:30
Tammie Lister a3e0022dd5 Changes description of mixin - props @r007
Relates to #582
2014-08-18 16:38:19 +01: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
Firdaus Zahari 6a8b42795d Put vendor specific property first 2014-08-13 20:03:05 +08: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