Undo browser defaults (underline/strike) for the <del> and <ins> DairikiDiff inserts...
[lhc/web/wiklou.git] / resources / mediawiki.action / mediawiki.action.history.diff.css
1 /*
2 ** Diff rendering
3 */
4 table.diff, td.diff-otitle, td.diff-ntitle {
5 background-color: white;
6 }
7 td.diff-otitle,
8 td.diff-ntitle {
9 text-align: center;
10 }
11 td.diff-marker {
12 text-align: right;
13 }
14 td.diff-lineno {
15 font-weight: bold;
16 }
17 td.diff-addedline {
18 background: #cfc;
19 font-size: smaller;
20 }
21 td.diff-deletedline {
22 background: #ffa;
23 font-size: smaller;
24 }
25 td.diff-context {
26 background: #eee;
27 font-size: smaller;
28 }
29 .diffchange {
30 color: red;
31 font-weight: bold;
32 white-space: -moz-pre-wrap;
33 white-space: pre-wrap;
34 text-decoration: none;
35 }
36
37 table.diff {
38 border: none;
39 width: 98%;
40 border-spacing: 4px;
41
42 /* Ensure that colums are of equal width */
43 table-layout: fixed;
44 }
45 table.diff td {
46 padding: 0;
47 }
48 table.diff col.diff-marker {
49 width: 2%;
50 }
51 table.diff col.diff-content {
52 width: 48%;
53 }
54 table.diff td div {
55 /* Force-wrap very long lines such as URLs or page-widening char strings.*/
56 word-wrap: break-word;
57
58 /* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very wide cells
59 instead of text overflowing or widening */
60 overflow: auto;
61 }