body {
    font-family: verdana, helvetica, sans serif;
    background-color: white;
    color: #111;
    padding: 0;
    margin: 0;
}

#site-title { font-size: 2.1em }
#site-footer { font-size: 1.4em }

nav ul {
    list-style-type: none;
    margin: 0px 0px;
    padding-left: 0px;
}

/* Nav list on the home page is aa block list */
#home nav ul li { display: block; font-size: 1.4em; }

/* Nav list elsewhere is an inline list */
#header nav ul li { display: inline; font-size: 1.4em; }

/* frame and subframe position the main block of content */
.frame {
    padding: 0px 5px;
    margin: 0;
}

/* main column, stays centered, doesn't get too wide, and moves downard as the page gets wider */
.subframe {
    width: 100%;
    max-width: 600px;
    margin: auto auto;
    padding-top: 10%;
}

.subframe img {
    max-width: 600px;
}

.light { color: #666; }
.faint { color: #EFEFEF; }

a:link    { color: black; text-decoration: underline; }
a:hover   { color: black; text-decoration: underline; }
a:visited { color: black;                             }

h1 a { color: inherit !important }
h2 a { color: inherit !important }
h3 a { color: inherit !important }
h4 a { color: inherit !important }
h5 a { color: inherit !important }
h6 a { color: inherit !important }

h1 { font-size: 2.1em; font-weight: normal; }
h2 { font-size: 1.4em; font-weight: normal; }
h3 { font-size: 1.0em; font-weight: normal; }
h4 { font-size: 0.5em; font-weight: normal; }
h5 { font-size: 0.5em; font-weight: normal; }
h6 { font-size: 0.5em; font-weight: normal; }

/* header link formatting */
#header nav li a:link, #header nav li a:hover, #header nav li a:visited { color: #999; }
#header .active a:link, #header .active a:hover, #header .active a:visited { color: black; }
#header a:link, #site-title a:link, nav a:link { text-decoration: none; }

#post-list {
    padding-left: 0px;
    margin-bottom: 1em;
    margin-top: 1em;
    list-style-type: none;
}

/* Add some space between projects */
#post-list article.project {
    padding-bottom: 5em;
}

/* Project/Article formatting */
.project header, .article header { position: relative; }
.project .project-published, .article .article-published {
    position: absolute;
    top: 3px;
    right: 0px;
    color: #999;
}

/* Keeps iframes the same aspect ratio as they scale. */
.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 51%;
}

.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
}

/* Code blocks formatted with pygments */
pre {
    margin: 2em 1em 2em 4em;
}

/* Pygments Murphy */
.highlight .hll { background-color: #ffffcc }
.highlight  { background: #ffffff; }
.highlight .c { color: #666666; font-style: italic } /* Comment */
.highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
.highlight .k { color: #228899; font-weight: bold } /* Keyword */
.highlight .o { color: #333333 } /* Operator */
.highlight .cm { color: #666666; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #557799 } /* Comment.Preproc */
.highlight .c1 { color: #666666; font-style: italic } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #228899; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #228899; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #228899; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #0088ff; font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: #228899; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #6666ff; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #6600EE; font-weight: bold } /* Literal.Number */
.highlight .s { background-color: #e0e0ff } /* Literal.String */
.highlight .na { color: #000077 } /* Name.Attribute */
.highlight .nb { color: #007722 } /* Name.Builtin */
.highlight .nc { color: #ee99ee; font-weight: bold } /* Name.Class */
.highlight .no { color: #55eedd; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #880000 } /* Name.Entity */
.highlight .ne { color: #FF0000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #55eedd; font-weight: bold } /* Name.Function */
.highlight .nl { color: #997700; font-weight: bold } /* Name.Label */
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #007700 } /* Name.Tag */
.highlight .nv { color: #003366 } /* Name.Variable */
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #6600EE; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #6666ff; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
.highlight .sb { background-color: #e0e0ff } /* Literal.String.Backtick */
.highlight .sc { color: #8888FF } /* Literal.String.Char */
.highlight .sd { color: #DD4422 } /* Literal.String.Doc */
.highlight .s2 { background-color: #e0e0ff } /* Literal.String.Double */
.highlight .se { color: #666666; font-weight: bold; background-color: #e0e0ff } /* Literal.String.Escape */
.highlight .sh { background-color: #e0e0ff } /* Literal.String.Heredoc */
.highlight .si { background-color: #eeeeee } /* Literal.String.Interpol */
.highlight .sx { color: #ff8888; background-color: #e0e0ff } /* Literal.String.Other */
.highlight .sr { color: #000000; background-color: #e0e0ff } /* Literal.String.Regex */
.highlight .s1 { background-color: #e0e0ff } /* Literal.String.Single */
.highlight .ss { color: #ffcc88 } /* Literal.String.Symbol */
.highlight .bp { color: #007722 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #ccccff } /* Name.Variable.Class */
.highlight .vg { color: #ff8844 } /* Name.Variable.Global */
.highlight .vi { color: #aaaaff } /* Name.Variable.Instance */
.highlight .il { color: #6666ff; font-weight: bold } /* Literal.Number.Integer.Long */
