Skip to content

Instantly share code, notes, and snippets.

@gbbowers
gbbowers / multi-shadow SCSS
Created September 28, 2010 21:23
add multiple box-shadows in compass pre-v.11
// Example Usage
@include multi-shadow(rgba(0,0,0,.35) 0 2px 3px 0 inset, rgba(255,255,255,.5) 0 1px 2px);
// Actual Mixin. For Compass versions prior to v.11,
// when the box-shadow syntax changed to do this for you
@mixin multi-shadow($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
$full: $shadow-1;
@if $shadow-2 {
@gbbowers
gbbowers / multi-shadow
Created September 28, 2010 21:25 — forked from hexorx/multi-shadow
SCSS multi-shadow
@include multi-shadow(rgba(0,0,0,.35) 0 2px 3px 0 inset, rgba(255,255,255,.5) 0 1px 2px);
@mixin multi-shadow($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
$full: $shadow-1;
@if $shadow-2 {
$full: $full + "," + $shadow-2;
}
@if $shadow-3 {
$full: $full + "," + $shadow-3;
}
@gbbowers
gbbowers / railscast.bbcolor
Created July 26, 2011 01:01
Railscast bbcolor file I did a few years ago. Feel free to improve it and update for missing items, etc.
"Color:Background" = "rgb(11051,11051,11051)";
"Color:Background:Grep Replace Pattern" = "rgb(62915,62915,62915)";
"Color:Background:Grep Search Pattern" = "rgb(62915,62915,62915)";
"Color:CTagsIdentifier" = "rgb(48776,20456,15006)";
"Color:ColorAttributesSeparately" = 1;
"Color:Comment" = "rgb(26214,26214,26214)";
"Color:Comment:Markdown" = "rgb(43036,43036,43036)";
"Color:Foreground" = "rgb(59110,57825,56540)";
"Color:Foreground:Grep Replace Pattern" = "rgb(0,0,0)";
"Color:Foreground:Grep Search Pattern" = "rgb(0,0,0)";
@gbbowers
gbbowers / keybase.md
Created April 4, 2014 22:29
keybase.md

Keybase proof

I hereby claim:

  • I am gbbowers on github.
  • I am gb (https://keybase.io/gb) on keybase.
  • I have a public key whose fingerprint is 5727 75B6 D89C 0AE5 FB97 AB6D 9FD9 5B57 7752 BD99

To claim this, I am signing this object: