20,299
edits
(moved TOC limit and no-num markup here from MediaWiki:Common.css) |
(added .mpg to known video suffixes) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* Hide the '?' button at top-right of some pages */ | ||
#mw-indicator-mw-helplink { display: none; } | |||
/* Fix the sidebar in place when scrolling, as long as we are not on a small screen (e.g. a phone) */ | /* Fix the sidebar in place when scrolling, as long as we are not on a small screen (e.g. a phone) */ | ||
| Line 72: | Line 73: | ||
{ | { | ||
margin:0 0 0 2em; | margin:0 0 0 2em; | ||
} | |||
/* 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; | |||
} | |||
/* 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" i], | |||
div#content a.external[href$=".mov" i], | |||
div#content a.external[href$=".mp4" i], | |||
div#content a.external[href$=".mpg" i], | |||
div#content a.external[href$=".wmv" i] | |||
{ | |||
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" i], | |||
div#content a.external[href$=".mp3" i], | |||
div#content a.external[href$=".wav" i] | |||
{ | |||
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; | |||
} | } | ||