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
// Define a map of z-index layers. Utilized by layer() | |
$layers: ( | |
foreground: 1, | |
local-hero: 2, | |
local-superhero: 3, | |
global-hero: 4, | |
global-superhero: 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
{ | |
"directory": "bower_components" | |
} |
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
# Breakpoint class | |
# provides a way to manage and access breakpoint values for use in media queries | |
# read in more detail about this at https://medium.com/@caleb.pierce/coffeescript-for-responsive-websites-3398abd5e2bd | |
class Breakpoint | |
constructor: (@lower_bound, @upper_bound = "") -> | |
@screen = "only screen" | |
# returns a min-width style media query breakpoint | |
up: -> |
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
//- Generate a placeholder image from placehold.it | |
//- ---------------------------------- | |
//- Parameters: | |
//- width: image width in pixels | |
//- height: image height in pixels | |
//- text (optional): text inside image | |
//- ---------------------------------- | |
//- Usage: | |
//- +image(200, 120, 'Example') | |
//- ---------------------------------- |
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
/* | |
* Compass doesn't have an animation mixin either. Here's one: | |
* | |
* Example usage: | |
* @include animation(10s, 5s, changecolour) | |
*/ | |
@mixin animation($delay, $duration, $animation) { | |
@each $i in webkit, moz, o { | |
-#{$i}-animation-delay: $delay; |
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
// drop-shadow for bottom of element | |
.bottom-drop-shadow { | |
position:relative; | |
background: #fff; | |
&:after { | |
content:""; | |
position:absolute; | |
z-index:-1; | |
bottom: 0; | |
width: 90%; |
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
var isIE8, test_version; | |
test_version = 8; | |
isIE8 = (document.documentMode != null) && document.documentMode === test_version; | |
if (isIE8) { | |
return document.documentElement.className += ' ie8'; | |
} |
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
<!-- replace XXXXXX with the Project Key BugHerd gives you in their version of this script --> | |
<script>window._bugHerd||document.write('<script src="//www.bugherd.com/sidebarv2.js?apikey=XXXXXX"><\/script>')</script> |
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
test_version = 10 # which version of IE to test for | |
isIE10 = document.documentMode? and document.documentMode == test_version | |
if isIE10 then document.documentElement.className += ' ie10' |
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
// container for evenly-spaced grid items | |
.l-spaced-grid { | |
text-align: justify; | |
font-size: 0; | |
&:after { | |
content: ''; | |
display: inline-block; | |
width: 100%; | |
} | |
} |
NewerOlder