@charset "UTF-8";
@import url(reset.css);

/* COLORS */

body { color: black; background-color: #fff; }
a { text-decoration: underline; color: black; }
a:visited { text-decoration: none; color: #039; }
a:hover { text-decoration: underline; color: #039; }
a:active { position: relative; top: 1px; }
#content a:focus { background-color: #eef; }
#header a { text-decoration: none; color: inherit; }
#header a:hover { text-decoration: underline; }
#footer a { text-decoration: underline; }

#header { 
	background-color: #69c; 
	border-bottom: 4px solid #9cf;
	color: #fff; }

#content code,
#content pre { background-color: #eef; }

#content h1,
#content h2,
#content h3 { color: #039; }

#card { border: 1px solid #000; border-width: 1px 0; }
#card a img { border-width: 0; }

html,
#footer { background-color: #9cf; }

#content .meta { color: #777; }

/* TEXT */

body { font-size: 10pt; line-height: 1.5em; }

#content { line-height: 1.8em; }

dt, strong, th, samp, dfn, h3, h4 { font-weight: bold; }
em, blockquote, q { font-style: italic; }
blockquote cite, q cite,
blockquote em, q em { font-style: normal; }

#content h1,
#content h2 {  font-weight: bold; margin-top: 1.4em; }
#content #card h1 { margin-top: 0; }

#content .meta { font-size: 0.9em; }

#feedlink { font-size: 0.8em; }

#footer { text-align: center; }

#content .date { font-variant: small-caps; }

/* POSITIONING */ 
#header { 
	padding: 2px 10px;
	height: 2em; 
	line-height: 2em; }
#header hr { display: none; }
#searchbox { float: right; }

#disqus_thread,
#content { 
	position: relative;
	margin: 1em auto 0 auto; 
	width: 35em; max-width: 90%;
}
#content ul+p,
#content p+ul,
#content blockquote+ul,
#content ul+blockquote,
#content ol+p,
#content p+ol,
#content pre+p,
#content p+pre,
#content blockquote+p,
#content p+p { margin-top: 1.4em; }

#content blockquote,
#content ol,
#content pre,
#content ul { margin-left: 1.4em; }
#content ul { list-style-type: circle; }
#content ol { list-style-type: decimal; }

#content pre { overflow: auto; padding-left: 0.2em; }

#content img { max-width: 100%; }

#content .thanks { margin: 3em 0 0 0; }

#content #signed { margin: 2em 0; text-align: right; }

#feedlink { text-align: right; }
.meta:before { content: " \2053 "; }

#card { padding: 2px; width: 30em; margin: 2em auto; }
#card img { vertical-align: middle; }
#card img.portrait { float: left; margin-right: 4px; }
#card:after { /* clearfix trick */
	content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#footer { padding: 1em 0 100px 0; }

.social { display: none; }
.social:visited { display: inline; }
.social img { vertical-align: middle; }

/* FONTS */

html, body, table, textarea, input {
	font-family: Frutiger, Univers, "Helvetica Neue", Calibri, Arial, Helvetica, "Liberation Sans", sans-serif; }

#content .thanks { font-style: italic; }

pre, code, samp, kbd, 
var, input[type="password"] {
	font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Consolas, Monaco, "Liberation Mono", Andale Mono, monospace; 
	font-size: 0.9em; }

/* SPECIALS */ 
#content >p:first-child:first-letter { 
	font-size: 1.6em; }

#content .corepoint {
	display: block;
	margin-left: 0.75em;
	font-size: 1.9em;
	letter-spacing: -0.02em;
	line-height: 1.2em; }

#footer div { display: inline-block; width: 20em; vertical-align: top; }

/* tumblr inclusion */

ol.tumblr_posts li { list-style-type: none; }
ol.tumblr_posts li { margin-top: 1em; }
ol.tumblr_posts .tumblr_source { width: 68%; margin-left: auto; }
ol.tumblr_posts .tumblr_quote { font-size: 2em; line-height: 1em; text-align: left; }

@font-face { 
	font-family: "FertigoPro";
	src: url(webfonts/Fertigo_PRO.otf) format("opentype");
}

ol.tumblr_posts .tumblr_quote { 
	text-shadow: #ccc 2px 2px 4px; 
	font-family: "FertigoPro", sans-serif; }

@font-face { 
	font-family: "Museo";
	src: url(webfonts/Museo500-Regular.otf) format("opentype");
}

ol.tumblr_posts .tumblr_link_post { 
	text-shadow: #bbb 1px 1px 1px; 
	font-family: "Museo", sans-serif; }

@media print {
	#searchbox,
	#footer { display: none; }

	html { background-color: #fff; }

	a,
	a:visited { color: #000; text-decoration: none; }

	#content { width: 95%; line-height: 1.6em; }
}

/* Disqus inclusion */

#disqus_thread .dsq-item-trackback,
#disqus_thread .dsq-options,
#disqus_thread .dsq-brlink,
#disqus_thread .dsq-item-cp,
#disqus_thread .dsq-by,
#disqus_thread #dsq-add-new-comment,
#disqus_thread h3.dsq-h3-trackbacks,
#disqus_thread h3.dsq-h3-trackbacks + p { display: none; }

#disqus_thread .dsq-options,
#disqus_thread #dsq-comments-count { display: inline; }

#disqus_thread .dsq-auth-header { margin-top: 3em; }

#disqus_thread #post-choices { text-align: right; }

#disqus_thread #dsq-comments .dsq-moderator { background-color: #ffe; }

/* Vim syntax highlighting export support */

.vim-export .Comment { color: #555; }
.vim-export .Constant { color: #070; }
.vim-export .PreProc,
.vim-export .Type { color: #700; }
.vim-export .Statement { color: #113; }
