User:Xaradnam/monobook.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .js page for this skin is at User:Xaradnam/monobook.js. |
/* Hide thank from wl&rc */
.page-Special_Watchlist a.mw-thanks-thank-link,
.page-Special_RecentChanges a.mw-thanks-thank-link {display:none;}
span:has(.mw-thanks-thank-link)::before, /* Hide "(" & ")" */
span:has(.mw-thanks-thank-link)::after {content: normal !important;}
/* from https://phabricator.wikimedia.org/diffusion/SVN/browse/trunk/phase3/resources/mediawiki.action/mediawiki.action.history.diff.css
** Diff rendering
*/
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: white;
}
td.diff-otitle,
td.diff-ntitle {
text-align: center;
}
td.diff-marker {
text-align: right;
font-weight: bold;
font-size: 1.25em;
}
td.diff-lineno {
font-weight: bold;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
font-size: 88%;
vertical-align: top;
white-space: -moz-pre-wrap;
white-space: pre-wrap;
}
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;
}
td.diff-deletedline {
border-color: #ffe49c;
}
td.diff-context {
background: #f3f3f3;
color: #333333;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-color: #e6e6e6;
border-radius: 0.33em;
}
.diffchange {
font-weight: bold;
text-decoration: none;
}
table.diff {
border: none;
width: 98%;
border-spacing: 4px;
/* Ensure that colums are of equal width */
table-layout: fixed;
}
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;
}
table.diff col.diff-marker {
width: 2%;
}
table.diff col.diff-content {
width: 48%;
}
table.diff td div {
/* Force-wrap very long lines such as URLs or page-widening char strings.*/
word-wrap: break-word;
/* As fallback (FF<3.5, Opera <10.5), scrollbars will be added for very wide cells
instead of text overflowing or widening
*/
overflow: auto;
}