p.meta img { vertical-align: middle; }
div.photo img { margin: 1em 0 1em 0; }
ul.popular-links li { margin-bottom: 1ex; }
div.slide { text-align: center; }
div.slide img { padding: 5px; border: solid 1px #888; }
.footnote { font-size: smaller; }                    
.typedin { font-weight: bold; }

div.post { 
  font-size: 112%;  /* undo earlier 80%, restoring user's size */
  overflow: hidden; /* clip overflow to give sidebar room */
}


div.post h1,
div.post h2,
div.post h3,
div.post h4,
div.post h5,
div.post h6 {
  margin-bottom: 1ex; line-height: 1.2em;
  font-family: 'Droid Sans', 'Bitstream Vera Sans', sans-serif, serif; 
}

/* haskell source-code colors to match Emacs haskell-mode faces */

code.typocode_haskell .keyglyph {color: #b8860b;}
code.typocode_haskell .keyword {color: #a020f0;}
code.typocode_haskell .comment,
code.typocode_haskell .comment a {color: #b22222;}
code.typocode_haskell .str,
code.typocode_haskell .chr {color: #bc8f8f;}
code.typocode_haskell .conid {color: #228b22;}


/* ruby source-code colors */

code.typocode_ruby .normal {}
code.typocode_ruby .comment { color: #005; font-style: italic; }
code.typocode_ruby .keyword { color: #a020f0; }
code.typocode_ruby .method { color: #077; }
code.typocode_ruby .class { color: #074; }
code.typocode_ruby .module { color: #050; }
code.typocode_ruby .punct { color: #447; /* font-weight: bold; */ }
code.typocode_ruby .symbol { color: #099; }
code.typocode_ruby .string { color: #bc8f8f; /* #944; */ }
code.typocode_ruby .char { color: #F07; }
code.typocode_ruby .ident { color: #004; }
code.typocode_ruby .constant { color: #07F; }
code.typocode_ruby .regex { color: #B66; }
code.typocode_ruby .number { color: #D55; }
code.typocode_ruby .attribute { color: #377; }
code.typocode_ruby .global { color: #3B7; }
code.typocode_ruby .expr { color: #227; }


/* XML source-code colors */

code.typocode_xml .normal {}
code.typocode_xml .namespace { color: #B66; /* font-weight: bold; */ }
code.typocode_xml .tag { color: #F88; }
code.typocode_xml .comment { color: #005; font-style: italic; }
code.typocode_xml .punct { color: #447; /* font-weight: bold; */ }
code.typocode_xml .string { color: #944; }
code.typocode_xml .number { color: #F99; }
code.typocode_xml .attribute { color: #BB7; }


/* YAML source-code colors */

code.typocode_yaml .normal {}
code.typocode_yaml .document { font-weight: bold; color: #07F; }
code.typocode_yaml .type { font-weight: bold; color: #05C; }
code.typocode_yaml .key { color: #F88; }
code.typocode_yaml .comment { color: #005; font-style: italic; }
code.typocode_yaml .punct { color: #447; /* font-weight: bold; */ }
code.typocode_yaml .string { color: #944; }
code.typocode_yaml .number { color: #F99; }
code.typocode_yaml .time { color: #F99; }
code.typocode_yaml .date { color: #F99; }
code.typocode_yaml .ref { color: #944; }
code.typocode_yaml .anchor { color: #944; }

