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
coo() { | |
if [ $1 ]; then | |
git checkout --orphan $1; | |
git rm -rf .; | |
touch README.md; | |
git add README.md; | |
git commit -m 'orphan branch initial commit'; | |
git push --set-upstream origin $1; | |
fi | |
} |
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 (require) -> | |
$ = require 'jquery' | |
$(document).ready -> | |
deferrableImages = $("img[data-src]").toArray() | |
# deferrableImages = $("img[data-src]").toArray() | |
loadImage = ($el, $fn) -> |
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
// cssNess | |
// it's css with ness on the end | |
// http://www.imdb.com/title/tt0463034/quotes#qt1415897 | |
@import size | |
.square | |
size 6em | |
.rectangle |
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
// mixin - extends mixins from aebsr/bedrock | |
.unstyle-form () { | |
textarea, select, input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"]{ | |
.background-clip(padding); | |
.border-radius(0); | |
-webkit-appearance: none; | |
background-color: #fff; | |
color: #000; | |
outline: 0; |
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
.your-font-name(@weight: 3, @style: 'n') { | |
// Value combinations - i is for italic | |
// light: 3, n | |
// regular: 4, n/i | |
// medium: 5, n | |
// bold: 7, n/i | |
// Valid Syntax | |
// .your-font-name(3, n) | |
// .your-font-name(3, 'n') |
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
.font-size(@font-size: 16, @mobile-ratio: 66) { | |
@rem: (@font-size / 10); | |
@percent: (@mobile-ratio / 100); | |
font-size: (@font-size * 1px); | |
font-size: ~"@{rem}rem"; | |
@media @mobile { | |
@rem: ((@font-size / 10) * @percent); | |
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
/*! | |
* icbiacontrol sample styles | |
* | |
* Copyright 2013 Antoine Butler | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Sample form element styles, that style text, radio and checkbox inputs as well as | |
* selectboxes and textareas consistently across browsers. Built by @aebsr | |
*/ |
NewerOlder