
/*
  gollum.css

  Styles for other pages.
*/

/* @section core */
@media all and (min-width: 940px) {
  #footer .actions {
    margin: 0;
  }
}


/* @section history */
.history h1 {
  color: #999;
  font-weight: normal;
}

.history h1 strong {
  color: #000;
  font-weight: bold;
}

#wiki-history {
  margin: 2em 1em 0 1em;
}

#wiki-history fieldset {
  border: 0;
  margin: 1em 0;
  padding: 0;
}

#wiki-history table, #wiki-history tbody {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

#wiki-history table tr {
  padding: 0;
  margin: 0;
}

#wiki-history table tr {
  background-color: #ebf2f6;
}

#wiki-history table tr td {
  border-top: 1px solid #c0dce9;
  border-bottom: 1px solid #c0dce9;
  font-size: 1em;
  line-height: 1.6em;
  margin: 0;
  padding: 0.3em 0.7em;
}

#wiki-history table tr td.checkbox {
  width: auto;
  padding: 0 0.2em 0 0;
}

#wiki-history table tr td.checkbox input {
  cursor: pointer;
  display: block;
  padding-right: 0;
  padding-top: 0.4em;
  margin: 0 auto;
  width: 1.2em;
  height: 1.2em;
}

#wiki-history table tr:nth-child(2n),
#wiki-history table tr.alt-row {
  background-color: #f3f7fa;
}

#wiki-history table tr.selected {
  background-color: #ffffea !important;
  z-index: 100;
}

#wiki-history table tr td.commit-name {
  border-left: 0;
}

#wiki-history table tr td.commit-name span.time-elapsed {
  color: #999;
}

#wiki-history table tr td.author {
  width: 20%;
}

#wiki-history table tr td.author a {
  color: #000;
  font-weight: bold;
}

#wiki-history table tr td.author a span.username {
  display: block;
  padding-top: 3px;
}

#wiki-history table tr td img {
  background-color: #fff;
  border: 1px solid #999;
  display: block;
  float: left;
  height: 18px;
  overflow: hidden;
  margin: 0 0.5em 0 0;
  width: 18px;
  padding: 2px;
}

#wiki-history table tr td.commit-name a {
  font-size: 0.9em;
  font-family: 'Monaco', 'Andale Mono', Consolas, 'Courier New', monospace;
  padding: 0 0.2em;
}

.history #footer {
  margin-bottom: 7em;
}

.history #wiki-history ul.actions li,
.history #footer ul.actions li {
  margin: 0 0.6em 0 0;
}

@media all and (min-width: 940px) {
  #wiki-history {
    margin: 2em 0 0 0;
  }

  #wiki-history table tr td {
    border: 1px solid #c0dce9;
    font-size: 1em;
    line-height: 1.6em;
    margin: 0;
    padding: 0.3em 0.7em;
  }

  #wiki-history table tr td.checkbox {
    width: 4em;
    padding: 0.3em;
  }
}

/* @section edit */
.edit h1 {
  color: #999;
  font-weight: normal;
}

.edit h1 strong {
  color: #000;
  font-weight: bold;
}


/* @section search */

.results h1 {
  color: #999;
  font-weight: normal;
}

.results h1 strong {
  color: #000;
  font-weight: bold;
}

.results #results {
  border-bottom: 1px solid #ccc;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 2em;
  padding-bottom: 2em;
}

.results #results ul {
  margin: 2em 0 0 0;
  padding: 0;
}

.results #results ul li {
  list-style: none;
  padding: 0.2em 0;
}

.results #results ul li a {
  word-wrap: break-word;
}

@media all and (min-width: 640px) {
  .results #results ul li {
    font-size: 1.2em;
  }
}

@media all and (min-width: 940px) {
  .results #results {
    margin-left: 0;
    margin-right: 0;
  }

  .results #results ul li {
    list-style: disc;
    list-style-position: outside;
    line-height: 1.6em;
  }
}

.results #results ul li span.count {
  color: #999;
}

.results p#no-results {
  font-size: 1.2em;
  line-height: 1.6em;
  margin-top: 2em;
}

.results #footer ul.actions li {
  margin: 0 1em 0 0;
}


/* @section compare */
.compare h1 {
  color: #999;
  font-weight: normal;
}

.compare h1 strong {
  color: #000;
  font-weight: bold;
}

.compare #compare-content {
  margin-top: 3em;
}

.compare .data {
  border: 1px solid #ddd;
  margin: 1em 0 2em;
  overflow: auto;
}

.compare .data table {
  width: 100%;
}

.compare .data pre {
  margin: 0;
  padding: 0;
}

.compare .data pre div {
  padding: 0 0 0 1em;
}

.compare .data tr td {
  font-family: "Consolas", "Monaco", "Andale Mono", "Courier New", monospace;
  font-size: 1.2em;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
}

.compare .data tr td + td + td {
  width: 100%;
}

.compare .data td.line_numbers {
  background: #f7f7f7;
  border-right: 1px solid #999;
  color: #999;
  padding: 0 0 0 0.5em;
}

.compare #compare-content ul.actions li,
.compare #footer ul.actions li {
  margin-left: 0;
  margin-right: 0.6em;
}

.compare #footer {
  margin-bottom: 7em;
}

/* @control syntax */
.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic }
.highlight .err { color: #a61717; background-color: #e3d2d2 }
.highlight .k { font-weight: bold }
.highlight .o { font-weight: bold }
.highlight .cm { color: #999988; font-style: italic }
.highlight .cp { color: #999999; font-weight: bold }
.highlight .c1 { color: #999988; font-style: italic }
.highlight .cs { color: #999999; font-weight: bold; font-style: italic }
.highlight .gd { color: #000000; background-color: #ffdddd }
.highlight .gd .x { color: #000000; background-color: #ffaaaa }
.highlight .ge { font-style: italic }
.highlight .gr { color: #aa0000 }
.highlight .gh { color: #999999 }
.highlight .gi { color: #000000; background-color: #ddffdd }
.highlight .gi .x { color: #000000; background-color: #aaffaa }
.highlight .gc { color: #999; background-color: #EAF2F5 }
.highlight .go { color: #888888 }
.highlight .gp { color: #555555 }
.highlight .gs { font-weight: bold }
.highlight .gu { color: #aaaaaa }
.highlight .gt { color: #aa0000 }


/* @special error */
#wiki-wrapper.error {
  height: 1px;
  position: absolute;
  overflow: visible;
  top: 50%;
  width: 100%;
}

#error {
  background-color: #f9f9f9;
  border: 1px solid #e4e4e4;
  left: 50%;
  overflow: hidden;
  padding: 2%;
  margin: -10% 0 0 -35%;
  position: absolute;
  width: 70%;

  border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
}

#error h1 {
  font-size: 3em;
  line-height: normal;
  margin: 0;
  padding: 0;
}

#error p {
  font-size: 1.2em;
  line-height: 1.6em;
  margin: 1em 0 0.5em;
  padding: 0;
}

/* @section pages */

#pages {
  font-size: 1.2em;
  margin: 0 1em 20px 1em;
}

@media all and (min-width: 940px) {
  #pages {
    margin: 0 0 20px 0;
  }
}

#pages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#pages li a.file,
#pages li a.folder {
    background-image: url(../images/fileview/document.png);
    background-position: 0 1px;
    background-repeat: no-repeat;
    padding-left: 20px;
}

#pages li a.folder {
    background-image: url(../images/fileview/folder-horizontal.png);
}

#pages .breadcrumb {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 1em 0;
  padding: 0.25em;
}
