MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =========================================================
Domain-specific external link icons
Azeroth Gazetteer
========================================================= */
/*
* Shared formatting for recognized image-based external
* and interwiki links.
* Icons are displayed at a consistent 16 × 16 px.
*/
a:is(.external, .extiw):is(
[href*="wowhead.com"],
[href*="mmo-champion.com"],
[href*="warcraft.wiki.gg"],
[href*="wow-petopia.com"],
[href*="archive.org"],
[href*="archive.ph"],
[href*="archive.today"],
[href*="archive.is"],
[href*="worldofwarcraft.blizzard.com"],
[href*="turtle-wow.fandom.com"],
[href*="github.com"]
)::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 3px;
vertical-align: -2px;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
/* =========================================================
Wowhead
========================================================= */
/* Retail / general Wowhead */
a:is(.external, .extiw)[href*="wowhead.com"]:not(
[href*="wowhead.com/classic"],
[href*="wowhead.com/tbc"],
[href*="wowhead.com/wotlk"]
)::before {
background-image: url("/mediawiki/images/6/61/External-wowhead.png");
}
/* Classic */
a:is(.external, .extiw)[href*="wowhead.com/classic"]::before {
background-image: url("/mediawiki/images/4/48/External-wowheadc.png");
}
/* The Burning Crusade */
a:is(.external, .extiw)[href*="wowhead.com/tbc"]::before {
background-image: url("/mediawiki/images/a/aa/External-wowhead-bc.png");
}
/* Wrath of the Lich King */
a:is(.external, .extiw)[href*="wowhead.com/wotlk"]::before {
background-image: url("/mediawiki/images/5/55/External-wowhead-wrath.png");
}
/* =========================================================
Warcraft sites
========================================================= */
/* MMO-Champion */
a:is(.external, .extiw)[href*="mmo-champion.com"]::before {
background-image: url("/mediawiki/images/8/8c/External-mmochampion.png");
}
/* Warcraft Wiki */
a:is(.external, .extiw)[href*="warcraft.wiki.gg"]::before {
background-image: url("/mediawiki/images/e/ea/External-wwiki.png");
}
/* Petopia */
a:is(.external, .extiw)[href*="wow-petopia.com"]::before {
background-image: url("/mediawiki/images/7/71/External-petopia.png");
}
/* Official World of Warcraft website */
a:is(.external, .extiw)[href*="worldofwarcraft.blizzard.com"]::before {
background-image: url("/mediawiki/images/c/cb/External-wow.png");
}
/* Turtle WoW Wiki */
a:is(.external, .extiw)[href*="turtle-wow.fandom.com"]::before {
background-image: url("/mediawiki/images/6/60/External-twwiki.png");
}
/* Tortoise DB Viewer */
a:is(.external, .extiw)[href*="xian55.github.io/tortoise-db-viewer/"]::before {
content: "🐢";
display: inline-block;
width: 16px;
margin-right: 5px;
text-align: center;
font-size: 16px;
line-height: 16px;
vertical-align: -2px;
}
/* OctoWoW */
a:is(.external, .extiw)[href*="octowow.st"]::before {
content: "🐙";
display: inline-block;
width: 16px;
margin-right: 5px;
text-align: center;
font-size: 16px;
line-height: 16px;
vertical-align: -2px;
}
/* =========================================================
Reference sites
========================================================= */
/* Wikipedia */
a:is(.external, .extiw)[href*="wikipedia.org"]::before {
content: "ⓦ";
display: inline-block;
width: 16px;
margin-right: 5px;
text-align: center;
font-size: 16px;
line-height: 16px;
vertical-align: -2px;
}
/* Wiktionary */
a:is(.external, .extiw)[href*="wiktionary.org"]::before {
content: "📖";
display: inline-block;
width: 16px;
margin-right: 5px;
text-align: center;
font-size: 16px;
line-height: 16px;
vertical-align: -2px;
}
/* =========================================================
Development sites
========================================================= */
/* GitHub */
a:is(.external, .extiw)[href*="github.com"]::before {
background-image: url("/mediawiki/images/f/f4/External-github.svg");
}
/* =========================================================
Web archives
========================================================= */
/* Internet Archive */
a:is(.external, .extiw)[href*="archive.org"]::before {
background-image: url("/mediawiki/images/0/0e/External-internetarchive.svg");
}
/* Archive.today and alternate domains */
a:is(.external, .extiw):is(
[href*="archive.ph"],
[href*="archive.today"],
[href*="archive.is"]
)::before {
background-image: url("/mediawiki/images/e/e6/External-archivetoday.png");
}