User:Redrose64/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@import "//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-OldDiff.css&action=raw&ctype=text/css";
/* supplementary to above - make it easier to spot spaces added/removed in diffs */
td.diff-deletedline del.diffchange { background-color: #cfc; }
td.diff-addedline ins.diffchange { background-color: #ffa; }
/* partially undo site changes of 30 April 2020 */
.diff-editfont-monospace .diff-addedline,
.diff-editfont-monospace .diff-deletedline,
.diff-editfont-monospace .diff-context {
  font-family: sans-serif;
}
.diff td.diff-marker {
  padding: 0;
  font-weight: normal;
  font-size: 1em;
}
/* slight increase to font size for changed lines */
.diff-addedline,
.diff-deletedline,
.diff-context {
  font-size: 92%;
  line-height: 1.5em;
}
/* but .diff-context is still 88% */
.diff-context { font-size: 88%; }
/* hide the "Manage TemplateData" and "Information about TemplateData" boxes, to avoid the screen flicking down on opening edit box in Template: space */
div.tdg-editscreen-main /* div.oo-ui-widget */ { display: none; }
/* Turn the "Save page" button green when logged in - see [[en:User:Gadget850/FAQ#Logged out]] */
input#wpSave { background-color: #88ff88; }
/* Make edit windows have the same line pitch as css/js pages, instead of 1.5em (approx. 19.5px) */
textarea#wpTextbox1 { line-height: 16px; }
/* Make the notifications counters a bit more noticeable. White on red for alerts where at least one is unseen */
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-unseen-notifications::after,
#pt-notifications-alert .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after {
  background-color: #D11813; /* Vector's colour instead of MonoBook's #DEA4A2 */
  color: white;
}
/* White on blue for notices where at least one is unseen */
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications::after,
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after {
  background-color: #0D5EF2; /* MonoBook's #B7CFFB reduced to 50% lightness */
  color: white;
}
/* Red on white for alerts which have all been seen (not necessarily marked as read) */
#pt-notifications-alert .mw-echo-notifications-badge::after {
  font-size: 1em;
  background-color: white;
  color: #D11813;
}
/* Blue on white for notices which have all been seen */
#pt-notifications-notice .mw-echo-notifications-badge::after {
  font-size: 1em;
  background-color: white;
  color: #0D5EF2;
}
/* hide the "Open in Media Viewer" buttons on file description pages */
div.mw-mmv-filepage-buttons { display: none; }
/* make better use of available width in search results lists */
.mw-searchresults-has-iw p.mw-search-createlink,
.mw-searchresults-has-iw ul.mw-search-results,
ul.mw-search-results {
  width: 100%;
  max-width: none;
}
/* new table version with images, 7 Oct 2022 */
.mw-searchresults-has-iw .mw-search-results-info,
.mw-searchresults-has-iw .mw-search-results-container {
  width: 100%;
  max-width: none;
}
.mw-search-results-info,
.mw-search-results-container,
.mw-search-profile-tabs {
  width: 100%;
}
/* lose the abovementioned images */
.mw-search-results-container td.searchResultImage-thumbnail { display: none; }
.mw-search-results li { margin-bottom: 0.1em; }

/* Turn visited links green instead of default purple - see [[w:en:Wikipedia:Link color]] - note that from MW1.18 visited ELs also change colour but have a different class */
a:visited {
  color: #008800;
  background-color:#ffffc0;
}
/* except for "you have new messages" orange bar */
a.mw-echo-alert:visited { background-color: #fc3; }
/* diff slider - make it non-white. Colour is equal mix of #cfc with #ffa via their hsl values (120,100%,90%) with (60,100%,83.3%) */
span.mw-revslider-toggle-button { background-color: hsl(90,100%,86.667%); }
/* diff slider - lose that margin-left: -0.3125em */
.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child,
.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child, /* monobook */
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement:first-child /* vector */ {
  margin-left: 0;
}
/* some buttons etc. that seem to have appeared below the diff slider */
div.mw-diff-table-prefix { display: none; }
/* Try to make buttons look normal again */
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button,
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
/*  background-color: buttonface;
  background-image: none;
  border: 2px outset buttonface;
  border-radius: 0;
  color: buttontext;
  padding: 1px 6px;
  text-shadow: none; */
}
/* drop-down namespace list in Special:Contributions, see phab:T290026 */
.oo-ui-labelElement-label {
  font-size: small;
}
.oo-ui-decoratedOptionWidget {
  padding-top: 0;
  padding-bottom: 0;
}
/* maybe reduce this?
.oo-ui-optionWidget .oo-ui-labelElement-label {
  line-height: 1.5em;
} */
/* hide some CentralNotices */
div#africanday2023anononly,
div#Commons_Toolhub,
div#DesktopImprovements,
div#frb,
div#frb-inline,
div#GWC2023banner,
div#MCJul23,
div#MCRFTbanner,
div#POTY_2020_R1_Seddon,
div#UCDM2023banner,
div#WFHR2023,
div#Wikimania_2023_reg,
div#wikipedia_wanting_photos_2023,
div#wikipedia_wanting_photos_2023_commons,
div#wll2021,
div#wlm_2023_gb,
div#wm2023cfpbanner,
div#wmftou2023 {
  display: none !important;
}
/* make unwatch tab more obvious when set. MinervaNeue, Timeless, Vector legacy (2010), Vector (2022) are excluded because they use the star thing */
.skin-cologneblue #p-pageoptions li#ca-unwatch a,
.skin-modern #p-cactions li#ca-unwatch a,
.skin-monobook #p-cactions li#ca-unwatch a {
  background-color: #002bb8 !important;
  color: white;
}
/* make it easier to pick out edits to own user talk page */
li.mw-changeslist-line:has(span.mw-title a[href="/wiki/User_talk:Redrose64"]) { background-color: #ffcc33; }