Add localised number listing for Oriya
[lhc/web/wiklou.git] / skins / common / 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 text-decoration: none;
33 white-space: pre-wrap;
34 white-space: -moz-pre-wrap;
35 }
36
37 table.diff {
38 border: none;
39 width: 98%;
40 border-spacing: 4px;
41
42 /* Fixed layout is required to ensure that cells containing long URLs
43 don't widen in Safari, Internet Explorer, or iCab */
44 table-layout: fixed;
45 }
46 table.diff td {
47 padding: 0;
48 }
49 table.diff col.diff-marker {
50 width: 2%;
51 }
52 table.diff col.diff-content {
53 width: 48%;
54 }
55 table.diff td div {
56 /* Force-wrap very long lines such as URLs or page-widening char strings.
57 CSS 3 draft..., but Gecko doesn't support it yet:
58 https://bugzilla.mozilla.org/show_bug.cgi?id=99457 */
59 word-wrap: break-word;
60
61 /* As fallback, scrollbars will be added for very wide cells
62 instead of text overflowing or widening */
63 overflow: auto;
64
65 /* The above rule breaks on very old versions of Mozilla due
66 to a bug which collapses the table cells to a single line.
67
68 In Mozilla 1.1 and below with JavaScript enabled, the rule
69 will be overridden with this by diff.js; wide cell contents
70 then spill horizontally without widening the rest of the
71 table: */
72 /* overflow: visible; */
73 }