MediaWiki:Vector-2022.css: Difference between revisions
(Created page with "→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/i...") |
(added .mpg to known video suffixes) |
||
| Line 35: | Line 35: | ||
#content a[href$=".mov" i].external, | #content a[href$=".mov" i].external, | ||
#content a[href$=".mp4" i].external, | #content a[href$=".mp4" i].external, | ||
#content a[href$=".mpg" i].external, | |||
#content a[href$=".wmv" i].external | #content a[href$=".wmv" i].external | ||
{ | { | ||
Latest revision as of 01:25, 31 January 2026
/* 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$=".mpg" 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;
}