MediaWiki:Common.css
From Fanon Wiki - https://fanon.shoutwiki.com
Jump to navigation
Jump to search
Note: After saving, 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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/** CSS placed here will be applied to all skins */
/* Hide Send to a friend box on main namespace, it conflicts with eraicons... */
.ns-0 #staf {
display: none;
}
/* Template:Title */
#titlehack {
display: inline !important;
}
/* added & removed bytes coloring in Special:RecentChanges */
span.mw-plusminus-pos { color: #006400; }
span.mw-plusminus-neg { color: #FF0000; }
/* Silver borders on sidebar portlet */
.portlet h5 {
background-color: #E0E3E6;
border: thin solid silver;
}
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[mw:Manual:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0px;
right: 3px;
font-weight: normal;
font-size: smaller;
}
/* make list of references smaller */
.references-small {
font-size: 0.85em;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* ===Redirects in Special:AllPages and Special:Watchlist=== */
.allpagesredirect {
font-style: italic;
}
.watchlistredir {
font-style: italic;
}
/* === Bold 'discussion' link to encourage newcomers to discuss === */
#ca-talk a {
font-weight: bold !important;
}
/* Site slogan, found at MediaWiki:Tagline */
#siteSub {
display: inline;
font-size: 90%;
font-weight: normal;
font-style: italic;
}
/* Hide some irrelevant stuff on the main page */
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}
/* Change bullets to featured article stars for the main page */
body.page-Main_Page .FA-table ul {
list-style-image: url('http://www.shoutwiki.com/w/images/fanonwiki/6/60/LinkFA-star.png');
}
/* Bugfix when using thumbnails on colored backgrounds */
div.thumb {
border-color: transparent;
}
/* Infobox template styling */
.infobox {
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 250px;
background: none;
border-collapse: collapse;
border-width: 0px;
font-size: 0.8em;
line-height: 1.5;
}
.infobox table.infoboxtable {
background: #f0f0f0;
float: right;
margin: 0;
width: 100%;
border-collapse: collapse;
}
.infobox td.infoboximage {
padding: 0;
text-align: center;
}
.infobox th.infoboxheading {
font-weight: bold;
text-align: center;
color: #ffffff;
font-size: larger;
}
.infobox th.infoboxsubheading {
vertical-align: top;
text-align: left;
font-weight: normal;
}
.infobox td.infoboxlabel, .infobox td.infoboxcell {
vertical-align: middle;
/* border-top: 1px solid #999;
border-bottom: 1px solid #999; */
}
/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
margin-top: 0px;
margin-bottom: 0px;
}
/* .infoboxcell ul { list-style-type: disc; } */
.infoboxcell ul {
padding-left: 10px;
margin-left: 10px;
}
.infoboxcell ul li {
padding-left: 0;
margin-left: 0;
list-style-type: square;
}
.infobox div.plainlinks {
color: #fff;
}
.infobox div.plainlinks a {
color: #f0f0f0;
}