Jump to content
Wikimedia Meta-Wiki

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)
  • Edge: Hold Ctrl while clicking Refresh, or 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-deletedlinedel.diffchange{background-color:#cfc;}
 td.diff-addedlineins.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;
 }
 .difftd.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-iwp.mw-search-createlink,
 .mw-searchresults-has-iwul.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-containerdiv.searchResultImage-thumbnail{display:none;}
 .mw-search-resultsli{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#WSC2025UK_banner,
 div.cn-Stewardelectionsconfirmations2026callfornominations,
 div.cn-WP25birthdayloggedin,
 div.cn-PictureoftheYear2025Round1,
 div.cn-UCDM2026,
 div.cn-PictureoftheYear2025Round2,
 div.cn-wle_2026_gb{
 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-pageoptionsli#ca-unwatcha,
 .skin-modern#p-cactionsli#ca-unwatcha,
 .skin-monobook#p-cactionsli#ca-unwatcha{
 background-color:#002bb8!important;
 color:white;
 }
 /* make it easier to pick out edits to own user talk page, but only if not yet visited */
 li.mw-changeslist-line-watched.mw-changeslist-ns3-Redrose64{
 background-color:#fef6e7;
 border:1pxsolid#edab00;
 color:#000;
 }
 /* temp fix for lost styling on OBOD */
 body.skin--responsive#p-personalli.mw-echo-alert{border:1pxsolid#edab00;}
 /* indicate unwatched (white star) or watched (blue star) pages in "Pages transcluded onto the current version of this page" list, when [[:en:User:Anomie/previewtemplatelastmod]] is installed */
 div.templatesUsedli::marker{
 color:#c8b250;
 content:"2606円20円";
 }
 div.templatesUsedli.mw-watched::marker{
 color:#68bdff;
 content:"2605円20円";
 }
 /* fix font size in the new "Add template to favorites" tab */
 .skin-cologneblue#ca-favorite.oo-ui-labelElement-label,
 .skin-modern#ca-favorite.oo-ui-labelElement-label,
 .skin-monobook#ca-favorite.oo-ui-labelElement-label{
 font-size:inherit;
 }
 /* restore triangles in category pages to previous size */
 @supports(-webkit-mask-image:none)or(mask-image:none){
 .CategoryTreeToggle,
 .CategoryTreeEmptyBullet{
 /* -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"black\"><path d=\"M10 15 2 5h16z\"/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"black\"><path d=\"M10 15 2 5h16z\"/></svg>");
 */}
 }

AltStyle によって変換されたページ (->オリジナル) /