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

/* COLORS */

body { color: #000; background-color: #fff; }
a { text-decoration: underline; color: #000; }
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; }
#toc a { text-decoration: none; color: inherit; }
#toc a:hover { background-color: yellow; }
#footer a { text-decoration: underline; }

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

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

#content .meta { color: #777; }

hr { border-color: #000; }

#navigation { margin-bottom: 1em; }

/* TEXT */

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

#header h1,
#header .author,
blockquote cite, q cite,
blockquote em, q em { font-style: normal; }

#content #hello h1 { margin-top: 0; }

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

#feedlink { font-size: 0.8em; }

div.separator { text-align: center; }

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

/* POSITIONING */
#header h1 { padding-top: 30px; }

#header,
#footer,
#disqus_thread,
#content {
   margin-left: 10px;
	position: relative;
	width: 30em; max-width: 90%;
}
#content { margin-top: 1em; }
#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: 12pt; }

#content blockquote,
#content ol,
#content pre,
#content ul { margin-left: 1.4em; }
#content ul { list-style-type: circle; }
#content ol { list-style-type: decimal; }
ul#toc { list-style-type: none; margin-left: 0; }
#toc li:before { content: "▹ "; }

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

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

#content h1,
#content h2 { margin-top: 1.4em; }

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

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

#content .meta { margin-left: 2em; }

#feedlink { text-align: right; }

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

hr { width: 33%; margin: 2em auto; }

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

#searchbox input[type=search] { width: 100%; }

/* FONTS */

@font-face { 
	font-family: "Permanent Marker";
	src: url(webfonts/PermanentMarker.ttf) format("truetype");
}

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700);

html, body, table, textarea, input {
	font-family: "Open Sans", sans-serif;
}

#toc,
#content >p:first-child:first-letter,
#content h1, #content h2,
dt, strong, th, samp, dfn, h3, h4 { font-weight: bold; }

em, blockquote, q,
#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; }

#header h1,
div.separator,
#toc {
   font-family: "Open Sans", sans-serif;
   font-size: 3em;
   line-height: 1.2em;
}

#toc { text-transform: uppercase; }

/* SPECIALS */
input[type="search"] { -webkit-appearance: textfield; } /* Safari fix */

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

#subtext,
#searchbox { display: block; width: 13.8em; float: left; margin: 0.5em; }

#navigation a { margin-right: 1em; }

/* 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 {
	#footer { display: none; }

	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; }

