blob: afe92468421619f07ae930f60321c0df5c04cd4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
/*
** Diff rendering
*/
table.diff {
background-color: white;
border: none;
border-spacing: 4px;
margin: 0;
width: 100%;
/* Ensure that colums are of equal width */
table-layout: fixed;
}
table.diff td {
padding: 0.33em 0.5em;
}
table.diff td.diff-marker {
/* Compensate padding for increased font-size */
padding: 0.25em;
}
table.diff col.diff-marker {
width: 2%;
}
table.diff col.diff-content {
width: 48%;
}
table.diff td div {
/* Force-wrap very long lines such as URLs or page-widening char strings */
word-wrap: break-word;
}
td.diff-otitle,
td.diff-ntitle {
text-align: center;
}
td.diff-lineno {
font-weight: bold;
}
td.diff-marker {
text-align: right;
font-weight: bold;
font-size: 1.25em;
line-height: 1.2;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
font-size: 88%;
line-height: 1.6;
vertical-align: top;
white-space: -moz-pre-wrap;
white-space: pre-wrap;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-radius: 0.33em;
}
td.diff-addedline {
border-color: #a3d3ff;
}
td.diff-deletedline {
border-color: #ffe49c;
}
td.diff-context {
background: #f9f9f9;
border-color: #e6e6e6;
color: #333333;
}
.diffchange {
font-weight: bold;
text-decoration: none;
}
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0.33em;
padding: 0.25em 0;
}
td.diff-addedline .diffchange {
background: #d8ecff;
}
td.diff-deletedline .diffchange {
background: #feeec8;
}
|