I hereby claim:
- I am davidmerrique on github.
- I am davidm (https://keybase.io/davidm) on keybase.
- I have a public key whose fingerprint is 17DC C478 39F8 BD06 B84F 4D4B EFA9 B4DD C13C 3205
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var uglify = require('gulp-uglify'); | |
var coffeeify = require('coffeeify'); | |
var shim = require('browserify-shim'); |
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |
// iOS Media Queries | |
// Goal: capture styles for iPhone, iPhone 3G, iPhone 3GS, iPhone 4, iPhone 4S, iPad, and iPad 2 | |
// | |
// Author: Tony Schneider (@tonywok) | |
// Please tell me where I fail. :) | |
// iPhone v(4,4S) portrait | |
// test: black text (overwritten by v* portrait) with blue background | |
@media all and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { | |
a { |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { background: #fff; height: 100%; } | |
.icon { | |
position: absolute; | |
top: 50%; | |
left: 50%; |
/** | |
* Path Icon Hover - Thanks to Dan Eden | |
* Original here: http://dabblet.com/gist/1670215 | |
* | |
* Dan did a great job emulating the Path icon, so I tried to emulate it without peeking at his code too much. | |
*/ | |
body { | |
background: #636864; | |
height: 100%; |
/** | |
* Radial Gradients - David Merrique | |
*/ | |
body { | |
background: #fff; | |
min-height:100%; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 13px; | |
padding-top: 140px; | |
text-align: center; |
/** | |
* Hello Dribbble! | |
*/ | |
* { box-sizing: border-box; } | |
html { | |
font-family: Helvetica Neue, Helvetica, Arial, sans-serif; | |
background: #fff; | |
min-height:100%; |
/** | |
* Tumblr-ish | |
*/ | |
* { box-sizing: border-box; } | |
html { | |
font-family: Helvetica Neue, Helvetica, Arial, sans-serif; | |
font-size: 14px; |
/** | |
* Corner Ribbon - http://jsfiddle.net/chriscoyier/H6rQ6/1/ | |
*/ | |
.wrapper { | |
margin: 50px auto; | |
width: 280px; | |
height: 370px; | |
background: white; |