Commit Graph

29 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
Ulrich Pogson b26b6ebfa4 Move PHP tags on it’s own line & correct indention
This fixes a few of the errors from the news sniffs in WPCS 0.12.0 and also standardizes the indention between the PHP and HTML
2018-02-27 14:34:53 +01:00
David A. Kennedy f56a070c2b Remove landmark roles
* With better browser support, these roles aren't needed now.
* Most newer browsers imply them via HTML5 semantics. See: http://html5doctor.com/on-html-belts-and-aria-braces/

Fixes #1132
2017-06-23 12:41:05 -04:00
David A. Kennedy 7a04605a0b Remove invalid rel="designer" attribute
Refresh of #1016
Fixes #1020
2017-06-10 00:58:56 -04:00
jrfnl 8cefd8f258 I18n: ensure all text strings with placeholders have translators comments. 2017-04-03 00:46:24 +02:00
Tammie Lister dd1f7366df Merge pull request #1008 from B-07/patch-3
Automattic url http to https
2016-12-23 12:33:29 +00:00
Bappi 8911b67b82 Remove period from file header 2016-09-27 12:21:06 +06:00
Bappi 723d20d157 Automattic url http to https
We have https for the wordpress.org link, so why not in the Automattic url as well!
2016-08-17 08:10:33 +06:00
Konstantin Obenland 4b36cf3053 Merge pull request #781 from PJ-Finlay/add-documentation-in-comments
Updated file documentation.
2015-08-03 12:13:35 -07:00
PJ de9c9888b7 Updated documentation in comments at the top of files.
I tried to standardize and expand the documentation and links to
codex.wordpress.org in the comments at the top of most files.
2015-07-12 12:38:18 -04:00
Bego Mario Garde c3f4f3945c Change Credit Link to https://
As WordPress encourages to call their webpages with https-protocol, the credits link in the theme footer should use https, too.
2015-07-10 16:43:17 +02:00
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Fränk Klein 229d5e93da Escape translations in footer.php
See #737.
2015-05-05 12:38:12 +02:00
Emil Uzelac a0700ff80e Sanitizing URL
Path was outdated. Please see https://github.com/Automattic/_s/pull/388
2014-02-24 20:42:06 -06:00
Ulrich Pogson 88cdc5222e Remove wpcom actions 2014-02-10 21:19:41 +01:00
obenland 543cae8bbf Merge branch 'master' of https://github.com/davidakennedy/_s into titles
Conflicts:
	image.php
	inc/custom-header.php
	searchform.php
2013-09-25 14:59:11 -07:00
Vinod Dalvi 1a60b6cf85 Corrected wrong comments. 2013-09-14 03:29:53 -07:00
David A. Kennedy 22e859857e Fix merge conflict. 2013-08-23 23:58:40 -04:00
David A. Kennedy 889491de53 First round of removing title attributes. 2013-08-23 23:48:19 -04:00
obenland 810e499b93 _s: Use `<main>` element for main content.
See: http://www.w3.org/TR/html51/grouping-content.html#the-main-element

Props @BFTrick for initial patch.
Fixes #222.
2013-07-30 12:12:45 -07:00
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05:00
obenland c4f2aa32ce _s: Formatting changes:
- Reduce element comments to either the element id or the first element
class.
- Tabs > Spaces.
- Improve adherence to formatting guidelines.
2013-03-04 16:41:38 -08:00
Matias 752d08afd7 Update the HTML "class" system
Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
2012-08-25 14:06:33 -03:00
Daniel Hollands 3fd3056326 Updated the comment to keep inline with the rest of the comments in the template. 2012-06-10 16:53:54 +02:00
Lance Willett 93a334bc97 _s: refix footer URL and extra spaces, originally fixed in r8766 but reverted in r8831
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8981 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-21 06:28:24 +00:00
Ian Stewart afe244fe68 _s: More consistency with class names in the structural markup 2012-02-01 16:55:36 +00:00
Lance Willett 9ce5deb7af _s fixes
Spacing, trailing slash; no need to translate the footer generator URI.
2012-01-20 18:18:59 +00:00
Ian Stewart db89577313 _s
* Post format support for asides only, supported by CSS and not a template, is a good workable minimum for a theme so the post format templates are gone
* With good support for essential CSS in IE8+ it's not neccesary to have a ID on the HTML element for the version of IE
* Branding and site-generator are ugly id names
* The title and description are selectable by class for consistency and portability
2012-01-10 20:43:34 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00