(redirects coloring) Tag: sourceedit |
(fullwidth edit summary and file revert fields, too) Tag: sourceedit |
||
Line 11: | Line 11: | ||
height: 22px; |
height: 22px; |
||
margin-bottom: 6px; |
margin-bottom: 6px; |
||
+ | } |
||
+ | |||
+ | /* edit summary and file revert fields get full width */ |
||
+ | input#wpSummary, |
||
+ | input#mw-input-wpcomment { |
||
+ | width: 100%; |
||
} |
} |
||
Revision as of 00:25, 13 September 2015
.newcategory {
color: #CC2200 !important;
}
.AchievementsNotification {
background-color: white !important;
}
/* Edit window toolbar (from [[wikipedia:MediaWiki:Common.css]] */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/* edit summary and file revert fields get full width */
input#wpSummary,
input#mw-input-wpcomment {
width: 100%;
}
/* make it easier to find redirects */
.mw-redirect,
.mw-redirect:visited,
.mw-redirect:hover,
.mw-redirect:active {
color: #308050;
}
/* but not for diff comments */
.comment .mw-redirect,
.comment .mw-redirect:visited,
.comment .mw-redirect:hover,
.comment .mw-redirect:active {
color: 002BB8 !important;
}
/* Monospaced font and preserved whitespace for diffs */
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-family: monospace, monospace; /* has to be doubled to fix the font-size issue in Webkit */
white-space: pre-wrap;
}
/* Updated diff styles */
td.diff-marker {
font-weight: bold;
font-size: 1.25em;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
font-size: 88%;
vertical-align: top;
}
td.diff-addedline,
td.diff-deletedline {
border-style: solid;
border-width: 1px 1px 1px 4px;
border-radius: 0.33em;
}
td.diff-addedline {
border-color: #a3d3ff;
background-color: inherit;
}
td.diff-deletedline {
border-color: #ffe49c;
background-color: inherit;
}
td.diff-context {
background: #f3f3f3;
color: #333333;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-color: #e6e6e6;
border-radius: 0.33em;
}
.diffchange,
.diffchange-inline {
border-bottom: none !important;
}
.diffchange {
color: inherit;
}
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0.33em;
padding: 0.25em 0;
}
td.diff-addedline .diffchange {
background: #d8ecff;
}
td.diff-deletedline .diffchange {
background: #feeec8;
}
table.diff td {
padding: 0.33em 0.66em;
}