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 width: 50%; 25 font-weight: normal; 26} 27.dokuwiki table.diff th a { 28 font-weight: bold; 29} 30.dokuwiki table.diff th span.user { 31 font-size: .9em; 32} 33.dokuwiki table.diff th span.sum { 34 font-size: .9em; 35 font-weight: bold; 36} 37.dokuwiki table.diff th.minor { 38 color: #999; 39} 40 41/* table body */ 42.dokuwiki table.diff td { 43 font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; 44} 45.dokuwiki table.diff td.diff-blockheader { 46 font-weight: bold; 47} 48.dokuwiki table.diff .diff-addedline { 49 background-color: #cfc; 50 color: inherit; 51} 52.dokuwiki table.diff .diff-deletedline { 53 background-color: #fdd; 54 color: inherit; 55} 56.dokuwiki table.diff td.diff-context { 57 background-color: #eee; 58 color: inherit; 59} 60.dokuwiki table.diff td.diff-addedline strong, 61.dokuwiki table.diff td.diff-deletedline strong { 62 color: #f00; 63 background-color: inherit; 64 font-weight: bold; 65} 66