/*
 * Cascading style sheet for Cat's Eye Technologies index pages
 * (c)2011 Cat's Eye Technologies.  All rights reserved.
 * >>> used for project pages and index-type pages (tagindexes, lists, etc.) <<<
 * >>> contains infobox stuff for project pages <<<
 * >>> also used as a basis for all content pages, overridden by about.css, etc <<<
 */

/* --- PAGE LAYOUT --- */

/* Header.  Appears on project-type and index-type pages, but not on info-type pages. */

#header {
  height: 2.5em;
  background-color: black;
  background-image: url(../images/backgrounds/sineblack.png);
}

#nav {
  padding-top: 1px;
  float: right;
}
#nav p {
  margin: 0;
  text-align: right;
  padding-right: 1em;
  font-size: 90%;
}

/* Main sheet.  Appears on both info-type and project-type pages.
   Contains #header, #content, #links, and #footer. */

#main {
  margin: 0 0 0 0px;
  background-color: white;
  background-image: url(../images/backgrounds/sinewhite.png);
}

/* The content.  Goes inside #main. */

/* The bottom margin of this affects how the footer is laid
   out on info versus project pages.  Sigh.  */
#content {
  margin: 0 1em 0 1em;
  color: #386030;
}

/* darker, to look good on white */
#content a:link {
  color: #338763
}
#content a:visited {
  color: #ac9444
}
#content a:active {
  color: #00c490
}

/* Links or references.  Goes inside #main. */

#links {
  margin: 0 1em 0 1em;
  color: #386030;
}

/* darker, to look good on white */
#links a:link {
  color: #338763
}
#links a:visited {
  color: #ac9444
}
#links a:active {
  color: #00c490
}

/* Footer.  Appears on both info-type and project-type pages, but contains
   differently-laid out content in each.  This default is for info-type,
   project-type is defined in project.css.   */

#footer {
  clear: both;
  text-align: right;
  background-color: black;
  background-image: url(../images/backgrounds/sineblack.png);
  color: #90b090;
  position: relative;  /* for benefit of #validator only */
}
#footer p {
  margin: 0;
  padding: 0 0.5em 0.5em 0;
  padding-top: 1em;
  padding-left: 1em;
  font-size: 75%;
}
#footer hr {
  display: none;
}

#validator {
  position: static;
  left: 0;
  bottom: 0;
  float: right;
}

/* --- MARKUP --- */

/* ---------------- logo image ---------------- */

img#logo {
  border: 0;
  width: 320px;
  height: 31px;
  margin-left: 1em;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18pt;
}

/* ---------------- nav bar ---------------- */

.major-tag {
  font-weight: bold;
}

.minor-tag {
  font-size: 66%;
}

/* ---------------- breadcrumbs ---------------- */

span.count {
  font-size: 75%;
}

p.breadcrumbs {
  font-size: 80%;
  margin: 0;
  font-weight: bold;
  margin-bottom: 2em;
}

p.breadcrumbs > span {
  padding: 0.25em;
  background: #c0d0ff;
  border: 1px solid black;
  margin-right: 1em;
}

p.breadcrumbs span.up {
  background: #c0d0ff;
}

p.breadcrumbs span.down {
  background: #c0ffd0;
}

p.breadcrumbs span.across {
  background: #ffffd0;
}

p.breadcrumbs span a {
  margin-right: 0.5em;
}

/* --- PROJECT PAGES --- */

/* -- infobox -- */

div.prjinfo {
  float: right;

  background-color: #b0ffff;
  border: 1px solid black;

  padding: 3px;
  margin-top: -3em;
  margin-bottom: 5px;
  margin-left: 1em;
}

.prjinfo h1 {
  font-size: 133%;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.prjinfo h2 {
  font-size: 133%;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.prjinfo p {
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.prjinfo ul {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 1.5em;
}

.prjinfo table {
  margin-bottom: 0;
}

p.infoimg {
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

/* --- documentation --- */

span.generated {
  font-size: 75%;
}

/* --- filetree --- */

#browse ul {
  margin-top: 0;
  margin-bottom: 0;
  list-style-type: none;
}

#browse li {
  margin-top: 0;
  margin-bottom: 0;
}

/* --- links --- */

#links {
  padding-top: 1em;
}

#links ul {
  list-style-type: none;
}

#links table {
  margin-top: 1em;
}

/* --- PROJECT PAGES: headings --- */

/*
h1 {
	font-size: 200%;
	font-weight: normal;
	padding-top: 0.33em;
	margin-bottom: 0;
}

h2 {
	font-size: 133%;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 0.5em;
}
*/

/* --- CODE SAMPLES --- */

.sample-container {
  border: 1px dashed;
  margin-bottom: 1em;
}

.sample {
  color: black;
  background: #a0f0ff;
  padding: 1em;
  font-size: 80%;
  margin-bottom: 0;
}

.sample-input {
  background: #e0f0a0;
}

.sample-output {
  background: #e0f0a0;
}

/* --- used in about pages: --- */

p.definition {
  padding: 1em;
  border-left: 0.5em solid #ac9444;
  border-bottom: 1px solid #ac9444;
  border-top: 1px solid #ac9444;
}

.definition dfn {
  font-weight: bold;
}

.unobtrusive {
  width: 80%;
  margin-left: auto;
}

.unobtrusive blockquote {
  text-align: right;
  font-size: 66%;
  margin: 0;
}

.unobtrusive blockquote p {
  margin: 0;
  font-style: normal;
}

.topic-table td p {
  margin: 0;
}

/* --- FILTER BY TAG --- */

#filter_by_tag {
	font-size: 80%;
	float: right;
	display: none;
	margin-top: 0.5em;
}

#filter_by_tag div {
	float: left;
	margin: 2px;
}

#filter_by_tag div p {
	margin-left: 2px;
	margin-bottom: 0;
}

#filter_by_tag div select {
	width: 11em;
}

