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
| <script type="text/javascript"> | |
| $( document ).ready(function() { | |
| var theWidth = $( window ).width(); | |
| var theSize = theWidth / 100; | |
| $( 'html' ).css( "fontSize", theSize + "px" ); | |
| }); | |
| $( window ).resize(function() { | |
| var theWidth = $( window ).width(); | |
| var theSize = theWidth / 100; | |
| if (theSize >= 8 && theSize <= 14) { |
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 | |
| /** | |
| * Add picturefill support to WordPress | |
| * | |
| * @see scottjehl.github.io/picturefill/ | |
| * @author johncionci | |
| */ | |
| /** |
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
| /** | |
| * Checks to see if the Post has a thumbnail, if not give it a class. | |
| */ | |
| function xxx_has_thumbnail_class( $classes ) { | |
| global $post; | |
| if( !has_post_thumbnail() ) | |
| $classes[] = 'no-thumbnail'; | |
| return $classes; | |
| } | |
| add_filter( 'post_class', 'xxx_has_thumbnail_class' ); |
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
| <div class="map-toggle"> | |
| <a href="#">Map It</a> | |
| </div> | |
| <div class="map-display"> | |
| <iframe src="http://mapsengine.google.com/map/embed?mid=z-BEFzFo7gdM.kYdiUKVQpQQI" width="457" height="280"></iframe> | |
| </div> |
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
| <snippet> | |
| <content><![CDATA[ | |
| /** | |
| * @file | |
| * ${1:this} | |
| */ | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>comment</tabTrigger> | |
| <!-- Optional: Description to show in the menu --> |
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
| /* | |
| * Nicolas Gallagher Micro Clearfix | |
| * @link http://nicolasgallagher.com/micro-clearfix-hack/ | |
| */ | |
| @mixin clearfix() { | |
| &:before, | |
| &:after { | |
| content: " "; | |
| display: table; |
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
| /* Text Decorations | |
| * Supply a base link color and a hover link color | |
| * Remove the underline, until hover | |
| * | |
| * $link_color - required - string or hex value - the initial link color | |
| * $hover_color - required - string or hex value - the links hover color | |
| * | |
| * @usage a { | |
| * @include text-decoration(#fff,#000); | |
| * } |
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
| /* | |
| * 320px layout supports: ( max-width 320px ) | |
| * | |
| * 10px | 300px | 10px | |
| * Posts are not floated left, can be resized with container eq 300px | |
| * | |
| * 10px | 100% ( 300px ) | 10px | |
| * | |
| * @required | |
| * rem-mixin.scss |
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
| /* | |
| * 480px layout supports: ( max-width 480px ) | |
| * | |
| * 10px | 460px | 10px | |
| * Posts are not floated left, can be resized with container eq 460px | |
| * | |
| * 10px | 100% ( 460px ) | 10px | |
| * | |
| * @required | |
| * rem-mixin.scss |
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
| /* | |
| * 640px - 768px layout supports: ( max-width 768px ) | |
| * | |
| * 10px | 214px | 10px | 214px | 10px | 300px | 10px | |
| * Posts floated left, and can be resized with container eq 214px | |
| * | |
| * 10px | 59.893048128342244% ( 448px ) | 40.106951871657756%% ( 300px ) | 10px | |
| * | |
| * @required | |
| * rem-mixin.scss |