Stash 2.3.4 (beta) or later
/layouts/
standard.html
/partials/
listing.html
Stash 2.3.4 (beta) or later
/layouts/
standard.html
/partials/
listing.html
Sass Mixin for typekit variation-specific font-family names | |
Typekit IE6-8 Support (http://help.typekit.com/customer/portal/articles/6855-Using-multiple-weights-and-styles) | |
$lucida-grande: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif; | |
$georgia: Georgia, Cambria, "Times New Roman", Times, serif; | |
// Must include fallbacks for EACH typekit font — set them each as variables | |
//************************************************************************// | |
$typekit-fonts: "source-sans-pro", "ff-tisa-web-pro"; // index [1, 2] |
@function icon-url($path) { | |
@return url("../../assets/icons/#{$path}"); | |
} | |
@function bg-url($path) { | |
@return url("../../assets/bg/#{$path}"); | |
} | |
@function asset-url($path) { | |
@return url("../../assets/#{$path}"); |
// Vertically center with inline-block and a dummy element | |
// @mixin vertically-center-child | |
// @see http://css-tricks.com/centering-in-the-unknown/ | |
@mixin vertically-center-child( | |
$child-selector: "&:first-child", | |
$font-size: $base-font-size, | |
$collapse-white-space: if($font-size, true, false), | |
$dummy-selector: "&:before" | |
) { | |
@if $collapse-white-space { |