10 /* Ensure that colums are of equal width */
15 padding: 0.33em 0.5em;
18 .diff td.diff-marker {
19 /* Compensate padding for increased font-size */
23 .diff col.diff-marker {
32 /* Force-wrap very long lines such as URLs or page-widening char strings */
33 word-wrap: break-word
;
58 white-space: -moz-pre-wrap
;
59 white-space: pre-wrap
;
61 border-width: 1px 1px 1px 4px;
62 border-radius: 0.33em;
66 border-color: #a3d3ff;
70 border-color: #ffe49c;
75 border-color: #eaecf0;
81 text-decoration: none
;
84 .diff-addedline
.diffchange
,
85 .diff-deletedline .diffchange {
86 border-radius: 0.33em;
90 .diff-addedline .diffchange {
94 .diff-deletedline .diffchange {
98 /* Correct user & content directionality when viewing a diff */
99 .diff-currentversion-title
,
105 /* @noflip */ .diff-contentalign-right td
{
110 /* @noflip */ .diff-contentalign-left td
{
119 direction: ltr
!important
; /* stylelint-disable-line declaration-no-important */
124 * Wikidiff2 rendering for moved paragraphs
127 .mw-diff-movedpara-left
,
128 .mw-diff-movedpara-right
,
129 .mw-diff-movedpara-left:visited
,
130 .mw-diff-movedpara-right:visited
,
131 .mw-diff-movedpara-left:active
,
132 .mw-diff-movedpara-right:active {
137 .mw-diff-movedpara-left:hover
,
138 .mw-diff-movedpara-right:hover {
139 text-decoration: none
;
143 .mw-diff-movedpara-left:after
,
144 .mw-diff-movedpara-right:after {
150 .mw-diff-movedpara-left:after
,
151 .rtl .mw-diff-movedpara-right:after {
155 .mw-diff-movedpara-right:after
,
156 .rtl .mw-diff-movedpara-left:after {