Welcome to Assassin's Creed Wiki! Log in and join the community.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>Richard1990 No edit summary |
imported>D. Cello No edit summary |
||
| Line 222: | Line 222: | ||
#file img { | #file img { | ||
background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat; | background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat; | ||
} | |||
/* Allow limiting of which header levels are shown in a TOC; | |||
<div class="toclimit-3">, for instance, will limit to | |||
showing ==headings== and ===headings=== but no further | |||
(as long as there are no =headings= on the page, which | |||
there shouldn't be according to the MoS). | |||
*/ | |||
.toclimit-2 .toclevel-1 ul, | |||
.toclimit-3 .toclevel-2 ul, | |||
.toclimit-4 .toclevel-3 ul, | |||
.toclimit-5 .toclevel-4 ul, | |||
.toclimit-6 .toclevel-5 ul, | |||
.toclimit-7 .toclevel-6 ul { display: none; } | |||
} | } | ||
Revision as of 08:38, 22 April 2010
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a {
color:#888;
font-style:italic;
}
.watchlistredir a {
color:#888;
font-style:italic;
}
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
background-color:#F9F9F9;
border:1px solid #AAA;
margin-top:1em;
padding:12px;
}
.forumlist td.forum_edited a {
color:#000;
text-decoration:none;
}
.forumlist td.forum_title a {
padding-left:20px;
}
.forumlist td.forum_title a.forum_new {
font-weight:bold;
background:url(/images/4/4e/Forum_new.gif) 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;
}
/* 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;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border:0;
border-top:1px solid #AAA;
border-right:1px solid #AAA;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border:0;
border-right:1px solid #AAA;
}
/* Wikitable class for skinning normal tables */
table.wikitable {
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 th {
background:#F2F2F2;
text-align:center;
}
table.wikitable caption, {
margin-left:inherit;
margin-right:inherit;
font-weight:bold;
}
/* default skin for navigation boxes */
table.navbox {
background-color:#F9F9F9;
border:1px solid #AAA;
clear:both;
font-size:90%;
margin:1em 0em 0em;
padding:2px;
text-align:center;
width:100%;
}
table.navbox th {
background-color:#CCF;
font-size:120%;
padding-left:1em;
padding-right:1em;
}
@media print {
.navbox {
display:none;
}
}
/* Standard Navigationsleisten, aka "box hiding thingy" from the German Wikipedia. Documentation at Wikipedia:NavFrame on Wikipedia. */
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;
}
/* Small reference list for Template:Reflist */
ol.references {
font-size: 100%;
}
.references-small {
font-size:90%;
}
.references-2column {
font-size:90%;
-moz-column-count:2;
column-count:2;
}
.same-bg {
background:none
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target, sup.reference:target, span.citation:target, cite:target {
background-color: #DEF;
}
/* 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;
}
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
display:none;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul { display: none; }
}