/* tell older browsers about things they have to know when styling html5 */

nav, section, article {display:block;}

/* end html5 stuff */

html,body {background-color:white; color:black; font-family:sans-serif;} /* as i set the bg color for code, i also have to set the other colors. */
code, .literal-block, .docutils.literal {background-color:#DDD;} /* .literal-block and .docutils.literal is for styling docutils generated pages */
pre>code {display:block;}

h1.title {text-align:center;}

var {font-style:normal; font-family:monospace; color:navy;}

p.signature {text-align:right}

/* * {outline:1px solid red} */

nav section {float:left; width:45%; min-width:20em; padding:0.5em;}
nav section dl dt {margin-top:0.5em;}

article {clear: both;}

.rightside {float: right; clear:both;}
.blackborder {border:thin solid black;}

/* syntax highlighting in blog */
.highlight {max-height: 20em; overflow:auto;}


/* more docutils specifics */

div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
  margin: 2em ;
  border: medium outset ;
  padding: 1em }

div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
  font-weight: bold ;
  font-family: sans-serif }

div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title {
  color: red ;
  font-weight: bold ;
  font-family: sans-serif }

div.figure { margin-left: 2em; margin-right: 2em; }
div.figure p.caption { font-style:italic; }

div.contents { border:thin solid black; float:right; width: 30%; min-width: 20em; max-width: 90%; margin:1em; }
div.contents p.topic-title { font-weight:bold; padding-left: 1em; }
a.toc-backref { text-decoration: none; color: inherit; }

