Reinvent the Way You Make a Living, Do What You Love, and Create a New Future
Written by Chris Guillebeau
window.ConsoleCss = { | |
log : function ( obj, css ) { | |
var cssString = css; | |
if ( typeof css == 'object' ) { | |
cssString = ''; | |
for ( var part in css ) { | |
if ( css.hasOwnProperty( part ) ) { | |
cssString += part + ':' + css[part] + '; '; | |
} | |
} |
2015 Spring A | |
Jason Bronowitz |
// ======================= | |
// Media Query Breakpoints | |
// ======================= | |
$screen-xs-min: 480px !default; | |
$screen-sm-min: 768px !default; | |
$screen-md-min: 992px !default; | |
$screen-lg-min: 1200px !default; | |
$screen-xs-max: ($screen-sm-min - 1) !default; | |
$screen-sm-max: ($screen-md-min - 1) !default; |
/** | |
* @see http://designpieces.com/2014/09/instagram-filters-css3-effects/ for example | |
*/ | |
.ig-xpro2 { | |
-webkit-filter: contrast(1.3) brightness(0.8) sepia(0.3) saturate(1.5) hue-rotate(-20deg); | |
filter: contrast(1.3) brightness(0.8) sepia(0.3) saturate(1.5) hue-rotate(-20deg); | |
} | |
.ig-willow { |
$theme-dark: #_; | |
$theme-primary: #_; | |
$theme-accent: #_; | |
$theme-pop: #_; | |
$theme-aggro: #_; |
Pass laws to get oppression points.
First to 5 points wins.
Control population's emotions:
/* | |
* Uses the Euvlidean Algorithm. | |
* http://en.wikipedia.org/wiki/Euclidean_algorithm | |
*/ | |
function greatestCommonDivisor( a, b ) { | |
if ( b > a ) { | |
var t = a; | |
a = b; | |
b = t; | |
} |