Skip to content

Instantly share code, notes, and snippets.

View yatil's full-sized avatar
💭
Workin’

Eric Eggert yatil

💭
Workin’
View GitHub Profile
@yatil
yatil / column.scss
Created October 11, 2011 16:18
My columnar SCSS file
$columnsmax: 16;
$columnwidth: 40px;
$gutterwidth: 20px;
$widthmax: ($columnsmax * $columnwidth) + (($columnsmax - 1) * $gutterwidth);
@function grid($cols: 1) {
$width: ($cols * $columnwidth) + (($cols - 1) * $gutterwidth);
@return percentage($width/$widthmax);
@yatil
yatil / config.rb
Created October 27, 2011 11:38
My standard config.rb for compass
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style
@yatil
yatil / dabblet.css
Created December 22, 2011 10:05
TD is not TABLEs direct child.
/**
* TD is not TABLEs direct child.
*/
body {
background: #bada55;
min-height:100%;
}
table {
@yatil
yatil / dabblet.css
Created January 14, 2012 13:52 — forked from anselmh/dabblet.css
circled-font
/**
* circled-font
*/
/* currently it's an ellipse not a circle */
.iconstyle {
background: #000;
color: #B4E3FF;
border-radius: 50%;
padding: .6em;
@yatil
yatil / dabblet.css
Created January 14, 2012 13:53
circled-font
/**
* circled-font
*/
/* currently it's an ellipse not a circle */
.iconstyle {
background: #000;
color: #B4E3FF;
border-radius: 50%;
padding: .6em;
@yatil
yatil / dabblet.css
Created January 14, 2012 13:53
circled-font
/**
* circled-font
*/
/* currently it's an ellipse not a circle */
.iconstyle {
background: #000;
color: #B4E3FF;
border-radius: 50%;
padding: .6em;
@yatil
yatil / dabblet.css
Created January 22, 2012 00:06
Color Table Cells
/* Color Table Cells */
/* tr:first-of-type td:not(:first-of-type),
tr:not(:first-of-type):not(:last-of-type) td,
tr:last-of-type td:not(:last-of-type){background: yellow}*/
/*tbody tr {background-color:yellow;}
tbody tr:first-child td:first-child,
tbody tr:last-child td:last-child {background-color:white;}*/
$ host static.lanyrd.net
static.lanyrd.net has address 80.156.86.78
static.lanyrd.net has address 62.157.140.133
Host static.lanyrd.net not found: 3(NXDOMAIN)
Host static.lanyrd.net not found: 3(NXDOMAIN)
@yatil
yatil / dabblet.css
Created January 30, 2012 11:11
Triangle with Shadow
/*
Triangle with Shadow
*/
body {
padding: 100px;
}
.triangle-with-shadow {
width: 100px;
@yatil
yatil / dabblet.css
Created January 30, 2012 11:15
Animated Skip Navigation à la @MoritzGiessmann
/**
* Animated Skip Navigation à la @moritzgiessmann
*
* Just like http://jsfiddle.net/MoritzGiessmann/DFrVC/ but with a hover style and catering for text-resizing;
*/
a {
display:block;
width:12.5em;