Jump to content

User:AfroThundr3007730/JWB-diff.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* fix styles (or lack thereof) for [[WP:JWB]] diffs */
.AutoWikiBrowser #resultWindow {
    font-family: sans-serif;
    font-size: 12px;
}

.AutoWikiBrowser .diff {
    border: 0;
    border-spacing: 4px;
    margin: 0;
    width: 100%;
    table-layout: fixed
}

.AutoWikiBrowser .diff td {
    padding: 0.33em 0.5em
}

.AutoWikiBrowser .diff td.diff-marker {
    padding: 0.25em
}

.AutoWikiBrowser .diff col.diff-marker {
    width: 2%
}

.AutoWikiBrowser .diff .diff-content {
    width: 48%
}

.AutoWikiBrowser .diff td div {
    word-wrap: break-word
}

.AutoWikiBrowser .diff-title {
    vertical-align: top
}

.AutoWikiBrowser .diff-notice,
.AutoWikiBrowser .diff-multi,
.AutoWikiBrowser .diff-otitle,
.AutoWikiBrowser .diff-ntitle {
    text-align: center
}

.AutoWikiBrowser .diff-lineno {
    font-weight: bold
}

.AutoWikiBrowser td.diff-marker {
    text-align: right;
    font-weight: bold;
    font-size: 1.25em;
    line-height: 1.2
}

.AutoWikiBrowser .diff-addedline,
.AutoWikiBrowser .diff-deletedline,
.AutoWikiBrowser .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
}

.AutoWikiBrowser .diff-addedline {
    border-color: #a3d3ff
}

.AutoWikiBrowser .diff-deletedline {
    border-color: #ffe49c
}

.AutoWikiBrowser .diff-context {
    background: #f8f9fa;
    border-color: #eaecf0;
    color: #222
}

.AutoWikiBrowser .diffchange {
    font-weight: bold;
    text-decoration: none
}

.AutoWikiBrowser .diff-addedline .diffchange,
.AutoWikiBrowser .diff-deletedline .diffchange {
    border-radius: 0.33em;
    padding: 0.25em 0
}

.AutoWikiBrowser .diff-addedline .diffchange {
    background: #d8ecff
}

.AutoWikiBrowser .diff-deletedline .diffchange {
    background: #feeec8
}

.AutoWikiBrowser .diff-currentversion-title,
.AutoWikiBrowser .diff {
    direction: ltr;
    unicode-bidi: embed
}

.AutoWikiBrowser .diff-contentalign-right td {
    direction: rtl;
    unicode-bidi: embed
}

.AutoWikiBrowser .diff-contentalign-left td {
    direction: ltr;
    unicode-bidi: embed
}

.AutoWikiBrowser .diff-multi,
.AutoWikiBrowser .diff-otitle,
.AutoWikiBrowser .diff-ntitle,
.AutoWikiBrowser .diff-lineno {
    direction: ltr;
    unicode-bidi: embed
}