sandbox/wikiassets/nonwmf.css
Yongmin Hong 1fc290faa5
wikiassets: rename global.(css|js) to nonwmf.(css|js)
Summary:
Plan is to also migrate go/wiki/m/User:-revi/global.(css|js) to here as well.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Load from jsdelivr.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D21
2024-05-04 17:47:11 +09:00

54 lines
1.8 KiB
CSS

/** No betafeatures button */
#pt-betafeatures { display: none; }
/** no ULS button */
#pt-uls { display: none; }
/* I won't logout unless in preferences which is typed manually */
#pt-logout { display: none; }
#pt-preferences { display: none; }
/** Set custom color for redirect page */
.mw-redirect { color: #FAAFBE;}.mw-redirect:visited { color: #FAAFBE;}.mw-redirect:hover { color: #FAAFBE;}.mw-redirect:active { color: #FAAFBE;}
/** No MediaViewer button on File: namespace pages */
.mw-mmv-filepage-buttons { display: none }
/* Make protected pages' edit box shown in light pink. (http://www.color-hex.com/color/ffb6c1)
*/
.mw-textarea-protected, .ns-8 textarea {
background: #FFB6C1;
}
/* Make semi-protected pages' edit box shown in yellow. */
.mw-textarea-sprotected {
background: #FFFFDB;
}
/* Edit summaries
(Smaller font size instead of italicize) */
.comment {
font-style: normal !important;
font-size: 9pt;
}
/* Quick hack to force the Search tab on [[Special:Contribs]] open.
Credit: Volker E. (WMF) & Stwalkerster
[[Special:Permalink/19431311#Reverting the new "collapsed search interface" on Special:Contribs|Tech]] */
.mw-special-Contributions .oo-ui-fieldsetLayout-group.mw-collapsible-content { display: block !important; }
.mw-special-Contributions .oo-ui-fieldsetLayout-header { display: none !important; }
/* Colorize diff size
(Green for + and red for -) */
.mw-plusminus-pos {
color:green;
}
.mw-plusminus-neg {
color:red;
}
/* Get rid of 'partial' block. Uselessness 100% guaranteed.
TODO: Fix this (MW update broke this) */
.mw-block-restriction {display: none;} /* Kills partial block target list */
.mw-block-editing-restriction {display: none;} /* Kill Partial switch */
.mw-block-page-restrictions { display: none; } /* Kill radio box */