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 vertical-align: top; 13 padding: 0; 14 border-width: 0; 15 /* no style.ini colours because deleted and added lines have a fixed background colour */ 16 background-color: #fff; 17 color: #333; 18} 19 20/* table header */ 21.dokuwiki table.diff th { 22 border-bottom: 1px solid __border__; 23 font-size: 110%; 24 font-weight: normal; 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 background-color: #cfc; 60 color: inherit; 61} 62.dokuwiki table.diff .diff-deletedline { 63 background-color: #fdd; 64 color: inherit; 65} 66.dokuwiki table.diff td.diff-context { 67 background-color: #eee; 68 color: inherit; 69} 70.dokuwiki table.diff td.diff-addedline strong, 71.dokuwiki table.diff td.diff-deletedline strong { 72 color: #f00; 73 background-color: inherit; 74 font-weight: bold; 75} 76