Fandom

Wikia Developers Wiki

NewDiffStyle/code.css

< NewDiffStyle

915pages on
this wiki
Add New Page
Talk0 Share
/*
/* Newer (MediaWiki 1.20+) diff style for Wikia */
 
table.diff {
    width: 100% !important;
}
 
table.diff td {
    padding: 0.33em 0.5em !important;
}
 
table.diff td > div {
    overflow: visible;
}
 
td.diff-marker {
    font-weight: bold;
    font-size: 1.25em;
    line-height: 1.2;
}
 
table.diff td.diff-marker {
    padding: 0.25em !important;
}
 
table.diff td.diff-addedline,
table.diff td.diff-deletedline,
table.diff td.diff-context {
    font-size: 88%;
    line-height: 1.6;
    vertical-align: top;
    white-space: pre-wrap;
    border-style: solid;
    border-width: 1px 1px 1px 4px;
    border-radius: 0.33em;
}
 
table.diff td.diff-addedline {
    border-color: hsla(209,100%,50%,0.36);
    background-color: transparent;
    color: #252525;
}
 
table.diff td.diff-deletedline {
    border-color: hsla(44,100%,50%,0.4);
    background-color: transparent;
    color: #252525;
}
 
table.diff td.diff-context {
    border-color: hsla(0,0%,50%,0.2);
    background-color: hsla(0,0%,0%,0.02);
    color: #333333;
}
 
.oasis-dark-theme table.diff td.diff-addedline,
.oasis-dark-theme table.diff td.diff-deletedline,
.oasis-dark-theme table.diff td.diff-context {
    color: #dbdbdb;
}
 
table.diff .diffchange {
    color: inherit;
}
 
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
    border-radius: 0.33em;
    padding: 0.25em 0;
}
 
table.diff td.diff-addedline .diffchange {
    background-color: hsla(209,100%,50%,0.16);
}
 
table.diff td.diff-deletedline .diffchange {
    background-color: hsla(42,96%,50%,0.24);
}
 
/*
*/

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.