Skip to content

Instantly share code, notes, and snippets.

@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 09:41
Untitled
#ideaviewer {
position: fixed;
top: 30px;
left: 60px;
right: 60px;
bottom: 30px;
background: orange;
text-align: center;
}
@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 09:28
Untitled
#ideaviewer {
position: fixed;
top: 30px;
left: 60px;
right: 60px;
bottom: 30px;
background: orange;
text-align: center;
}
@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 08:22
column container
/* column container */
.colmask {
position:relative; /* This fixes the IE7 overflow hidden bug */
clear:both;
float:left;
width:100%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
}
/* common column settings */
@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 08:22
column container
/* column container */
.colmask {
position:relative; /* This fixes the IE7 overflow hidden bug */
clear:both;
float:left;
width:100%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
}
/* common column settings */
@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 08:22
column container
/* column container */
.colmask {
position:relative; /* This fixes the IE7 overflow hidden bug */
clear:both;
float:left;
width:100%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
}
/* common column settings */
@innovationhero
innovationhero / dabblet.css
Created September 24, 2012 07:49
column container
/* column container */
.colmask {
position:relative; /* This fixes the IE7 overflow hidden bug */
clear:both;
float:left;
width:100%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
}
/* common column settings */
.colright,
/*
HTML5 ✰ Boilerplate
style.css contains a reset, font normalization and some base styles.
credit is left where credit is due.
much inspiration was taken from these projects:
yui.yahooapis.com/2.8.1/build/base/base.css
camendesign.com/design/
praegnanz.de/weblog/htmlcssjs-kickstart
@innovationhero
innovationhero / gist:3643736
Created September 5, 2012 20:06 — forked from remigijusj/gist:870925
dm-redis-adapter with "through" associations
require 'dm-core'
require 'dm-redis-adapter'
DataMapper.setup(:default, {:adapter => "redis"})
class Book
include DataMapper::Resource
property :id, Serial
property :name, String
@innovationhero
innovationhero / Warden, Slim, sqlite3, Sinatra example
Created August 29, 2012 11:48 — forked from jamiehodge/gist:1327195
Warden, Slim, sqlite3, Sinatra example
require 'sinatra/base'
require 'rack/flash'
require 'warden'
require 'slim'
require 'sequel'
require 'sqlite3'
DB = Sequel.sqlite
DB.create_table :users do
primary_key :id
body{background:url('http://ramaze.net/ramaze/images/bg.png');}
/* login leds */
#container {
width: 626px; width:709px;
height: 256px;
margin: -107px 0 0 -348px; margin:-128px 0 0 -348px;
padding: 0 0 0 0px;