View Stylus CSS watcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var | |
fs = require('fs'), | |
exec = require('child_process').exec, | |
stylus = require('stylus'); | |
var generateCSS = function() { | |
exec('stylus ./ --out ../../css/ --use nib/lib/nib', function(err, stdout, stderr) { | |
if(err) { | |
console.log(err); | |
} |
View KmlParser-usage.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors',1); | |
error_reporting(E_ALL); | |
require 'kml-parser.php'; | |
$kml = file_get_contents('http://maps.google.co.uk/maps/ms?ie=UTF8&hl=en&t=h&authuser=0&msa=0&output=kml&msid=210156054229171524633.0004a10ec7664b0c32ce8'); | |
$kmlParser = new KmlParser($kml); | |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.level-meter { | |
height:20px; | |
margin:0; | |
padding:0; | |
font-size:0; | |
color:transparent; | |
list-style-type:none; | |
} | |
.level-meter li { |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.level-meter { | |
height:20px; | |
margin:0; | |
padding:0; | |
font-size:0; | |
color:transparent; | |
list-style-type:none; | |
} | |
.level-meter li { |
View grid.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========================================================================== | |
Grid | |
========================================================================== */ | |
.grid { | |
} | |
.grid > .col:first-child { | |
margin-left:1%; | |
} |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
/*font-smoothing: subpixel-antialiased; | |
text-rendering: optimizeLegibility; | |
text-shadow: 0 0 0 rgba(0,0,0,0); | |
translate3d(0,0,0);*/ | |
} |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes peel-open { | |
0% { | |
width:150px; | |
height:150px; | |
} | |
100% { | |
width:300px; | |
height:300px; |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page { | |
display:table; | |
width: 960px; | |
border: solid 1px #555; | |
padding: 30px 70px; | |
overflow: auto; | |
} | |
.left, | |
.right { |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes peel-open { | |
0% { | |
width:150px; | |
height:150px; | |
} | |
100% { | |
width:300px; | |
height:300px; |
OlderNewer