.diff{overflow:auto;} .diff ul{background:#fff;overflow:auto;font-size:13px;list-style:none;margin:0;padding:0;display:table;width:100%;} .diff del, .diff ins{display:block;text-decoration:none;} .diff li{padding:0; display:table-row;margin: 0;height:1em;} .diff li.ins{background:#dfd; color:#080} .diff li.ins ins{background:#dfd; color:#080} .diff li.del{background:#fee; color:#b00} .diff li:hover{background:#ffc} /* try 'whitespace:pre;' if you don't want lines to wrap */ .diff del, .diff ins, .diff span{white-space:pre-wrap;font-family:courier;} .diff del strong{font-weight:normal;background:#fcc;} .diff ins strong{font-weight:normal;background:#9f9;} .diff li.diff-comment { display: none; } .diff li.diff-block-info { background: none repeat scroll 0 0 gray; } span.diff-html-removed { background: #fcc; /* text-decoration: line-through; */ cursor: default; } span.diff-html-added { background: #9f9; cursor: default; } span.diff-html-changed { border-bottom: dotted 2px red; cursor: default; } [changetype="diff-added-image"] { border: dotted 2px #9f9; } [changetype="diff-removed-image"] { border: dotted 2px #fcc; }