Commit Graph

22 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 ff3567b32f update the copyright date 2020-04-07 21:18:45 +01:00
Ismail El Korchi f94fc1e59b Fix PHP, CSS AND JS coding standards 2020-04-05 21:49:27 +01:00
David A. Kennedy efd37d13a6 Revert 0112701c1f
* This is needed code. See: #770.
* Also, see Automattic/_s#1220.
2017-10-31 13:04:47 -04:00
Bappi 6454bfb0bb Update year to the latest 2017-10-26 01:14:02 +06:00
David A. Kennedy 0112701c1f Remove extra `!` in `style.scss`
* Related: #1220.
2017-10-25 14:29:53 -04:00
Bappi e4665250dd Change links http:// to https://
All necessary links checked and updated to https, some remain as http as those aren't using secured protocol yet
2017-10-10 23:29:36 +06:00
Nilambar Sharma fb31e67522 Add theme tags (#1181)
_s: Add relevant theme tags

Fixes #1147.
2017-07-14 15:33:27 -04:00
Kazue Igarashi 05cbf69ba1 Add license and update Normalize site link to sass file.
Correction error of @989 and @1003.
2016-12-27 15:34:01 +09:00
Kazue Igarashi d1ea3e1a75 Using tabs instead of mixed tabs/spaces
Mixed usage of tabs/spaces for `/inc/jetpack.php` and `/sass/style.scss`.
2016-07-05 13:04:11 +09:00
Caroline Moore 2316b1981c Removing post formats support and styles from _s 2016-06-13 16:39:54 -04:00
Benoît Chantre d4dfd604eb Update the year in copyrights 2016-02-08 21:36:23 +01:00
Evan Mullins e9c7d73be8 update theme comment section so it will remain when compiled & compressed 2015-06-18 15:26:01 -04:00
Ulrich Pogson 60d249b7c3 State licence of Underscores 2015-04-25 08:26:52 +02: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
Konstantin Obenland ec2a5e212a Fixed merge conflicts. 2015-01-14 09:35:02 -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
Stefan Brechbühl f0340a66e4 Delete hyphens
in comment headings
2014-09-01 22:44:54 +02: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