|
|
| (5 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* CSS brought over from Wikipedia appears first. CSS written for our wiki comes second, under the heading ONI WIKI CUSTOMIZATIONS. */ | | /* CSS brought over from Wikipedia appears first. CSS written for our wiki comes second, under the heading ONI WIKI CUSTOMIZATIONS. */ |
| | /* Only globally applicable CSS is here; see [[MediaWiki:Vector-2022.css]] for skin-specific customizations (and see |
| | [[MediaWiki:Vector.css]] for customizations to our previous default skin). */ |
|
| |
|
| /* Editors: See TODO comments for items needing work. */ | | /* Editors: See TODO comments for items needing work. */ |
|
| |
|
| /* WIKIPEDIA CARRY-OVERS */ | | /* WIKIPEDIA CARRY-OVERS */ |
| /* The original markup on Wikipedia's Common.css page should be checked once in a while for updates to, or removal of, this markup */ | | /* From Wikipedia's MediaWiki:Common.css */ |
| | /* The original markup on Wikipedia should be checked once in a while for updates to, or removal of, the markup below. */ |
|
| |
|
| @media screen | | @media screen |
| Line 42: |
Line 45: |
| .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child), | | .client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child), |
|
| |
|
| /* TODO: Doesn't seem to work in hiding the "do it yourself" box on [[Developer Mode]] */
| |
| /* Avoid FOUC/reflows on collapsed elements. */ | | /* Avoid FOUC/reflows on collapsed elements. */ |
| /* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */ | | /* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */ |
| Line 59: |
Line 61: |
| padding-left:0.2em; | | padding-left:0.2em; |
| } | | } |
|
| |
| .mw-collapsible-leftside-toggle .mw-collapsible-toggle | | .mw-collapsible-leftside-toggle .mw-collapsible-toggle |
| { | | { |
| Line 95: |
Line 96: |
|
| |
|
| /* ONI WIKI CUSTOMIZATIONS */ | | /* ONI WIKI CUSTOMIZATIONS */ |
|
| |
| /* Hide the '?' button at top-right of some pages */
| |
| #mw-indicator-mw-helplink { display: none; }
| |
|
| |
| /* TODO: Restore to working order */
| |
| /* Redesigned outbound arrow for external links */
| |
| div#content a.external
| |
| {
| |
| background-image:url(/w/images/e/ea/Link_icon_-_external.svg);
| |
| background-size:10px;
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:11px;
| |
| }
| |
|
| |
| /* Replace the padlock icon used for HTTPS links with the same
| |
| outward arrow used for external HTTP links */
| |
| div#content a.external[href^="https://"]
| |
| {
| |
| background-image:url(/w/images/e/ea/Link_icon_-_external.svg);
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:11px;
| |
| }
| |
|
| |
| /* Provide sideways arrow for links to other Oni2.net sites */
| |
| div#content a.external[href*=".oni2.net"]
| |
| {
| |
| background-image:url(/w/images/9/98/Link_icon_-_oni2.net.svg);
| |
| background-size:12px;
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:13px;
| |
| }
| |
|
| |
| /* Provide circular arrow for external internal links */
| |
| div#content a.external[href*="wiki.oni2.net"]
| |
| {
| |
| background-image:url(/w/images/7/7d/Link_icon_-_external_internal.svg);
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:12px;
| |
| }
| |
|
| |
| /* Show movie icon for links to movie files that typically play in-browser */
| |
| div#content a.external[href$=".avi"],
| |
| div#content a.external[href$=".mov"],
| |
| div#content a.external[href$=".mp4"],
| |
| div#content a.external[href$=".wmv"]
| |
| {
| |
| background-image:url(/w/images/4/45/Link_icon_-_movie_file.svg);
| |
| background-size:12px;
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:14px;
| |
| }
| |
|
| |
| /* Show sound icon for links to audio files that typically play in-browser */
| |
| div#content a.external[href$=".m4a"],
| |
| div#content a.external[href$=".mp3"],
| |
| div#content a.external[href$=".wav"]
| |
| {
| |
| background-image:url(/w/images/5/52/Link_icon_-_sound_file.svg);
| |
| background-size:12px;
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:14px;
| |
| }
| |
|
| |
| /* Provide green upward arrow for interwiki links */
| |
| div#content a.extiw
| |
| {
| |
| background-image:url(/w/images/d/dd/Link_icon_-_interwiki.svg);
| |
| background-position:top right;
| |
| background-repeat:no-repeat;
| |
| padding-right:11px;
| |
| }
| |
|
| |
|
| /* TODO: All items beyond this point should be ported to TemplateStyles */ | | /* TODO: All items beyond this point should be ported to TemplateStyles */ |