/**
 * This file provides styles for the diff view, which shows you
 * differences between two versions of a page (?do=diff).
 */

.dokuwiki table.diff {
  width: 100%;
  border-width: 0;
}
.dokuwiki table.diff th,
.dokuwiki table.diff td {
  padding: 0;
  color: #333;
  vertical-align: top;
  /* no style.ini colours because deleted and added lines have a fixed background colour */
  background-color: #fff;
  border-width: 0;
}

/* table header */
.dokuwiki table.diff th {
  font-size: 110%;
  font-weight: normal;
  border-bottom: 1px solid __border__;
}
.dokuwiki table.diff th a {
  font-weight: bold;
}
.dokuwiki table.diff th span.user {
  font-size: .9em;
}
.dokuwiki table.diff th span.sum {
  font-size: .9em;
  font-weight: bold;
}
.dokuwiki table.diff th.minor {
  color: #999;
}
.dokuwiki table.diff_sidebyside th {
  width: 50%;
}

/* table body */
.dokuwiki table.diff .diff-lineheader {
  width: .7em;
  text-align: right;
}
[dir=rtl] .dokuwiki table.diff .diff-lineheader {
  text-align: left;
}
.dokuwiki table.diff .diff-lineheader,
.dokuwiki table.diff td {
  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
}
.dokuwiki table.diff td.diff-blockheader {
  font-weight: bold;
}
.dokuwiki table.diff .diff-addedline {
  color: inherit;
  background-color: #cfc;
}
.dokuwiki table.diff .diff-deletedline {
  color: inherit;
  background-color: #fdd;
}
.dokuwiki table.diff td.diff-context {
  color: inherit;
  background-color: #eee;
}
.dokuwiki table.diff td.diff-addedline strong,
.dokuwiki table.diff td.diff-deletedline strong {
  font-weight: bold;
  color: #f00;
  background-color: inherit;
}
