π£
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias gitr='git' | |
| alias gti='git' | |
| alias got='git' | |
| alias gut='git' | |
| alias gi='git' | |
| alias g='git' | |
| alias gurnt='grunt' | |
| alias gr='grunt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <title>.slideshow demo</title> | |
| <style> | |
| html { font: normal 1em/1.6 sans-serif; background: pink; } | |
| body { margin: 0; } | |
| </style> | |
| <style> | |
| .slideshow { | |
| text-align: center; | |
| margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .is-sibling-grid { | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding-left: 0; | |
| padding-right: 0; | |
| } | |
| .is-sibling-grid > :only-child { | |
| display: block; | |
| width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .browse { | |
| display: inline; | |
| font-size: inherit; | |
| } | |
| .browse__input { | |
| display: inline-block; | |
| position: absolute; | |
| @include px-rem(padding, .1); | |
| @include px-rem(margin, 0, -.5); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $sort-triangle-size: .6em; | |
| .sort__cell { | |
| padding: 0; | |
| } | |
| .sort__trigger { | |
| display: block; | |
| width: 100%; | |
| text-align: left; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [class*="is-grid-x"] { | |
| @include clearfix; | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding-left: 0; | |
| padding-right: 0; | |
| } | |
| [class*="is-grid-x"] > * { | |
| @include px-rem(margin-bottom, $base-spacing-unit); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $in_category = function($cats) { | |
| if (in_category($cats)) return true; | |
| foreach ((array) $cats as $cat) { | |
| $subs = get_term_children((int) $cat, 'category'); | |
| if ($subs && in_category($subs)) return true; | |
| } | |
| return false; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $is_page = function($pages) { | |
| global $post; | |
| if (!is_page()) return false; | |
| if (is_page($pages)) return true; | |
| if (empty($post->post_parent)) return false; | |
| $parent = get_post($post->post_parent); | |
| if (!$parent || empty($parent->post_name)) return false; | |
| $slug = $parent->post_name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .is-clearfix { | |
| @include clearfix; | |
| } | |
| .is-clear { | |
| clear: both; | |
| } | |
| .is-container { | |
| @include outer-container; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function(grunt) { | |
| var _ = grunt.util._; | |
| var pkg = grunt.file.readJSON('package.json'); | |
| grunt.initConfig({ | |
| pkg: pkg, | |
| jshint: { | |
| all: ['./'], // deep | |
| dir: ['*.js'], // shallow | |
| sub: ['*/'], // sub dirs |