Skip to content

Instantly share code, notes, and snippets.

View ngsctt's full-sized avatar

Nathan ngsctt

View GitHub Profile
/*------------------------------------*\
DROPDOWNS
\*------------------------------------*/
// Based on the CSS from this blog post on CSS Wizardry:
// http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/
// Predefine the variables below in order to alter and enable specific features.
$inuit-dropdown-inter-radius: $inuit-btn-radius !default;
$inuit-dropdown-max-width: 250px;
@ngsctt
ngsctt / CSS3 Timeline.markdown
Created August 16, 2015 08:26
CSS3 Timeline
@ngsctt
ngsctt / GeekTool Snippets.md
Last active August 30, 2015 08:22
Snippets of Bash code to use in GeekTool shell widgets

GeekTool Snippets

Bash snippets to use in GeekTool

// Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3.
//
// This is a hack to fill the gap between 480 and 760 pixels - a missing range
// in the bootstrap responsive grid structure. Use these classes to style pages
// on cellphones when they transition from portrait to landscape.
//
// NOTE: Here I use SASS instead of LESS for styling. To convert to LESS
// replace '$screen' with '@screen' and '$grid' with '@grid'.
//
// See https://github.com/twbs/bootstrap/issues/10203 for more info.
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'