1/**
2 * This file provides styles for the diff view, which shows you
3 * differences between two versions of a page (?do=diff).
4 */
5
6.dokuwiki table.diff {
7  width: 100%;
8  border-width: 0;
9}
10.dokuwiki table.diff th,
11.dokuwiki table.diff td {
12  padding: 0;
13  color: #333;
14  vertical-align: top;
15  /* no style.ini colours because deleted and added lines have a fixed background colour */
16  background-color: #fff;
17  border-width: 0;
18}
19
20/* table header */
21.dokuwiki table.diff th {
22  font-size: 110%;
23  font-weight: normal;
24  border-bottom: 1px solid __border__;
25}
26.dokuwiki table.diff th a {
27  font-weight: bold;
28}
29.dokuwiki table.diff th span.user {
30  font-size: .9em;
31}
32.dokuwiki table.diff th span.sum {
33  font-size: .9em;
34  font-weight: bold;
35}
36.dokuwiki table.diff th.minor {
37  color: #999;
38}
39.dokuwiki table.diff_sidebyside th {
40  width: 50%;
41}
42
43/* table body */
44.dokuwiki table.diff .diff-lineheader {
45  width: .7em;
46  text-align: right;
47}
48[dir=rtl] .dokuwiki table.diff .diff-lineheader {
49  text-align: left;
50}
51.dokuwiki table.diff .diff-lineheader,
52.dokuwiki table.diff td {
53  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
54}
55.dokuwiki table.diff td.diff-blockheader {
56  font-weight: bold;
57}
58.dokuwiki table.diff .diff-addedline {
59  color: inherit;
60  background-color: #cfc;
61}
62.dokuwiki table.diff .diff-deletedline {
63  color: inherit;
64  background-color: #fdd;
65}
66.dokuwiki table.diff td.diff-context {
67  color: inherit;
68  background-color: #eee;
69}
70.dokuwiki table.diff td.diff-addedline strong,
71.dokuwiki table.diff td.diff-deletedline strong {
72  font-weight: bold;
73  color: #f00;
74  background-color: inherit;
75}
76