/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/** Pygments: monokai **/
.hll { background-color: #49483e }
.c { color: #75715e } /* Comment */
.err { color: #960050; background-color: #1e0010 } /* Error */
.k { color: #66d9ef } /* Keyword */
.l { color: #ae81ff } /* Literal */
.n { color: #f8f8f2 } /* Name */
.o { color: #f92672 } /* Operator */
.p { color: #f8f8f2 } /* Punctuation */
.cm { color: #75715e } /* Comment.Multiline */
.cp { color: #75715e } /* Comment.Preproc */
.c1 { color: #75715e } /* Comment.Single */
.cs { color: #75715e } /* Comment.Special */
.ge { font-style: italic } /* Generic.Emph */
.gs { font-weight: bold } /* Generic.Strong */
.kc { color: #66d9ef } /* Keyword.Constant */
.kd { color: #66d9ef } /* Keyword.Declaration */
.kn { color: #f92672 } /* Keyword.Namespace */
.kp { color: #66d9ef } /* Keyword.Pseudo */
.kr { color: #66d9ef } /* Keyword.Reserved */
.kt { color: #66d9ef } /* Keyword.Type */
.ld { color: #e6db74 } /* Literal.Date */
.m { color: #ae81ff } /* Literal.Number */
.s { color: #e6db74 } /* Literal.String */
.na { color: #a6e22e } /* Name.Attribute */
.nb { color: #f8f8f2 } /* Name.Builtin */
.nc { color: #a6e22e } /* Name.Class */
.no { color: #66d9ef } /* Name.Constant */
.nd { color: #a6e22e } /* Name.Decorator */
.ni { color: #f8f8f2 } /* Name.Entity */
.ne { color: #a6e22e } /* Name.Exception */
.nf { color: #a6e22e } /* Name.Function */
.nl { color: #f8f8f2 } /* Name.Label */
.nn { color: #f8f8f2 } /* Name.Namespace */
.nx { color: #a6e22e } /* Name.Other */
.py { color: #f8f8f2 } /* Name.Property */
.nt { color: #f92672 } /* Name.Tag */
.nv { color: #f8f8f2 } /* Name.Variable */
.ow { color: #f92672 } /* Operator.Word */
.w { color: #f8f8f2 } /* Text.Whitespace */
.mf { color: #ae81ff } /* Literal.Number.Float */
.mh { color: #ae81ff } /* Literal.Number.Hex */
.mi { color: #ae81ff } /* Literal.Number.Integer */
.mo { color: #ae81ff } /* Literal.Number.Oct */
.sb { color: #e6db74 } /* Literal.String.Backtick */
.sc { color: #e6db74 } /* Literal.String.Char */
.sd { color: #e6db74 } /* Literal.String.Doc */
.s2 { color: #e6db74 } /* Literal.String.Double */
.se { color: #ae81ff } /* Literal.String.Escape */
.sh { color: #e6db74 } /* Literal.String.Heredoc */
.si { color: #e6db74 } /* Literal.String.Interpol */
.sx { color: #e6db74 } /* Literal.String.Other */
.sr { color: #e6db74 } /* Literal.String.Regex */
.s1 { color: #e6db74 } /* Literal.String.Single */
.ss { color: #e6db74 } /* Literal.String.Symbol */
.bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.vc { color: #f8f8f2 } /* Name.Variable.Class */
.vg { color: #f8f8f2 } /* Name.Variable.Global */
.vi { color: #f8f8f2 } /* Name.Variable.Instance */
.il { color: #ae81ff } /* Literal.Number.Integer.Long */


/** Normal stying. **/

@font-face {
    font-family: "Calluna";
    src: url(Calluna-Regular.otf);
}

@font-face {
    font-family: "Inconsolata";
    src: url(Inconsolata.otf);
}

body {
    font-weight: normal;
    color: #483318;
    width: 40em;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.5em;
    font-family: Calluna, Georgia, serif;
}

body.grid {
    background-image: url(baseline.gif);
}

/** Headings **/

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
}

section, header {
    display: block;
}

address {
    display: inline;
    font-style: normal;
}

/** Articles & Sections **/

article > header {
    margin-bottom: 1.25em;
}

section h1,
article header h1 {
    font-size: 1.75em;
    font-family: Calluna, Georgia, serif;
    color: #332411;
    margin-bottom: .25em;
}

section {
    margin-bottom: 1em;
}

article header h1 + .byline {
    line-height: 1em;
    font-size: .875em;
    color: #555;
}

article h2 {
    font-size: 1.5em;
    margin: 1em 0 .5em;
}

/** Links **/

a {
    color: #146894;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #441d7b;
}

/** Lists **/

ul, ol {
    margin: .75em 1em 1em;
}


/** Misc **/

p + p {
    margin-top: .75em;
}

code {
    font-family: Inconsolata, monospace;
}

pre {
    margin: .25em 0 .25em 2em;
    font-size: .875em;
    line-height: 16px;
    margin-left: 2em;
}

.highlight {
    margin: .75em 0;
    padding: .25em 0;
    background: #333;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;
    border-radius: .5em;
}

/** Homepage **/

#posts ul {
    list-style-type: none;
    margin: 0;
}

#projects dt {
    clear: both;
    padding-right: .25em;
}

#projects dt:after {
    content: ":";
}

#projects dt,
#projects dd {
    float: left;
}

#projects:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

footer {
    font-size: .875em;
    border-top: 2px solid #e3e3e3;
    margin-top: 2em;
}

footer ul {
    list-style-type: none;
    width: 40%;
    float: left;
}

footer ul:last-child {
    float: right;
    text-align: right;
}

a.secret {
    color: #483318;
}
