Localisation updates from http://translatewiki.net.
[mediawiki.git] / resources / mediawiki.action / mediawiki.action.history.diff.css
blob31ca10781cf5310cf947c8f1857a1905b06258e6
1 /*
2 ** Diff rendering
3 */
4 table.diff {
5 background-color: white;
6 border: none;
7 border-spacing: 4px;
8 margin: 0;
9 width: 100%;
10 /* Ensure that colums are of equal width */
11 table-layout: fixed;
14 table.diff td {
15 padding: 0.33em 0.5em;
18 table.diff td.diff-marker {
19 /* Compensate padding for increased font-size */
20 padding: 0.25em;
23 table.diff col.diff-marker {
24 width: 2%;
27 table.diff col.diff-content {
28 width: 48%;
31 table.diff td div {
32 /* Force-wrap very long lines such as URLs or page-widening char strings */
33 word-wrap: break-word;
36 td.diff-otitle,
37 td.diff-ntitle {
38 text-align: center;
41 td.diff-lineno {
42 font-weight: bold;
45 td.diff-marker {
46 text-align: right;
47 font-weight: bold;
48 font-size: 1.25em;
51 td.diff-addedline,
52 td.diff-deletedline,
53 td.diff-context {
54 font-size: 88%;
55 vertical-align: top;
56 white-space: -moz-pre-wrap;
57 white-space: pre-wrap;
58 border-style: solid;
59 border-width: 1px 1px 1px 4px;
60 border-radius: 0.33em;
63 td.diff-addedline {
64 border-color: #a3d3ff;
67 td.diff-deletedline {
68 border-color: #ffe49c;
71 td.diff-context {
72 background: #f9f9f9;
73 border-color: #e6e6e6;
74 color: #333333;
77 .diffchange {
78 font-weight: bold;
79 text-decoration: none;
82 td.diff-addedline .diffchange,
83 td.diff-deletedline .diffchange {
84 border-radius: 0.33em;
85 padding: 0.25em 0;
88 td.diff-addedline .diffchange {
89 background: #d8ecff;
92 td.diff-deletedline .diffchange {
93 background: #feeec8;