Skip to content

Instantly share code, notes, and snippets.

View pgherveou's full-sized avatar

PG Herveou pgherveou

View GitHub Profile
@pgherveou
pgherveou / dabblet.css
Created December 20, 2011 12:45
table display test
/**
* table display test
*/
body {
min-height:100%;
padding-top: 100px
}
div {
outline: 2px solid grey;
@pgherveou
pgherveou / gist:1709737
Created January 31, 2012 10:08
Socket io middelware
io = require 'socket.io'
io.Socket::onEvent = (ev, cbs...) ->
@on ev, (args...) ->
cbList = cbs.slice()
# set callback parameter if any
fn = args[args.length-1] if typeof args[args.length-1] is 'function'
@pgherveou
pgherveou / dabblet.css
Created February 26, 2012 12:48
Untitled
ul {
overflow: hidden;
*zoom: 1;
height: 50px;
background: #333;
color: white;
}
li {
@pgherveou
pgherveou / dabblet.css
Created February 26, 2012 13:05
Untitled
body {
/*background-color: blue*/
}
ul {
overflow: hidden;
*zoom: 1;
height: 150px;
background: #333;
color: white;
@pgherveou
pgherveou / dabblet.css
Created February 26, 2012 20:20
Untitled
body {
/*background-color: blue*/
}
ul {
overflow: hidden;
*zoom: 1;
height: 50px;
background: #333;
color: white;
@pgherveou
pgherveou / dabblet.css
Created February 28, 2012 11:08
Untitled
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #6ACEDC;
height: 500px
width: 900px
}
h1 {
color: white;
text-transform: uppercase;
font-size: 80px;
@pgherveou
pgherveou / dabblet.css
Created February 28, 2012 17:11
Untitled
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #6ACEDC;
height: 500px
width: 900px
}
h1 {
color: white;
text-transform: uppercase;
font-size: 80px;
.row {
border: 1px solid black;
display: table;
width: 100%;
}
.cell {
display: table-cell;
background-color: red;
.trash {
-webkit-appearance: none;
background: none;
border: none;
cursor: pointer;
display: inline-block;
outline: none;
padding: 0;
position: relative;
width: 30px;
.circle {
background: red;
width: 50px;
height: 50px;
border-radius: 50%;
}