MediaWiki:Common.css/src/system/Special/Diff.scss
< MediaWiki:Common.css | src
Jump to navigation
Jump to search
This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.
Ancestors: / src / system / Special / Diff.scss
Siblings: AllMessages.scss ApiSandbox.scss Contribs.scss CreateAccount.scss Diff.scss NewPages.scss Preferences.scss Search.scss Upload.scss UserLogin.scss
Children: (none)
/********* [[Special:Diff]] *********/
/* Diff rendering */
/* overwriting styles from here:
* https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.diff.styles/diff.less */
/* Add diff accent to make even smaller changes visible */
.diffchange-inline {
border: 1px var(--theme-alert-color) dashed;
}
/* More noticeable diff coloring */
.diff td.diff-context {
background: none repeat scroll 0 0 transparent;
color: var(--theme-text-color);
border-color: rgba(var(--theme-border-color--rgb), 0.5);
}
.diff td.diff-deletedline {
background-color: #FFE49C;
border-color: #FFE49C;
color: #000;
}
.diff td.diff-deletedline .diffchange {
background-color: #feeec8;
color: #000;
}
.diff td.diff-addedline {
background-color: #A3D3FF;
border-color: #A3D3FF;
color: #000;
}
.diff td.diff-addedline .diffchange {
background-color: #d8ecff;
color: #000;
}
/* theme-dependent color of the arrow that indicates a line was moved */
.mw-diff-movedpara-left, .mw-diff-movedpara-right {
&:after {
color: var(--theme-text-color);
}
}