Skip to content

Instantly share code, notes, and snippets.

View awayken's full-sized avatar

Miles Rausch awayken

View GitHub Profile
@awayken
awayken / dabblet.css
Created August 17, 2012 17:47
Shadow Play
/**
* Shadow Play
*/
body {
color: #000;
background: #fff;
font-family: arial, sans-serif;
font-size: 9em;
font-weight: bold;
letter-spacing: -10px;
@awayken
awayken / dabblet.css
Created August 5, 2012 03:36
CSS3 Ligatures and Kerning Pairs
/**
* CSS3 Ligatures and Kerning Pairs
*/
@import url(http://fonts.googleapis.com/css?family=Lato);
@import url(http://fonts.googleapis.com/css?family=Goudy+Bookletter+1911);
body {
font-family: Verdana;
font-size: 0.8em;
text-rendering: optimizeSpeed;
@awayken
awayken / dabblet.css
Created August 2, 2012 20:12
On the move. The Chevrolet '70s.
/**
* On the move. The Chevrolet '70s.
*/
@awayken
awayken / dabblet.css
Created June 23, 2012 02:27
Qualitest® - an ugly package redone in CSS.
/**
* Qualitest® - an ugly package redone in CSS.
*/
body { color: #000; background: #fff; }
.qualitest { width: 900px; padding-bottom: 9px; background: gold; font-size: 1.2em; font-family: 'Arial Black', arial, sans-serif; }
.qualitest .code { padding: 0 10px; }
.qualitest h1 { width: 80%; margin: 0 0 0.5em 0; padding: 0 10px; line-height: 1; font-size: 2em; font-weight: normal; text-transform: uppercase; }
.qualitest strong { display: inline-block; height: 34px; padding: 0 6px 0 10px; vertical-align: bottom; color: #fff; background: #000; font-family: arial; font-weight: bold; font-size: 0.8em; letter-spacing: 4px; line-height: 32px }
.qualitest .details { padding: 0 10px; }
.qualitest .details span:first-child { float: none; }
@awayken
awayken / dabblet.css
Created May 31, 2012 15:28
Typografaces
/***
Typografaces
Some faces done in pure CSS and typography.
***/
.toolbox { padding: 0.5em 1em; margin: 0 0 1em 0; border: 1px solid #ddd; border-radius: 8px; background: #000; font-size: medium; }
.toolbox a { display: inline-block; margin: 0 8px; color: white; text-decoration: none; }
/***
Typografaces
@awayken
awayken / dabblet.css
Created May 31, 2012 15:12
Forgotten English
/***
Forgotten English
A CSS experiment. Just mimicking my one-a-day calendar, called Forgotten English.
***/
/** Get our font **/
@import url(http://fonts.googleapis.com/css?family=IM+Fell+English:400,400italic|IM+Fell+English+SC|Cardo:400,400italic);
/** reset, normalize.css from jsFiddle **/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
@awayken
awayken / reset.less
Created May 20, 2012 20:51
Default LESS
// http://meyerweb.com/eric/tools/css/reset/
// v2.0 | 20110126
// License: none (public domain)
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
@awayken
awayken / jquery.PLUGIN.js
Created April 30, 2012 02:26
A blank template for creating a new jQuery plugin, modified from http://starter.pixelgraphics.us/
/******************
jQuery Plugin
Name: PLUGIN
Author: Miles Rausch (http://awayken.com)
Version: VER
******************/
(function($){
$.PLUGIN = function(el, PARAM, options){
// To avoid scope issues, use 'base' instead of 'this'
// to reference this class from internal events and functions.
@awayken
awayken / uri.js
Created April 22, 2012 03:40 — forked from jlong/uri.js
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@awayken
awayken / dabblet.css
Created April 17, 2012 04:04
Flipboard - detail, with hover.
/**
* Flipboard - detail, with hover.
*/
@-webkit-keyframes grow {
from { top: 44px; bottom: 88px; }
to { top: 0; bottom: 0; }
}
body {