View headings-mixin.scss
1 2 3 4 5 6 7 8 9 10
/*
 
SCSS - Sass Mixin for Headings
 
Reference Link: http://jsfiddle.net/jitendravyas/cxJtc/light/
Also Look at: http://www.elijahmanor.com/nested-maps-for-typesetting-in-sass/
*/
 
@mixin headings($from: 1, $to: 6){
@for $i from $from through $to{
View shortcode-custom-grid.php
1 2 3 4 5 6 7 8 9
<?php
 
// PHP - Wordpress Shortcode Functions for Custom Sass Grid
// A Working Shortcode Template for Custom Grid Layouts using Sass
 
 
/* =============================================================================
Row Block Shortcode
========================================================================== */
View detect-animation-end.js
1 2 3 4 5 6 7 8 9 10
/*
Detect Animation End! (Thanks David Walsh)
Reference: http://davidwalsh.name/css-animation-callback
 
*/
/* From Modernizr */
function whichTransitionEvent(){
var t;
var el = document.createElement('fakeelement');
var transitions = {
View remove-empty-p.php
1 2 3 4 5 6 7 8
// Removes P Tags from the_content
// Reference Link: https://coderwall.com/p/vg-i0w
 
add_filter('the_content', 'remove_empty_p', 20, 1);
function remove_empty_p($content){
$content = force_balance_tags($content);
return preg_replace('#<p>\s*+(<br\s*/*>)?\s*</p>#i', '', $content);
}
View replace-text.css
1 2 3 4 5 6 7 8 9 10
.class {
visibility:hidden;
color:white;
}
 
.class:before {
content: "[Replaced Content]";
color:black;
visibility:visible;
}
View redirect-window.js
1 2 3 4 5 6 7 8 9
/*
 
JS - Redirects & window.open script
 
Reference URL: http://davidwalsh.name/window-open
 
(Thanks David Walsh!)
 
*/
View pulse.css
1 2 3 4 5 6 7 8 9 10
@-webkit-keyframes pulse {
0% { color: $slp-green; }
100% { color: lighten($slp-green, 5%);}
}
@-moz-keyframes pulse {
0% { color: $slp-green; }
100% { color: lighten($slp-green, 5%);}
}
@-o-keyframes pulse {
0% { color: $slp-green; }
View application.css.scss
1 2 3 4 5 6 7 8 9
// Sticky Footer CSS
// http://www.cssstickyfooter.com/
 
$sticky-footer-height: 80px; // must be same height as the footer
 
* {
margin: 0;
padding: 0;
}
View fire-once.js
1 2 3 4 5 6 7 8 9 10
/*
JavaScript Fire Once Pattern
Courtesy of David Walsh
Reference Link: http://davidwalsh.name/javascript-once
 
*/
 
// The "once" wrapper
View sass-install-uninstall-edge.md
Something went wrong with that request. Please try again.