body {
  background-color: #ffffff;
  color: #333333;
  height: 100%;
  font-family: "Century Schoolbook", "Georgia", serif;
  font-size: 12pt;
}
strong { color: #000000; }
* {
  padding: 0;
  margin: 0;
}
a {
  color: #0000cc;
  text-decoration: none;
}
p {
  line-height: 1.4em;
  margin: 0.8em 0;
}
#menu {
  z-index: 100;
  font-size: 2em;
  font-family: "arial black", arial, sans-serif;
  background: #dddddd;
  padding: 5px 0;
  overflow: hidden;
  margin-bottom: 1em;
  color: #666666;
}
#menu li {
  display: block;
  float: left;
  padding: 10px 10px 10px 0;
  border-radius: 10px;
  margin: 0 0;
}
#menu li a { color: inherit; }
#menu li.current { color: #000000; }
#menu li:hover { color: #000000; }
#menu h1#tagline {
  font-size: 0.5em;
  margin: 0.5em 0;
  width: 250px;
  float: right;
  text-align: right;
  height: 2em;
  color: inherit;
}
#menu h1#tagline strong { color: #000000; }
#menu > div {
  position: relative;
  width: 940px;
  padding: 0 10px;
  margin: 0 auto;
}
#container {
  position: relative;
  width: 940px;
  padding: 0 10px;
  margin: 0 auto;
}
#atom-link {
  position: absolute;
  top: 0;
  overflow: hidden;
  left: 0;
  width: 65px;
  height: 0;
  padding-top: 65px;
  background-image: url(http://pics.tomlea.co.uk/191936);
  opacity: 0.5;
  background-position: bottom left;
}
#atom-link:hover {
  opacity: 1;
  background-position: top left;
}
#container { padding-bottom: 5em; }
code {
  font-family: monospace;
  font-size: 0.8em;
}
code a { color: inherit; }
pre code {
  font-size: 1em;
  line-height: 1.2em;
  background: #eeeeee;
  border: 1px solid #000000;
  display: block;
  padding: 0.5em;
}
h1, h2, h3, h4 {
  font-family: "arial black", arial, sans-serif;
  font-weight: bold;
  padding: 0;
  margin: 2em 0 0 0;
  color: #000000;
}
hr {
  border: none;
  height: 0;
  background: none;
  border-bottom: 1px solid #aaaaaa;
}
.post_navigation {
  position: relative;
  padding-bottom: 2em;
}
.post_navigation a {
  position: absolute;
  display: block;
  padding: 10px 42px;
  background-image: url(/images/left-right.png);
  background-repeat: no-repeat;
  width: 300px;
  color: #cccccc;
}
.post_navigation a:hover { color: #0000ff; }
.post_navigation .next_post {
  right: 0;
  background-position: 352px 50%;
  text-align: right;
}
.post_navigation .previous_post {
  left: 0;
  background-position: -32px 50%;
  text-align: left;
}
.post {
  margin: 1em auto;
  padding: 0;
  width: 620px;
}
.post p { text-align: justify; }
.post .heading {
  font-size: 1.5em;
  padding-bottom: 0;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid #aaaaaa;
}
.post .heading .date {
  text-shadow: none;
  display: block;
  float: right;
  font-size: 0.5em;
  line-height: 4em;
  vertical-align: bottom;
  margin-top: -2px;
  color: #666666;
}
.post .heading a { color: inherit; }
.post .heading a:hover { color: #666666; }
.post .body { clear: both; }
.post .body a:hover { text-decoration: underline; }
.post .body ul { margin-left: 30px; }
.post .body ul li p { margin: 0; }
.post .body ol { margin-left: 30px; }
.post .body ol li p { margin: 0; }
.post blockquote {
  padding-left: 1em;
  border-left: 1ex solid #dddddd;
}
.post .post-image {
  float: right;
  margin: 0 0 1em 1em;
}
.post .midpage-diagram {
  text-align: center;
  margin: 2em 0;
}
.post .midpage-diagram p {
  font-size: 0.8em;
  margin: 0 25%;
  padding: 0;
  text-align: center;
}
.post .midpage-diagram img {
  border: 1px solid #aaaaaa;
  padding: 0.5em;
}
.teaser {
  margin: 1em auto;
  padding: 0;
  width: 620px;
}
.teaser p { text-align: justify; }
.teaser .heading {
  font-size: 1.5em;
  padding-bottom: 0;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid #aaaaaa;
}
.teaser .heading .date {
  text-shadow: none;
  display: block;
  float: right;
  font-size: 0.5em;
  line-height: 4em;
  vertical-align: bottom;
  margin-top: -2px;
  color: #666666;
}
.teaser .heading a { color: inherit; }
.teaser .heading a:hover { color: #666666; }
.teaser .body { clear: both; }
.teaser .body a:hover { text-decoration: underline; }
.teaser .body ul { margin-left: 30px; }
.teaser .body ul li p { margin: 0; }
.teaser .body ol { margin-left: 30px; }
.teaser .body ol li p { margin: 0; }
.teaser blockquote {
  padding-left: 1em;
  border-left: 1ex solid #dddddd;
}
.teaser .post-image {
  float: right;
  margin: 0 0 1em 1em;
}
.teaser .midpage-diagram {
  text-align: center;
  margin: 2em 0;
}
.teaser .midpage-diagram p {
  font-size: 0.8em;
  margin: 0 25%;
  padding: 0;
  text-align: center;
}
.teaser .midpage-diagram img {
  border: 1px solid #aaaaaa;
  padding: 0.5em;
}
.post { margin-bottom: 100px; }
div#main {
  text-align: center;
  font-size: 30px;
  color: #cccccc;
  padding: 10px;
  padding-top: 330px;
  margin: 0 auto;
  width: 440px;
  background: url("http://pics.tomlea.co.uk/953d55") no-repeat 50% 20px #eeeeee;
}
div#main a { text-decoration: none; }
div#main a:hover { text-decoration: underline; }
div#main h1 {
  display: inline;
  font-size: 1em;
  margin: 0;
  padding: 0;
}
div.footnotes {
  font-size: small;
  color: #666666;
  margin: 0.5em 0;
}
div.github-project {
  background: url(/shared/ruby-gem.png) no-repeat 0 50% #ffffff;
  height: 50px;
  border: 1px solid #aaaaaa;
  padding-left: 110px;
  position: relative;
  -webkit-box-shadow: #aaaaaa 0 0 5px;
  -moz-box-shadow: #aaaaaa 0 0 5px;
  box-shadow: #aaaaaa 0 0 5px;
  overflow: hidden;
}
div.github-project code {
  line-height: 50px;
  vertical-align: middle;
  font-size: 1em;
}
div.github-project code a { font-weight: bold; }
div.github-project p {
  width: 6em;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 1em;
  font-size: 0.8em;
}
div.gem {
  background: url(/shared/ruby-gem.png) no-repeat 0 50% #ffffff;
  height: 50px;
  border: 1px solid #aaaaaa;
  padding-left: 110px;
  position: relative;
  -webkit-box-shadow: #aaaaaa 0 0 5px;
  -moz-box-shadow: #aaaaaa 0 0 5px;
  box-shadow: #aaaaaa 0 0 5px;
  overflow: hidden;
}
div.gem code {
  line-height: 50px;
  vertical-align: middle;
  font-size: 1em;
}
div.gem code a { font-weight: bold; }
div.gem p {
  width: 6em;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 1em;
  font-size: 0.8em;
}
div.github-project {
  background: url(http://pics.tomlea.co.uk/55c041) no-repeat 0 50% #ffffff;
  padding-left: 50px;
}
div.github-project code { font-size: 0.9em; }
div.source-code {
  padding: 0.5em;
  margin: 1em 0;
  overflow: auto;
}
pre.mac_classic .EmbeddedSource { background-color: #0c0c0c; }
pre.mac_classic .LibraryObject {
  font-weight: bold;
  color: #6d79de;
}
pre.mac_classic .Section { font-style: italic; }
pre.mac_classic .FunctionArgumentAndResultTypes { color: #70727e; }
pre.mac_classic .TypeName { text-decoration: underline; }
pre.mac_classic .Number { color: #0000cd; }
pre.mac_classic { color: #000000; }
pre.mac_classic .MarkupList { color: #b90690; }
pre.mac_classic .MarkupTagAttribute { font-style: italic; }
pre.mac_classic .LibraryVariable {
  font-weight: bold;
  color: #21439c;
}
pre.mac_classic .line-numbers {
  background-color: #cccccc;
  color: #000000;
}
pre.mac_classic .FunctionParameter { font-style: italic; }
pre.mac_classic .MarkupTag { color: #1c02ff; }
pre.mac_classic .MarkupHeading {
  font-weight: bold;
  color: #0c07ff;
}
pre.mac_classic .JsOperator { color: #687687; }
pre.mac_classic .InheritedClassName { font-style: italic; }
pre.mac_classic .StringInterpolation { color: #26b31a; }
pre.mac_classic .MarkupQuote {
  color: #000000;
  font-style: italic;
}
pre.mac_classic .MarkupNameOfTag { font-weight: bold; }
pre.mac_classic .InvalidTrailingWhitespace { background-color: #ffd0d0; }
pre.mac_classic .LibraryConstant {
  font-weight: bold;
  color: #06960e;
}
pre.mac_classic .MarkupXmlDeclaration { color: #68685b; }
pre.mac_classic .EmbeddedEmbeddedSource { background-color: #0e0e0e; }
pre.mac_classic .PreprocessorDirective {
  font-weight: bold;
  color: #0c450d;
}
pre.mac_classic .BuiltInConstant {
  font-weight: bold;
  color: #585cf6;
}
pre.mac_classic .MarkupDtd { font-style: italic; }
pre.mac_classic .Invalid {
  background-color: #990000;
  color: #ffffff;
}
pre.mac_classic .LibraryFunction {
  font-weight: bold;
  color: #3c4c72;
}
pre.mac_classic .String { color: #036a07; }
pre.mac_classic .UserDefinedConstant {
  font-weight: bold;
  color: #c5060b;
}
pre.mac_classic .Keyword {
  font-weight: bold;
  color: #0000ff;
}
pre.mac_classic .MarkupDoctype { color: #888888; }
pre.mac_classic .FunctionName {
  font-weight: bold;
  color: #0000a2;
}
pre.mac_classic .PreprocessorLine { color: #1a921c; }
pre.mac_classic .Variable { color: #318495; }
pre.mac_classic .Comment {
  color: #0066ff;
  font-style: italic;
}

