/*
 * Style definition for the ZSH book
 *
 */

body {color: #231; background: #cde url("zshcov.png") center no-repeat fixed;}
h1 {border-bottom: 5px solid #a3f; text-align: center;}
h2 {
  background: url("zh2.png") left bottom no-repeat; min-height: 20px;
  padding-left: 30px; clear: both;
  counter-increment: image;
}
h3 {
  background: url("zh3.png") left center no-repeat; min-height: 20px;
  border-bottom: solid #aaa 1px; color: #a30; padding-bottom: 0.2ex;
  padding-left: 20px; clear: both;
}
p.icap {margin: 0; color: #662;}
p.icap:before {content: "По" counter(image) ":";}

p.shout {
 margin-left: 2em; font: 120% bold;
}

.c {text-align: center;}
.fl {float: left; margin: auto 1em;}
.fr {float: right; margin: auto 1em;}

p {text-indent: 1em;}
ul+p {text-indent: 0;} ul p, p.ni {text-indent: 0;}
.fr+p {padding-top: 1em;}

.list {
  background-color: #feb;
  margin-left: 5%; margin-right: 5%;
  padding: 0px 1ex; overflow: auto;
}
.list pre {margin: 0; padding: 0;}
li .list, li .screen {margin: 0.5ex;}
.list code, .pre {white-space: pre;}
.list strong {color: blue;}

.border, .border td, .border th {
	border: 1px solid; border-collapse: collapse;
        padding: 3px 4px 5px 4px;
}
.tdcfw td, .tdcfwtd {text-align: center; font-family: monospace; width: 2.5em;}
.ul {text-decoration: underline;}
.e {color: tomato; text-decoration: underline;}
.small {font-size: smaller;}

span.yellow {color: yellow;}	span.magenta {color: magenta;}
span.red {color: red;}		span.green {color: #00ff00;}
span.cyan {color: cyan;}	span.blue {color: #87ceff;}
span.b {font-weight: bold;}
var {padding-right: 0.2ex; color: green;}

// ul.topic li:first-line {background: #dec;}
ul.topic > li:first-line {background: #dec;}
.screen {
  color: white;
  background-color: #655;
  margin-left: 1%;
  border: 1px none black;
  padding: 0px 1ex;
}
.screen * {color: white;}
.screen span.uc:before {content: "% "; color: white;}
.screen span.sc:before {content: "# "; color: white;}
.screen pre {padding: 4px; color: white;}
.screen .uc, .screen .u, .screen span.sc {color: yellow;}
.screen var {color: #99ff99;}
.scroll {overflow: auto;}
div.theme {margin: 2ex 2em; padding: 0; border: 1px dotted #444}
div.theme p {margin: 0.5ex 1ex;}
.screen span.keytop {border: 1px solid #aabbee; padding: 1px; color: #ff7744;}
.screen span.cursor {border: 1px solid white;}
div.indent {margin: 0; margin-left: 1.5em;}
div.indent p {margin 0;}
