/* ============================================= kroc camen of camen design ==============================================
   this css is designed for acid2 and above only. there are no ids. no divs. no classes, none. enjoy!
   ----------------------------------------------------------------------------------------------------------------------- */
/* please note: measurements are in ems. ems are relative to the size of the font. 1em is always the same height as the
   current css font-size in pixels. when the font-size is 12px, 1em=12px. browsers have a default font-size of 16px.
   because this css is based on ems, if the user increases their text-size the whole website zooms accordingly.

   next to each em-size I have given the original pixel size, and the current font-size of that element used to calculate
   the em number. when a font-size is changed, the height of the font is calculated from the font-size before the change,
   but the line-height and all other sizes are then calculated from the new font-size
   e.g. `font-size: .916em;` (11px font from 12px font) .916em=11÷12, `width: 10em;` (110px from 11px font) 10em=110÷11
*/

/* reset browser default differences, this could be done with `* {...}` but that badly affects `<input>`s.
   this list taken from <code.google.com/p/blueprintcss> */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del,
dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0; padding: 0; border: none; vertical-align: baseline;
        font-weight: inherit; font-style: inherit; font-size: 100%;/*[~16px]*/ font-family: inherit;
}

/* === structure, tag defualts =========================================================================================== */
html 			{/* background colour cannot be applied to `<body>` when serving as 'application/xhtml+xml' */
			 background: #93a3b9 url('backgrounds/html-bg.png') no-repeat fixed top center;
			 /* correction if non-default foreground color, with thanks to CJ van den Berg */
			 color: black;}
body			{/* a strict reading-rhythm is maintained, every line is always 18px or a multiple thereof
			    <http://www.alistapart.com/articles/settingtypeontheweb> */
			 font: normal .75em/1.5em "Helvetica Neue", Helvetica, Arial, sans-serif;/*[12px@16/18px@12]*/
			 width: 79.166em;/*[950px@12]*/ margin: 0 auto;}

header, nav, footer,	
 section, aside,	/* convert some html5 elements into structural elements */
 article, figure	{display: block;}

ul, ol			{margin: 0 1.5em 1.5em 1.5em;/*[18px@12]*/}
li			{font-size: .916em;/*[11px@12]*/}

p			{margin: 0 0 1.5em;/*[18px@12]*/}

a			{text-decoration: none;}
a:hover			{text-decoration: underline;}

sub			{vertical-align: baseline;}
small			{font-size: 100%;}		/* `<small>` now means "small print" (i.e. side text / legese) */
em			{font-style: italic;}		/* italic was reset at the top of the page, I wish to keep it */


/* === header ============================================================================================================ */
/* logo. this is a bit of a hack, as the logo does not appear in the side pane in the html, but appears there visually */
body>header h1		{position: fixed; height: 3em; margin: 1.5em 0 1.5em 3.33em;/*[18px 0 18px 40px@12]*/ z-index: 1;}

/* --- tag cloud --------------------------------------------------------------------------------------------------------- */
header+nav		{/* lock the pane to the side when scrolling */
			 position: fixed; height: 100%; width: 10.833em;/*[130px@12]*/ 
			 /* this trick gives us a wide background colour extending off the left, so that the page appears to
			    be divided into an orange half and a blue half (even when the window is resized), without using
			    a wide background-image */
			 margin-left: -1600px; padding: 6em 5.75em 0 1600px;/*[72px 69px@12]*/
			 border-right: .25em solid #eaeeeb;/*[3px@12]*/
			 background: #be6718 url('backgrounds/aside-bg.png') no-repeat top right;}

/* add the tag count to the right of the tag, left aligned so that '10' doesn’t shunt the tags out compared to 0-9 &c. */
header+nav li		{text-align: right;}
header+nav li:after	{content: ' \00B7' ' ' attr(value); /* bug: a space directly after the hex number is ignored */
			 display: inline-block; width: 2.222em;/*[20px@9]*/ margin-left: .333em;/*[3px@9]*/
			 text-align: left;}
header+nav
 li:hover:after		{content: ' \00b7' ' \25B6';}

header+nav a		{color: #740}
header+nav a[rel=tag]	{color: #fcfcfc;}	/* "you are here" */

/* --- header links 'html, css, php' &c. --------------------------------------------------------------------------------- */
body>header>ul		{font-size: .916em;/*[11px@12]*/ float: right; width: 10em;/*[110px@11]*/
			 margin: 1.636em 0 1.636em .909em;/*[18px 0 18px 10px@11]*/
			 padding: 0; list-style: square inside; color: #235;}
body>header>ul+ul	{width: auto; margin-left: .833em;/*[10px@12]*/}
body>header>ul li	{font-size: .909em;/*[10px@11]*/ float: left; width: 4em;/*[40px@10]*/}
body>header>ul+ul li	{text-align: right;}

body>header a,		/* hyperlink colour, also colours the prev/next page links */
 body>nav~nav a		{color: #456;}


/* === content entry ===================================================================================================== */
/* no div for the column, all the content sits at the body level! `position: relative` is used so that you can click-through
   to the links in the side pane, below the main 'column' elements */
body>nav~*		{position: relative; clear: both; width: 59.166em;/*[710px@12]*/ left: 10em;/*[120px@12]*/}

/* previous page link tucks in at the top (we have to override a lot of styles from the sidepane unfortunately) */
body>nav~nav		{position: absolute; left: auto; width: 35.833em;/*[430px@12]*/ height: 1.5em;/*[18px@12]*/
			 margin: 0 0 0 21.666em;/*[260px@12]*/ padding: 1.5em 0;
			 background: none; border: 0; text-align: center;}

/* next page link at the bottom of the page, this is just in addition to the declaration above */
body>nav+*~nav		{position: relative;}

article>aside,		/* date/tag-list aside the entry */
 form>aside		{float: right; width: 9.166em;/*[110px@12]*/ margin-right: -10em;/*[-120px@12]*/}
article>aside a		{color: #047;}

/* --- datetime ---------------------------------------------------------------------------------------------------------- */
/* beautiful css dates! you’ll love the html too, `<time>` is purely semantic and could be removed
   you could use a class, I’m using a rel attribute that means "permalink" */

a[rel~=bookmark],
 a[rel~=bookmark] span	{display: block;}
a[rel~=bookmark]	{font-size: .833em;/*[10px@12]*/ width: 6em;/*[60px@10]*/ margin-bottom: 1.8em;/*[18px@10]*/
			 color: white; border: .1em solid #888885;/*[1px@10]*/ background-color: #fcfcfc;
			 -moz-border-radius: .5em; -webkit-border-radius: .5em;/*[5px@10]*/}
a[rel~=bookmark]	/* format year on the right, adds a border to fake inset the red background shade */
 >:first-child		{position: absolute; width: 5.2em;/*[52px@10]*/; padding: 0 .3em;/*[3px@10]*/
			 border: .1em solid #a33537; border-bottom: .1em solid #832a28;/*[1px@10]*/
			 line-height: 1.4em;/*[14px@10]*/ text-align: right; color: #eaa;}
a[rel~=bookmark]	/* month on the left */
 >:first-child+span	{width: 5em;/*[50px@10]*/ margin: -.1em 0 0 -.1em;/*[1px@10]*/ padding: 0 .5em;/*[5px@10]*/
			 line-height: 1.6em;/*[16px@10]*/ text-transform: uppercase; border: .1em solid #832a28;
			 background: #a33537 url('backgrounds/time-bg.png') repeat-x bottom left;}
a[rel~=bookmark]>:first-child, a[rel~=bookmark]>:first-child+span
			{-moz-border-radius-topright: .5em; -webkit-border-top-right-radius: .5em;/*[5px@10]*/
			 font-family: Verdana;}
a[rel~=bookmark]	/* day */
 >span+span+span	{font-size: 2.4em;/*[24px@10]*/ line-height: 1.375em;/*[33px@24]*/ margin: .0416em;/*[1px@24]*/
			 letter-spacing: .083em;/*[2px@24]*/ text-align: center; color: #666;
			 background: #fcfcfc url('backgrounds/h1-bg.png') repeat-x top left;}
a[rel~=bookmark] sup	{font-size: .416em;/*[10px@24]*/ padding-top: .3em;/*[3px@10]*/ letter-spacing: normal;}
a[rel~=bookmark]	/* lift the suffix, so that the number is fully centered */
 sup:not(:target)	{position: absolute;} /* `:not` is used to block out Opera 9.26 which does this wrong */
			/* time of day */
a[rel~=bookmark] sub	{font: .9em/1.777em Verdana, sans-serif;/*[9px@10/16px@9]*/ text-align: center; color: #aac;
			 display: none; height: 1.888em;/*[17px@9]*/ margin: 0 .333em;/*[3px@9]*/
			 border-top: .111em solid #bbd;/*[1px@9]*/}

/* since the date is the permalink, add a focus rectangle around it when hovering. windows renders this white, linux black */
a[rel~=bookmark]:hover	{margin-bottom: 0; text-decoration: none; outline: thin auto -webkit-focus-ring-color;
			 -moz-outline: -moz-mac-focusring solid .2em;/*[2px@10]*/
			 -moz-outline-radius: 0 .6em .6em;/*[6px@10]*/}
a[rel~=bookmark]:hover	/* show the time on mouseover */
 sub			{display: block;}

/* --- tags -------------------------------------------------------------------------------------------------------------- */
/* style shared with the side-pane tags */
aside ul, nav ol	{list-style: none; margin-left: 0;}
aside ul li, nav ol li	{font-size: .75em;/*[9px@12]*/ line-height: 2em;/*[18px@11]*/
			 font-family: "Lucida Grande", sans-serif;}

article>aside li:before	{content: '\00B7' ' '; display: inline-block; width: 1.111em;/*[10px@9]*/ text-align: center;}
article>aside ul
 li:hover:before	{content: '\25C0' ' ';}

/* --- entry footer ------------------------------------------------------------------------------------------------------ */
article footer		{margin: 1.5em -9.166em 0 0;/*[18px 110px@12]*/}
article footer p	{float: left; margin-left: 5em;/*[60px@12]*/}

/* --- licence ----------------------------------------------------------------------------------------------------------- */
article>footer small	{color: #740; font-size: 1em;/*[12px@12]*/ font-family: Helvetica, Arial, sans-serif;}
article>footer
 small+small 		{color: #457; font-size: .833em;/*[10px@12]*/ font-family: "Trebuchet MS", sans-serif;}

article>footer small a	{opacity: .65;}
article>footer
 small a:hover		{opacity: 1.0;}
article>footer abbr[title="Creative Commons"]
			{color: transparent; background: url('licences.png') no-repeat top left;}
article>footer abbr[title="Attribution"]
			{color: transparent; background: url('licences.png') no-repeat -1em top;/*[12px@12]*/}
article>footer abbr[title="Creative Commons"]+abbr
			{margin-left: 1.166em;/*[14px@12]*/}
article>footer>:first-child a
			{margin-right: .833em;/*[10px@12]*/ text-decoration: none; vertical-align: middle;}


/* =======================================================================================================================
   blog / code
   ======================================================================================================================= */
/* a blog is just a `<section>`
	<section>
		<h1>title</h1>
		content...
	</section>
*/
section, fieldset	{font: 200 1em/1.5em "Verdana", sans-serif;/*[12px@12/18px@12]*/
			 margin: 0 auto 1.5em auto;/*[18px@12]*/ border: .083em solid #888885;/*[1px@12]*/
			 -webkit-box-shadow: 0 0 1.25em rgba(0,0,0,.15);/*[15px@12]*/
			 background: #fcfcfc url('backgrounds/article-bg.png') repeat-x bottom left;}

/* the blog doesn’t have padding so that elements can touch the edge if they want to, this sets a default margin around
   all elements down the blog entry. with em-sizing, any element that inherits this, but changes its font-size, will have
   to redefine these dimensions for the new font-size */
section>*		{margin: 0 2.416em 1.5em 2.416em;/*[0 29px 18px 29px@12]*/}

/* --- headings ---------------------------------------------------------------------------------------------------------- */
/* fixme: issue in Safari, H1 is never the right height even with much forcing */
section h1		{font: 100 2.25em/1.333em Georgia, serif; color: #3b3d3f;/*[27px@12/36px@27]*/
			 margin: .037em .037em 1em .037em;/*[1px 1px 27px 1px@27]*/
			 padding: .925em .592em 0 .592em;/*[25px 16px 0 16px@27]*/
			 background: url('backgrounds/h1-bg.png') repeat-x;}

/* fancy drop-cap. firefox won’t allow any way to set a fixed width though :( */
section h1:first-letter	{float: left; min-width: 1em;/*[27px@27]*/ line-height: .666em;/*[18px@27]*/
			 margin: -.296em .111em 0 0;/*[-8px 3px@27]*/ padding: .518em .407em;/*[14px 11px@27]*/
			 border: .037em solid #fcfcfc; outline: .037em solid #e1e1e1;/*[1px@27]*/
			 color: white; text-align: center; text-shadow: 0 0 .074em rgba(0,0,0,.25);/*[2px@27]*/
			 background-color: #e57d1f;}
/* firefox will not apply outline to :first-letter, this has to be emulated with multiple border colours */
@-moz-document url-prefix() {
section h1:first-letter	{border: solid 2px !important;
			 -moz-border-top-colors:   #e1e1e1 #fcfcfc; -moz-border-bottom-colors: #e1e1e1 #fcfcfc;
			 -moz-border-right-colors: #e1e1e1 #fcfcfc; -moz-border-left-colors:   #e1e1e1 #fcfcfc;}
}

/* fixme: `<sub>` inside an `<h1>` causes a tiny line-height change */
h1 sub, h2 sub		{font-family: "Apple Chancery", "Palatino Linotype Italic", cursive;}

h2			{font: normal small-caps 1.666em/1.8em Georgia, serif;/*[20px@12/36px@20]*/
			 margin: 1.75em 1.45em .9em 1.45em;/*[35px 29px 18px 29px@20]*/
			 letter-spacing: .05em;/*[1px@20]*/ border-bottom: .05em solid black;}
h3			{font: 1.5em/1em Georgia, serif;/*[18px@12/18px@18]*/
			 margin: 0 1.611em 1em 1.611em;/*[0 29px 18px 29px@18]*/}
h4			{font: italic 1.333em/1.125em Georgia, serif;/*[16px@12/18px@16]*/
			 margin: 0 1.812em 1.125em 1.812em;/*[0 29px 18px 29px@16]*/;}
			/* both of these are [12px@12/18px@12] */
h5			{font-size: 1em; font-weight: bold; margin-bottom: 1.5em;}
h6			{font-size: 1em; font-weight: bold;}

/* lowercase `<em>`s in titles, for fancy "of", "and"'s &c. */
h1 em, h2 em		{font-variant: normal; text-transform: lowercase;}

h1+p:first-letter,	/* drop cap proceeding a title, */
 h2+p:first-letter,	/* and an `<hr />`, */
 hr+p:first-letter,	/* and a `<pre>` block */
 pre+p:first-letter 	{font: 1.5em/.666em "Apple Chancery", "Palatino Linotype Italic", cursive;/*[18px@12/12px@18]*/}

/* --- article content --------------------------------------------------------------------------------------------------- */
section p		{text-align: justify;}
section p+p		{text-indent: 2em;}
section :not(h1) sub	{font-size: 1em; font-family: Georgia, serif;}

/* `<sup>` normally extends the line-height, but we want to maintain a strict line-height of 18px throughout */
sup			{vertical-align: text-top;}

/* editor’s discretion */
ins			{text-decoration: none;}
ins:before		{content: '[';}
ins:after		{content: ']';}

/* book like `<hr />` "thematic break" */
hr			{text-align: center; color: transparent; border: 0;
			 line-height: 4.5em; height: 4.5em;/*[54px@12]*/}
hr:before		{content: '\2724' ' ' '\2724' ' ' '\2724'; color: black; word-spacing: 5em;}

/* definition list */
dt			{font-weight: bold;}
dd			{font-size: .916em;/*[11px@12]*/ text-align: justify;
			 margin-bottom: 1.636em;/*[18px@11]*/ margin-left: 3.636em;/*[40px@11]*/}

/* --- links ------------------------------------------------------------------------------------------------------------- */
section			/* links to places within my website are dotted instead of solid */
 >:not(figure) a:not(	/* `>:not(figure)` excludes screenshots/signature because they are not inside a <p/li/dd> &c. */
 [rel~="external"])	{text-decoration: none; border-bottom-style: dotted; border-bottom-width: 1px;}
section			/* external links have a standard style */
 a[rel~="external"]	{text-decoration: underline;}

section>:not(figure)	/* direct links to files, instead of webpages, are prefixed with an icon */
 a[type]		{display: inline-block; height: 17px; padding: 0 5px; text-indent: 20px; text-decoration: none;
			 background-color: #dedede; background-repeat: no-repeat; background-position: 5px 50%;
			 -moz-border-radius: 4px; -webkit-border-radius: 4px; border-bottom: 0 !important;}
section>:not(figure)
 a[type]:hover		{background-color: #eea;}

/* these icons © Mark James, <famfamfam.com/lab/icons/silk> */
section a[type]		{background-image: url("icons/page_white.png");}	/* any filetype not listed here */
section a[href$=".gif"], section a[href$=".jpg"], section a[href$=".png"]	/* pictures */
			{background-image: url("icons/page_white_picture.png");}
section a[href$=".pdf"]	{background-image: url("icons/page_white_acrobat.png");}
section a[href$=".zip"]	{background-image: url("icons/page_white_zip.png");}
section a[href$=".exe"]	{background-image: url("icons/application_xp_terminal.png");}

/* Firefox users will get their own native icons from their OS.
   I’m sure this can be done in Safari, but I don’t know how */
@-moz-document url-prefix() {
section a[type]		{background-image: url("moz-icon://.?size=16");}	/* any filetype not listed here */
section a[href$=".gif"]	{background-image: url("moz-icon://.GIF?size=16");}
section a[href$=".jpg"]	{background-image: url("moz-icon://.JPG?size=16");}
section a[href$=".png"]	{background-image: url("moz-icon://.PNG?size=16");}
section a[href$=".pdf"]	{background-image: url("moz-icon://.PDF?size=16");}
section a[href$=".zip"]	{background-image: url("moz-icon://.ZIP?size=16");}
section a[href$=".dmg"]	{background-image: url("moz-icon://.DMG?size=16");}
section a[href$=".exe"]	{background-image: url("moz-icon://.EXE?size=16");}
}

/* this loose setting of a background image affects the photo/art section,
   however it’s easier to override than lengthen all of those css selectors above */
figure>a, legend>a	{background-image: none !important;}

/* --- images ------------------------------------------------------------------------------------------------------------ */
/* images and objects at root (outside a `<p>`), are centered */
section>img		{display: block; margin: 0 auto 1.5em auto !important;/*[18px@12]*/}
/* frame images */
section>img		{background-color: white; padding: 1.416em;/*[17px@12]*/ border: .083em solid #888885;/*[1px@12]*/
			 -moz-border-radius: .666em; -webkit-border-radius: .666em;/*[8px@12]*/}

/* --- quotes ------------------------------------------------------------------------------------------------------------ */
section>blockquote	{font: 1.333em/1.125em Georgia, serif;/*[16px@12/18px@16]*/
			 margin: 2.25em 1.812em;/*[36px 29px@16]*/ padding: 1.062em 0;/*[17px@16]*/
			 border-top: .062em solid black; border-bottom: .062em solid black;/*[1px@16]*/}
section
 >blockquote:before	{font: 4.5em/.75em Verdana;/*[72px@16/54px@72]*/ content: '“'; color: #93a3b9;}
section>blockquote p	{position: relative; top: -4.812em;/*[74px@16]*/
			 padding: 1.125em 1.25em 0 1.875em;/*[18px 20px 0 30px@16]*/}
section>blockquote
 >:last-child		{margin-bottom: -4.812em;/*[-72px@16]*/}
section>blockquote	/* blockquotes are right aligned, unless there’s more than one paragraph in them */
 >:only-child		{text-align: right;}

/* --- table of contents & numbered headings ----------------------------------------------------------------------------- */
/* use an `<ol>` as the very first element in the blog entry to generate an auto numbered table of contents, plus numbers
   will be added to all the headings that have ids */
/* idea: show `<h*>` #id on mouseover */

/* the toc is floated to the left, where an introductionary paragraph can fit on the right */
h1+ol			{float: left; padding: 0 .833em 0 0;/*[10px@12]*/ margin-right: 0px !important;
			 background-color: #fcfcfc;}
			/* when a toc is reached, reset the counters used for numbering. this is recursive */
h1+ol, h1+ol ol 	{padding-left: 0; counter-reset: toc h2 h3; list-style-type: none;}
			/* add the numbering before the list items. `counters` is recursive, giving us "1.1", "1.1.1" &c. */
h1+ol li:before	 	{counter-increment: toc; content: counters(toc, '.') '. ';}
			/* shunt the first heading from the toc below the toc */
h1+ol~h2[id]		{clear: left;}

h1+ol a			{text-decoration: none;}

/* heading numbering following a toc */
h1+ol~h2[id]:before	{counter-increment: h2; content: counter(h2) '. ';}
h1+ol~h3[id]:before	{counter-increment: h3; content: counter(h2) '.' counter(h3) '. ';}

/* --- code / pre -------------------------------------------------------------------------------------------------------- */
/* for reasons unknown `<samp>` does not align correctly with the baseline and causes the line-height to increase */
/* yes, just "monospace" is correct here, it forces Macs to use Courier and Windows "Courier New" */
p samp, p code		{font: normal 1.128em/1.363em monospace;/*[11px@9.75/15px@11]*/ font-size-adjust: 0.5;}

pre			{/* 12px(1em) monospace appears as 10px in Safari, and `font-size-adjust` corrects this for Firefox*/
			 font-size: 1em; font-size-adjust: 0.45; margin: 0 0 1.5em 0;/*[18px@12]*/ padding: 0;
			 counter-reset: pre; background-color: #dedede;}
pre code		{display: block; white-space: pre-wrap;
			 margin-left: 2.4em;/*[24px@12]*/ padding-left: .416em;/*[5px@10]*/
			 border-left: 1px solid #8e8e8e;/*[1px@10]*/ background-color: #eee;}
			/* fixme: this just won’t measure right in Safari, more monospace woes */
pre code:before		{font-size: .833em;/*[10px@12]*/ line-height: 17px;/*[17px@10]*/
			 display: inline-block; width: 14px;/*[14px@10]*/ margin-left: -25px;/*[-25px@10]*/
			 margin-right: 5px; padding-right: 5px;/*[5px@10]*/ text-align: right; color: #888;
			 counter-increment: pre; content: counter(pre); background-color: #dedede;}
pre code,
 code samp, code var,
 code dfn, code q	{font-style: normal; font-family: Monaco, monospace;}
code dfn		{color: #00f;}		/* function */
code var		{color: #318495;}	/* variable */
code samp		{color: #000080;}	/* string */
code q			{color: #008000;}	/* comment */
code q:before		{content: '';}
code q:after		{content: '';}

/* --- signature --------------------------------------------------------------------------------------------------------- */
section>a[rel=contact]	{display: inline-block; text-indent: 0; text-decoration: none; color: #888885;
			 /* cursive: ffx-mac users get beautiful ligatures, windows users get comic sans by default :| */
			 font: 1.333em/3.375em "Apple Chancery", "Palatino Linotype Italic", cursive;/*[16px@12/54px@16]*/
			 /* different font size, thus [29px@12] is no longer correct in px */
			 margin-left: 1.812em;/*[29px@16]*/}
section
 >a[rel=contact]:hover	{text-decoration: underline;}


/* =======================================================================================================================
   photo / art
   ======================================================================================================================= */
/* a photo is a section, containing a `<figure>` (the enclosure)
	<h1>title</h1>
	<section>
		<figure>
			<legend>filename</legend>
			<img />
		</figure>
		content...
	</section>
*/
article>h1		{font: 1.333em/1.125em "Apple Chancery", "Palatino Linotype Italic", cursive;/*[16px@12/18px@16]*/
			 margin: 1.125em 0;/*[18px@16]*/ text-align: center; color: #446;}
			/* don’t display the title if none given */
article>h1:empty	{display: none;}

article>h1+section
 >:first-child		{margin: 0 !important; padding: 0;}
article>h1+section	{max-width: 54em;/*[648px@12]*/}
article>h1+section p+p	{text-indent: 0;}

/* the legend for photo/art contains the filename/size and appears on mouseover */
figure legend		{display: table-row; width: 100%; text-align: right; position: relative;}
figure legend a		{display: none; position: relative; float: right;
			 font: normal .916em/1.636em "Helvetica Neue", Helvetica, Arial, sans-serif;/*[11px@12/18px@11]*/
			 margin-bottom: -1.909em;/*[-21px@11]*/ padding: .272em .454em 0 .727em;/*[3px 5px 0 8px@11]*/
			 -moz-border-radius-bottomleft: .454em; -webkit-border-bottom-left-radius: .454em;/*[5px@11]*/
			 text-decoration: none; text-align: right; background-color: #eea; color: #aa5;}
figure:hover legend a	{display: block;}
/* if there is any description below the picture, add space, otherwise sit flush with the frame */
section>figure+*	{padding-top: 1.5em;/*[18px@12]*/}

article>figure section	{border: .083em solid #aac; background: white;/*[1px@12]*/}
/* the photo hyperlink. `line-height: 0` is needed to remove magic space below the <a> */
section>figure>a	{display: block; padding: .333em;/*[4px@12]*/ line-height: 0; text-align: center;}
section>figure:hover>a	{background-color: #eea;}
/* without a comment, the border fits tightly around the image, and you don’t get space */
section>figure+*	{margin-top: 1.5em;/*[18px@12]*/}


/* firefox 3 final broke `display: block` for `<legend>`, and only `table-row` would work,
   which added magic space above and took a lot of hacking to fix >:[ */
@-moz-document url-prefix() {
h1+section>figure>a	{margin-top: -.416em !important;/*[-5px@12]*/ margin-bottom: -1.083em !important;/*[-13px@12]*/}
h1+section>figure	{position: relative; top: -1.083em;/*[-13px@12]*/}
}

/* if there’s no comment, hide the signature */
section>
 figure+a[rel=contact]	{display: none;}


/* =======================================================================================================================
   tweet
   ======================================================================================================================= */
/* a tweet is just a blockquote
	<blockquote><p>
		content...
	</p></blockquote>
*/
/* multiple background image support would make this very easy, but only Safari has it */
article>blockquote	{margin: 0 3.333em;/*[40px@12]*/ border: .083em solid #888885;/*[1px@12]*/
			 background: #c3d3e7 url('backgrounds/blockquote-bg.png') repeat-x left bottom; 
			 -moz-border-radius: .416em; -webkit-border-radius: .416em;/*[5px@12]*/ 
			 -webkit-box-shadow: 0 0 1.25em rgba(0,0,0,.15);/*[15px@12]*/}

article			/* insert an ornament in the corner. todo: do this as an image, too many browsers break */
 >blockquote:before	{content: '\F09A'; font: normal 2.333em/1em Wingdings;/*[28px@12/28px@28]*/
			 color: #93a3b9; margin-left: .214em;/*[6px@28]*/}
article>blockquote p	{font: italic 1.166em/1.285em "Georgia", sans-serif;/*[14px@12/18px@14]*/ top: -2em;/*[-28px@14]*/ 
			 margin: 0 .071em -3.214em .071em;/*[0 1px -45px 1px@14]*/ position: relative;
			 padding: 1.142em 2em 1.214em 2em;/*[16px 28px 17px 28px@14]*/ color: #252e3b;
			 background: url('backgrounds/blockquote-p-bg.png') repeat-x;}
article			/* insert speech bubble "quip" underneath */
 >blockquote:after	{content: url('backgrounds/tweet-quip.png'); display: block;
			 height: 1.5em;/*[18px@12]*/ margin: 1.416em 2.5em -1.5em 0;/*[17px 30px -18px@12]*/
			 text-align: right; font-size: 100%;} /* fixme: image doesn’t scale? */

/* use ornate quotes on tweets. safari doesn’t seem to support `quotes:` so we have to use `before`, `after`.
   sorry Windows users, if you can’t handle a bit of unicode, that’s your problem, not mine */
blockquote q:before	{content: '\275B';}
blockquote q:after	{content: '\275C';}

/* emphasis in tweets (already italic) */
article>blockquote em	{text-decoration: underline;}


/* =======================================================================================================================
   poem
   ======================================================================================================================= */
/* a poem is an H1 followed by paragraphs:
	<h1>title</h1>
	<p>content</p>
	<p>...</p>
*/
article>p		{font: 1.166em/1.285em Georgia, Serif;/*[14px@12/18px@14]*/ color: #557; text-align: center;}


/* ======================================================================================================= code is art === */
