This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>undocumented title</title> | |
| <style> | |
| nav {display:block;} | |
| html { | |
| background: #eee; | |
| } |
This file contains hidden or 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
| /*! | |
| * equalHeights jQuery Plugin | |
| */ | |
| (function($){ | |
| $.fn.equalHeights = function() { | |
| var tallest = 0, | |
| current = 0; | |
| this.each(function(){ | |
| current = $(this).height(); | |
| if(current > tallest) { |
This file contains hidden or 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
| * { | |
| padding-bottom: 200% !important; | |
| } |
This file contains hidden or 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
| $total-cols: 24; | |
| $gr: 1.61803399; // golden ratio... because why not? | |
| $col-gutter: ($gr * 1); | |
| .col-group { | |
| position: relative; | |
| @include pie-clearfix; // a Compass mixin. If not using Compass (that's just insane), insert other clearfix | |
| > .col { | |
| float: left; |
This file contains hidden or 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
| @for $num from 0 through 100 { | |
| .opacity-#{$num} { | |
| @include opacity($num * .01); | |
| } | |
| } |
This file contains hidden or 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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
| <meta name="description" content="EmChart is a lookup table for converting pixel values to EM values and calculating line-height" /> | |
| <meta name="author" content="Andy Ford, Ford Interactive" /> | |
| <title>EmChart</title> | |
| <!-- | |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # This is an RVM Project .rvmrc file, used to automatically load the ruby | |
| # development environment upon cd'ing into the directory | |
| # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | |
| environment_id="ruby-1.9.3-p385@GEMSET_NAME_GOES_HERE" | |
| # | |
| # First we attempt to load the desired environment directly from the environment |
This file contains hidden or 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
| /* | |
| * original from: https://gist.github.com/jlong/2428561 | |
| * | |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" |
This file contains hidden or 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
| $total-cols: 12; | |
| .col-group { | |
| position: relative; | |
| // @include clearfix; // bourbon | |
| // @include pie-clearfix; // compass | |
| } | |
| .col { |
OlderNewer