Skip to content

Instantly share code, notes, and snippets.

View math-is-hard's full-sized avatar

Rahman McGinnis math-is-hard

View GitHub Profile
@math-is-hard
math-is-hard / 0_reuse_code.js
Created June 30, 2014 14:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@math-is-hard
math-is-hard / _social-colors-2014.scss
Last active September 27, 2015 00:07
Social Network Colors (2014)
/* Social
======================================================================================= */
$col-addthis : #fe6d4c;
$col-blogger : #fb8f3d;
$col-dribbble : #ea4c89;
$col-facebook : #3b5998;
$col-flickr : #ff0084;
$col-forrst : #5B9A68;
$col-foursquare : #0072b1;
$col-googleplus : #dd4b39;
@math-is-hard
math-is-hard / _wysiwyg.scss
Last active August 29, 2015 14:01
WYSIWYG Placeholder Class
%wysiwyg{
img{ max-width: 100%; height:auto; }
img[style^="float:left;"],
img[style^="float: left;"],
img[style^="float :left;"],
img[style*=" float:left;"],
img[style*=" float: left;"],
img[style*=" float :left;"]{
margin:{right:30px; bottom:30px;}
}