The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
/* @author 14islands.com | |
* SASS mixins for future proof resolution media query | |
*/ | |
@mixin if-min-resolution($dppx) { | |
@include if-resolution(min, $dppx) { | |
@content; | |
} | |
} |
//Creates a shortcode that displays a Font Awesome heart icon | |
add_shortcode('fa-heart', 'gsc_shortcode_faheart'); | |
function gsc_shortcode_faheart( $attr ){ | |
return '<i class="fa fa-heart"></i>'; | |
} |
.image-section { | |
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(30%,rgba(0,0,0,0)), color-stop(80%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0))); | |
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); | |
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); | |
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); | |
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#e6000000',GradientType=0 ); | |
display: table; | |
overflow: hidden; |
<?php | |
/** | |
* This file contains all font families used and included in an array that builds a fonts url dynamically. | |
* | |
* @package Utility_Pro customized for gingercoolidge.com | |
* @author Ginger Coolidge | |
* @license GPL-2.0+ | |
*/ | |
add_action( 'wp_enqueue_scripts', 'utility_pro_enqueue_fonts' ); |
// Separate file contains the Google fonts to load for this theme. | |
require get_stylesheet_directory() . '/includes/google-fonts.php'; |
.img-circular-about-us-1 { | |
width: 100%; | |
height: 220px; | |
background-image: url(/wp-content/uploads/2016/02/2012-card-insert.jpg); | |
background-size: cover; | |
display: block; | |
margin: 10px 0; | |
border-radius: 50%; | |
-webkit-border-radius: 50%; | |
-moz-border-radius: 50%; |
.img-circular-about-us-1 { | |
width: 100%; | |
height: 220px; | |
background-image: url(/wp-content/uploads/2016/02/2012-card-insert.jpg); | |
background-size: cover; | |
display: block; | |
margin: 10px 0; | |
border-radius: 50%; | |
-webkit-border-radius: 50%; | |
-moz-border-radius: 50%; |