MediaWiki:Common.css: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(this should work) |
(ah okay that's a thing) |
||
Line 332: | Line 332: | ||
#bodyContent a.external[href ^="https://www.facebook.com"], | #bodyContent a.external[href ^="https://www.facebook.com"], | ||
.link-https { | .link-https { | ||
background: url(/images/ | background: url(/images/0/08/Facebook_link_icon.png) center right no-repeat; | ||
padding: 0 18px 0 0; | padding: 0 18px 0 0; | ||
} | } | ||
Line 344: | Line 344: | ||
#bodyContent a.external[href ^="https://www.smashboards.com"], | #bodyContent a.external[href ^="https://www.smashboards.com"], | ||
.link-https { | .link-https { | ||
background: url(/images/ | background: url(/images/d/dc/SmashBoards_link_icon.png) center right no-repeat; | ||
padding: 0 18px 0 0; | padding: 0 18px 0 0; | ||
} | } | ||
Line 350: | Line 350: | ||
#bodyContent a.external[href ^="https://www.twitter.com"], | #bodyContent a.external[href ^="https://www.twitter.com"], | ||
.link-https { | .link-https { | ||
background: url(/images/ | background: url(/images/e/e2/Twitter_link_icon.png) center right no-repeat; | ||
padding: 0 18px 0 0; | padding: 0 18px 0 0; | ||
} | } | ||
Line 356: | Line 356: | ||
#bodyContent a.external[href ^="https://www.twitch.tv"], | #bodyContent a.external[href ^="https://www.twitch.tv"], | ||
.link-https { | .link-https { | ||
background: url(/images/ | background: url(/images/e/eb/Twitch_link_icon.png) center right no-repeat; | ||
padding: 0 18px 0 0; | padding: 0 18px 0 0; | ||
} | } |
Revision as of 21:05, February 4, 2018
/* CSS placed here will be applied to all skins */
#bodyContent {
position: relative;
}
/* Poll autoformatting */
.ajax-poll {
width: auto !important; /*inline style override for poll extension*/
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a, .watchlistredir a {
color: #888;
font-style: italic;
}
/* Forum formatting -Algorithm & -Splaka */
.forumheader {
border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px;
}
.forumlist td.forum_edited a {
color: black; text-decoration: none
}
.forumlist td.forum_title a {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
background: url(/images/forum_new.png) center left no-repeat;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal; background: none; padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Small reference list */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
font-size: 90%;
-moz-column-count:2;
column-count:2;
}
.same-bg { background: none }
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* Messagebox templates */
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 4px 2px 4px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
}
/* wikitable class for skinning normal tables */
/* wikitable-nopad is for when you want a wikitable without padding */
table.wikitable, table.wikitable-nopad {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable-nopad th, table.wikitable-nopad td {
border: 1px #aaa solid;
padding: 0em;
}
table.wikitable th, table.wikitable-nopad th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption, table.wikitable-nopad caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* --- TABLE DESIGNS --- */
/* default skin for navigation boxes */
table.navbox { /* navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox {
margin-top: -1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
text-align: center; /* title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-left: 2px solid #fdfdfd; /* Must match background color */
}
.navbox-title, table.navbox th {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
@media print {
.navbox {
display: none;
}
}
.nowraplinks a { /* prevents line breaks in links in primarily navbox */
white-space: nowrap;
}
/* Light gray highlight on stuff */
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, #wpOldTitle:focus, #wpReason:focus, #wpSummary:focus, #searchInput:focus {
background: #F9F9F9
}
/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* Colour the number of characters added/removed in the recent changes */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a {
font-weight: bold !important;
}
/* stuff set to display: none; */
/* Hide title and tagline on Main Page */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-view #siteSub {
display: none;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
background: url(/images/Checker-16x16.png) repeat;
}
/* Staff colours
Admins
Disaster Flare */
table.diff a[title="User:Disaster Flare"],
ul#pagehistory li a[title="User:Disaster Flare"],
ul.special li a[title="User:Disaster Flare"], /*
Miles */
table.diff a[title="User:Miles of SmashWiki"],
ul#pagehistory li a[title="User:Miles of SmashWiki"],
ul.special li a[title="User:Miles of SmashWiki"], /*
Nyargleblargle */
table.diff a[title="User:Nyargleblargle"],
ul#pagehistory li a[title="User:Nyargleblargle"],
ul.special li a[title="User:Nyargleblargle"], /*
Omega Tyrant */
table.diff a[title="User:Omega Tyrant"],
ul#pagehistory li a[title="User:Omega Tyrant"],
ul.special li a[title="User:Omega Tyrant"],
a.whoadmin { color: #3f9f5f; } /*
Bcrats
Serpent King */
table.diff a[title="User:Serpent King"],
ul#pagehistory li a[title="User:Serpent King"],
ul.special li a[title="User:Serpent King"], /*
Toomai */
table.diff a[title="User:Toomai"],
ul#pagehistory li a[title="User:Toomai"],
ul.special li a[title="User:Toomai"],
a.whocrat { color: #9f7700; } /*
Devs
Porplemontage */
table.diff a[title="User:Porplemontage"],
ul#pagehistory li a[title="User:Porplemontage"],
ul.special li a[title="User:Porplemontage"], /*
*/
a.whodev { color: #bf3f9f; } /*
Bots
XL */
table.diff a[title="User:EXemplary Logic"],
ul#pagehistory li a[title="User:EXemplary Logic"],
ul.special li a[title="User:EXemplary Logic"], /*
NaO */
table.diff a[title="User:NotAnOuendan"],
ul#pagehistory li a[title="User:NotAnOuendan"],
ul.special li a[title="User:NotAnOuendan"],
a.whobot { color: #9f9fbf; }
/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
line-height: 1.4em;
}
#wpSummary, #wpSummaryLabel {
margin: 0.2em 0 0.4em 0 !important;
}
input#wpSummary {
width: 85%;
}
/* Dismissable SiteNotice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0.5em 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0.5em 60px;
}
/* External link images */
/* Facebook */
#bodyContent a.external[href ^="https://www.facebook.com"],
.link-https {
background: url(/images/0/08/Facebook_link_icon.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* Miiverse */
#bodyContent a.external[href ^="https://miiverse.nintendo.net"],
.link-https {
background: url(/images/miiverse-link.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* SmashBoards */
#bodyContent a.external[href ^="https://www.smashboards.com"],
.link-https {
background: url(/images/d/dc/SmashBoards_link_icon.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* Twitter */
#bodyContent a.external[href ^="https://www.twitter.com"],
.link-https {
background: url(/images/e/e2/Twitter_link_icon.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* Twitch */
#bodyContent a.external[href ^="https://www.twitch.tv"],
.link-https {
background: url(/images/e/eb/Twitch_link_icon.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* YouTube */
#bodyContent a.external[href ^="https://www.youtube.com"],
#bodyContent a.external[href ^="http://www.youtube.com"],
#bodyContent a.external[href ^="http://youtu.be"],
.link-https {
background: url(/images/youtube-link.png) center right no-repeat;
padding: 0 18px 0 0;
}
/* SW:1226 stuff */
.ssb64-site-img-1px {
border:1px solid #000000
}
.ssb64-site-img-2px {
border:2px solid #000000
}
.ssb64-site-img-3px {
border:3px solid #000000
}
.ssb64-site-img-4px {
border:4px solid #000000
}
.ssb64-site-img-5px {
border:5px solid #000000
}
.ssb64-site-img-6px {
border:6px solid #000000
}
/* hide pointless obtrusive "your edit got saved" box */
.postedit { display: none !important; }
/* Auto-scroll if <pre></pre> box is too wide */
pre { overflow: auto; }
/* Captcha spacing */
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
/* Hide subpage link for non-subpages */
.page-Super_Smash_Bros_for_Nintendo_3DS_Wii_U_♪—A_Smashing_Soundtrack— .subpages,
.page-Super_Smash_Bros_for_Nintendo_3DS_Wii_U .subpages,
.page-Shin_Shoryuken_Shinku_Hadoken .subpages,
.page-Zelda_Sheik_disambiguation .subpages,
.page-Zelda_Sheik .subpages,
.page-Zelda_Sheik_SSBM .subpages,
.page-Zelda_Sheik_SSBB .subpages
{
display: none;
}
/* Fix table of contents spacing */
table tbody tr td .toc li {
line-height: 15px;
}
/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-bottom: 5px;
}
}
/* Remove anon warning box style */
#mw-anon-edit-warning {
margin: 0;
padding: 0;
border: none;
background: none;
}
/* Fix code tag formatting */
code {
padding: 0;
border: none;
}
/* Hide help link on the Recent Changes */
.mw-indicators {
display: none;
}
/* Fix Special:PrefixIndex column alignment */
.mw-prefixindex-list > li:first-of-type {
margin-top: -4px;
}
/* MediaWiki collapsible buttons */
.mw-collapsible-toggle {
font-weight: normal;
}