MediaWiki:Common.css: Difference between revisions

moved external link icon overriding to MediaWiki:Vector-2022.css as it is skin-specific; also moved help link hiding because it was the only markup left here that was specific to our wiki except for the large amount of material that needs porting to TemplateStyles
(apparently this is how you turn off case sensitivity for these pattern matches)
(moved external link icon overriding to MediaWiki:Vector-2022.css as it is skin-specific; also moved help link hiding because it was the only markup left here that was specific to our wiki except for the large amount of material that needs porting to TemplateStyles)
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 https://en.wikipedia.org/wiki/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 58: 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 94: Line 96:


/* ONI WIKI CUSTOMIZATIONS */
/* ONI WIKI CUSTOMIZATIONS */
/* Hide the '?' button at top-right of some pages */
#mw-indicator-mw-helplink { display: none; }
/* Redesigned outbound arrow for external links */
#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;
}
/* Provide sideways arrow for links to other Oni2.net sites */
#content a[href*=".oni2.net"].external
{
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 */
#content a[href*="wiki.oni2.net"].external
{
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 */
#content a[href$=".avi" i].external,
#content a[href$=".mov" i].external,
#content a[href$=".mp4" i].external,
#content a[href$=".wmv" i].external
{
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 */
#content a[href$=".m4a" i].external,
#content a[href$=".mp3" i].external,
#content a[href$=".wav" i].external
{
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 */
#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 */