Skip to content

Instantly share code, notes, and snippets.

@Holek
Holek / README.md
Created July 31, 2012 09:00
Zombie Apocalypse

== Usage

gem 'zombie_apocalypse', :git => 'git://gist.github.com/3215262.git'

Zombie::Apocalypse.instance.yet? # => true/false

@Holek
Holek / dabblet.css
Created September 28, 2012 12:17
Label-trigerred submit
/**
* Label-trigerred submit
*/
label {
cursor: pointer;
color: blue;
border: 1px solid #CCC;
padding: 3px 6px;
}
@Holek
Holek / dabblet.css
Created February 4, 2013 14:57
List bar
/**
* List bar
*/
.listbar_wrap {
color: #fff;
background-color: #8E8E8E;
background-image: -webkit-gradient(linear, left top, left bottom, from(#8E8E8E), to(#717171)); /* Chrome, Safari 4+ */
background-image: -webkit-linear-gradient(top, #8E8E8E, #717171); /* Chrome 10+, iOS 5+, Safari 5.1+ */
background-image: -moz-linear-gradient(top, #8E8E8E, #717171); /* Firefox 3.6-15 */
@Holek
Holek / dabblet.css
Created February 4, 2013 19:40
Tabs
/**
* Tabs
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
@Holek
Holek / dabblet.css
Last active December 12, 2015 04:18
CSS3 Flared Borders (on top)
/** CSS3 Flared Borders (on top)
* adapted from: http://orderedlist.com/blog/articles/flared-borders-with-css/
*/
html {
background:#FFF;
}
* {border: 0; border-collapse: collapse; empty-cells: show; margin: 0; padding: 0}
body {font-size: 62.5%; font-family: Arial, Helvetica, sans-serif}
@Holek
Holek / dabblet.css
Created February 5, 2013 13:32
mainNav
/**
* mainNav
*/
* {
border: 0;
border-collapse: collapse;
empty-cells: show;
margin: 0;
padding: 0; }
@Holek
Holek / dabblet.css
Created February 5, 2013 13:56
Filter buttons
/**
* Filter buttons
*/
* {
border: 0;
border-collapse: collapse;
empty-cells: show;
margin: 0;
padding: 0; }
@Holek
Holek / dabblet.css
Created February 19, 2013 15:15
text-like inputs
/**
* text-like inputs
*/
table input[type="text"] {
border: 1px solid transparent;
background: white;
padding: 3px 5px;
}
table input[type="submit"] {
@Holek
Holek / dabblet.css
Created February 25, 2013 11:33
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.apple {
display:block;
height: 273px;
width: 1024px;
background-color: #EA294C;
background-image: -webkit-linear-gradient(left, #EA294C, #EA294C 16.6%, #EA6F3C 16.6%,
@Holek
Holek / dabblet.css
Created February 15, 2014 09:26
Construction site
/**
* Construction site
*/
ul,
ol {
margin-top: 0;
margin-bottom: 10px;
}