MediaWiki:Common.css: Difference between revisions

removed link icon overrides for regular outbound links and updated markup for other overrides
(removed TODO – actually this does seem to work, or at least the problem doesn't exist anymore and maybe it's because of this)
(removed link icon overrides for regular outbound links and updated markup for other overrides)
Line 99: Line 99:


/* TODO: Restore to working order */
/* 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 */
/* Provide sideways arrow for links to other Oni2.net sites */
div#content a.external[href*=".oni2.net"]
#content a[href*=".oni2.net"].external
{
{
  background-image:url(/w/images/9/98/Link_icon_-_oni2.net.svg);
  background-image:url(/w/images/9/98/Link_icon_-_oni2.net.svg);
Line 130: Line 110:


/* Provide circular arrow for external internal links */
/* Provide circular arrow for external internal links */
div#content a.external[href*="wiki.oni2.net"]
#content a[href*="wiki.oni2.net"].external
{
{
  background-image:url(/w/images/7/7d/Link_icon_-_external_internal.svg);
  background-image:url(/w/images/7/7d/Link_icon_-_external_internal.svg);
Line 139: Line 119:


/* Show movie icon for links to movie files that typically play in-browser */
/* Show movie icon for links to movie files that typically play in-browser */
div#content a.external[href$=".avi"],
#content a[href$=".avi"].external
div#content a.external[href$=".mov"],
#content a[href$=".avi"].external,
div#content a.external[href$=".mp4"],
#content a[href$=".mov"].external,
div#content a.external[href$=".wmv"]
#content a[href$=".mp4"].external,
#content a[href$=".wmv"].external
{
{
  background-image:url(/w/images/4/45/Link_icon_-_movie_file.svg);
  background-image:url(/w/images/4/45/Link_icon_-_movie_file.svg);
Line 152: Line 133:


/* Show sound icon for links to audio files that typically play in-browser */
/* Show sound icon for links to audio files that typically play in-browser */
div#content a.external[href$=".m4a"],
#content a[href$=".m4a"].external,
div#content a.external[href$=".mp3"],
#content a[href$=".mp3"].external,
div#content a.external[href$=".wav"]
#content a[href$=".wav"].external
{
{
  background-image:url(/w/images/5/52/Link_icon_-_sound_file.svg);
  background-image:url(/w/images/5/52/Link_icon_-_sound_file.svg);
Line 164: Line 145:


/* Provide green upward arrow for interwiki links */
/* Provide green upward arrow for interwiki links */
div#content a.extiw
#content a.extiw
{
{
  background-image:url(/w/images/d/dd/Link_icon_-_interwiki.svg);
  background-image:url(/w/images/d/dd/Link_icon_-_interwiki.svg);