Commit Graph

978 Commits

Author SHA1 Message Date
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
Mike Griffiths 16587b5123 Removed vendor prefixes, except where it fixes a specific bug or quirk 2014-08-11 18:20:09 +01:00
Tammie Lister beae35b2e2 Merge pull request #550 from Automattic/_sass
Brings sass into _s

Sass now comes with _s - you can simply check an option on underscores.me and get a version with Sass.

Props to: @gregrickaby @bradp @hugobaeta @obenland @sabreuse @MichaelArestad @jacklenox @karmatosed
2014-08-11 18:17:19 +01:00
Konstantin Obenland 1f62b392e8 _s: Bring back closing curly brace.
Erroneously removed while trying to sort out a merge conflict, when I
squashed `_sass` commits.
2014-08-11 09:55:33 -07: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
Philip Arthur Moore 63d8fcb190 Add escaping to custom header example. Make sure that proper attribute escaping is added into the example that's in the custom header include file. Since we're not including this in header.php, we should at least make sure that the example given is proper and passes WordPress Coding Standards checks. See #552 for context. 2014-08-07 11:07:50 +07:00
Philip Arthur Moore 01f15acadd Merge pull request #554 from Automattic/fix-setup-typo
Setup is a noun. Set up is a verb.
2014-08-07 10:41:16 +07:00
Philip Arthur Moore e6fd8e99cf Setup is a noun. Set up is a verb. "Setup the WordPress core custom header feature." is incorrect. "Set up the WordPress core custom header feature." is correct. 2014-08-07 10:36:07 +07:00
Fränk Klein 17c12ec0e5 Remove Domain Path from style.css
Indicating a domain path is optional, if you use the default, there is
no need to specify it.
2014-08-06 08:55:45 +02:00
Konstantin Obenland 104b34821a Merge branch 'slobodan-updated-hAtom' 2014-07-30 14:49:19 -05:00
Konstantin Obenland 0d87d0bb70 _s: Continue using a default `time` tag.
We only need to change the default markup if published and updated
timestamps are different.
2014-07-30 14:47:16 -05:00
Konstantin Obenland 048057ad68 Merge branch 'updated-hAtom' of https://github.com/slobodan/_s into slobodan-updated-hAtom 2014-07-30 14:35:44 -05:00
Konstantin Obenland e4ad206745 Merge pull request #549 from WebDevStudios/empty_selectors
_s: Wrap after each selector and comma.
2014-07-30 14:29:35 -05:00
Greg Rickaby 99287281cf return all the things! Also, add display: block; to some empty selectors (to tie in with _sass) 2014-07-29 15:54:08 -05:00
Konstantin Obenland b0e25cfea5 Merge pull request #538 from lchski/lchski-readme-trailing-slash
Add trailing slash to `layouts` in readme.
2014-07-02 12:20:29 -07:00
Lucas Cherkewski 65b9ea8766 Add trailing slash to `layouts` in readme. 2014-06-30 19:42:03 -04:00
Thomas Guillot ba1258f365 _s: Simplify entry meta output
- Fix entry-footer inconsistency between content-*.php files
- Move in a function <code>_s_entry_meta()</code> to avoid duplication

---

At the moment there is an inconsistency between content.php and
content-single.php regarding the .entry-footer output.

In my opinion content.php output is would be better to use because it's
easier to translate and allow more customisation.

Finally by moving it into <code>inc/template-tags.php</code> we are
getting rid of some duplicated code.
2014-06-30 16:43:07 +01:00
Thomas Guillot a78658a393 Revert "_s: Simplify entry meta output"
This reverts commit 9e66401930.
2014-06-30 16:37:12 +01:00
Thomas Guillot 9e66401930 _s: Simplify entry meta output
- Fix entry-footer inconsistency between content-*.php files
- Move in a function <code>_s_entry_meta()</code> to avoid duplication

---

At the moment there is an inconsistency between content.php and
content-single.php regarding the .entry-footer output.

In my opinion content.php output is would be better to use because it's
easier to translate and allow more customisation.

Finally by moving it into <code>inc/template-tags.php</code> we are
getting rid of some duplicated code.
2014-06-30 16:36:36 +01:00
Philip Arthur Moore afd91c3ba8 Merge pull request #527 from kovshenin/master
Add a non-breaking space to _s_post_nav().
2014-06-30 22:33:05 +07:00
Philip Arthur Moore 894190e735 Merge pull request #536 from Automattic/revert-532-Entry-Meta-Consistency
Revert "_s: Simplify entry meta output"
2014-06-30 22:23:21 +07:00
Konstantin Obenland 1596a6a50b Revert "_s: Simplify entry meta output" 2014-06-30 08:17:33 -07:00
Philip Arthur Moore 170dd682cb Merge pull request #533 from lchski/lchski-readme-consistency-fixes
Update README for consistency.
2014-06-30 22:10:59 +07:00
Philip Arthur Moore 2271e29802 Merge pull request #532 from Automattic/Entry-Meta-Consistency
Make entry meta more consistent throughout _s and gut out code duplication.
2014-06-30 22:08:48 +07:00
Lucas Cherkewski 536359f88b Update README to be more consistent
Wrap all file paths in '`', capitalize properly, fix grammar.
2014-06-29 20:44:04 -04:00
Thomas Guillot f2881285b7 _s: Simplify entry meta output
- Add entry-footer consistency between content-*.php files
- Move in a function _s_entry_meta() to avoid duplicate
2014-06-27 12:57:31 +01:00
Konstantin Obenland 5106a9e3e4 _s: Use braces in all conditionals.
Formatting updates for file comment, conditional braces, and indentation.
2014-06-26 13:45:05 -07:00
Konstantin Obenland fc95a34dec Merge pull request #529 from Automattic/Remove-Default-Widgets
Remove default widgets from sidebar.

Closes #528.
2014-06-26 13:42:21 -07:00
sixhours d2beca6092 Remove unnecessary semicolon 2014-06-26 11:06:51 -04:00
sixhours d01a8d319b is_active_sidebar() check
Check to ensure sidebar is active before displaying #secondary
2014-06-26 11:06:33 -04:00
sixhours 409d15d1a2 Remove default widgets from sidebar 2014-06-26 10:55:04 -04:00
Konstantin Kovshenin 5fffb5e911 Add a non-breaking space to _s_post_nav().
Sometimes the title length of a previous or next post would cause
the arrow (larr/rarr) in the link to be wrapped to the next line.
Adding a non-breaking space between the title and the arrow will stick
it to the last word in the title.
2014-06-26 11:50:14 +04:00
Tammie Lister 4dad296c3a Merge pull request #524 from jacklenox/dev
Capitalisation and coding standards corrections - props @jacklenox
2014-06-25 11:47:40 +01:00
Jack Lenox 0b96c02e02 Undid my multiline function corrections 2014-06-25 10:31:51 +01:00
Jack Lenox 776eaf6e94 Correcting some irregular capitalisation and coding standards issues 2014-06-25 00:13:36 +01:00
Jack Lenox b6ad3b341a Changed lone uppercase H to lower 2014-06-25 00:04:59 +01:00
Tammie Lister eb58df8d30 Revert the change to spacing in #517
Adds back in space for now. Props @lancewillett
2014-06-21 00:39:40 +01:00
Tammie Lister 97e4dc5270 Merge pull request #517 from emiluzelac/patch-29
Minor spacing fix for main navigation props @emiluzelac
2014-06-20 12:01:17 +01:00
Emil Uzelac f74b591348 Minor spacing fix for main navigation
Just an itsy-bitsy space removal, no biggie, but needed :)
2014-06-19 23:49:33 -05:00
Konstantin Obenland 1c42386783 _s: Document background color fallback.
A default background color is needed for any time there is no custom background color.
This happens to use the browser's default `#fff`, and is meant more as a reminder for theme authors.

See #515.
2014-06-19 13:20:30 +02:00
Konstantin Obenland 4f9492a7b8 Merge pull request #512 from slobodan/content-search
First pass at creating a search-dedicated post template. Simplifies `content.php` and makes use of the template hierarchy.

Eventually we can think about removing more meta information, as appropriate.
2014-06-16 10:30:18 +02:00
Slobodan Manic 00570514d4 Adds .updated class to .entry-date when needed 2014-06-15 13:20:06 +02:00
Slobodan Manic 6cb3c485ba Creates content-search.php and removes is_search() check from content.php 2014-06-15 13:05:23 +02:00
Konstantin Obenland 31ac4d2b2d Merge pull request #507 from gatespace/update_pot
Update `_s.pot`.
2014-06-15 06:50:59 +02:00
Kazue Igarashi 9089d02304 Update _s.pot
Change "Posted on" string.
And add "by" string.
Related: #453, e24e53e
2014-06-03 23:15:07 +09:00
Konstantin Obenland e24e53e024 Merge pull request #453 from grappler/translation-strings
_s: Avoid html tags in "Posted on" string.
2014-06-02 08:28:46 -07:00
Konstantin Obenland 91d2514a62 _s: List post formats in their own line.
d8a88d2097 brought the HTML5 support declaration close to how Twenty Thirteen and Twenty Fourteen do it, leaving post formats doing their own thing.

Let's make displaying array values consistent with the latest default themes.
2014-05-29 14:14:25 -07:00
Philip Arthur Moore 25a6b98898 Merge pull request #502 from emiluzelac/patch-24
Minor coding standards adjustments for HTML5 markup support declaration. See https://github.com/Automattic/_s/pull/498#issuecomment-44492997.
2014-05-29 16:08:33 +07:00
Emil Uzelac d8a88d2097 Post Formats code re-formatting
See: https://github.com/Automattic/_s/pull/498#issuecomment-44492997
2014-05-29 01:54:04 -05:00
Tammie Lister cbe996bfb9 Merge pull request #501 from emiluzelac/patch-23
Increases text width to 100% which allows for box-sizing. I like this better and if someone wants to add a border or effect they can change the width.
2014-05-28 17:48:20 +01:00