NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
#!/bin/sh | |
PROG=$0 | |
RSYNC="/usr/bin/rsync" | |
SRC="/" | |
DST="/Volumes/Backup/" | |
# rsync options | |
# -v increase verbosity | |
# -a turns on archive mode (recursive copy + retain attributes) |
<div class="ibw"> | |
<div class="ib">inline block</div> | |
<div class="ib">inline block</div> | |
<div class="ib">inline block</div> | |
</div> |
/* | |
* Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
* Better handling of scripts without supplied ids. | |
* | |
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
*/ | |
(function(doc, script) { | |
var js, | |
fjs = doc.getElementsByTagName(script)[0], |
/* ============================================================================= | |
HTML5 element display | |
========================================================================== */ | |
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } | |
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; } | |
/* ============================================================================= | |
Base |
/* | |
* Property prefix hacks | |
*/ | |
/* IE6 only - any combination of these characters */ | |
_ - £ ¬ ¦ | |
/* IE6/7 only - any combination of these characters */ |
<!DOCTYPE html> | |
<html lang="en" | |
xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:og="http://ogp.me/ns" | |
xmlns:fb="http://www.facebook.com/2008/fbml"> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta charset="utf-8"> | |
<!--[if lt IE 7]><html class="no-js ie6"><![endif]--> | |
<!--[if IE 7]><html class="no-js ie7"><![endif]--> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>CSS responsive images</title> | |
<style> | |
/* Doesn't stop original source image being | |
downloaded too */ | |
@media (min-device-width:600px) { |
/** | |
* 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 |
/* | |
* Containing floats in a consistent manner | |
* By Jonathan Neal and Nicolas Gallagher | |
*/ | |
/* | |
* New block formatting context method | |
* IE 6+, Firefox 2+, Safari 4+, Opera 9+, Chrome | |
*/ |