This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>Hardvice let's try the stylesheet... |
imported>Hardvice +TOC limits |
||
Line 113: | Line 113: | ||
list-style-image:url("http://heroeswiki.com/images/7/72/Plus.gif"); | list-style-image:url("http://heroeswiki.com/images/7/72/Plus.gif"); | ||
} | } | ||
/* 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-2 {display:none;} | |||
.toclimit-3 .toclevel-3 {display:none;} | |||
.toclimit-4 .toclevel-4 {display:none;} | |||
.toclimit-5 .toclevel-5 {display:none;} | |||
.toclimit-6 .toclevel-6 {display:none;} | |||
.toclimit-7 .toclevel-7 {display:none;} | |||
/* | /* | ||
</pre> | </pre> | ||
*/ | */ |
Revision as of 19:16, 14 May 2007
/* <pre> */ /** CSS placed here will be applied to all skins */ /* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 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 #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } /* Style for "notices" */ .notice { margin: 1em; padding: 0.2em; } #disambig { border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; } #spoiler { border-top: 2px solid #ddd; border-bottom:2px solid #ddd; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa 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; } .prophecy { padding-bottom: 1em; } .hoverbutton { display: inline-block; min-width: 50px; margin: 0 1em 0 1em; padding: 2px 5px 2px 5px; font-size:12px; font-family: Verdana, Geneva, sans-serif; font-weight: normal; text-decoration:none; text-align:center; background: #7F9FF9; color:black; border: 3px outset gray; vertical-align:middle; white-space:nowrap; } .hoverbutton:visited {color: #333; } .hoverbutton:hover {border: 3px inset gray;} .hoverbutton:active {color: red; border: 3px inset gray;} li.plus { list-style-image:url("http://heroeswiki.com/images/7/72/Plus.gif"); } /* 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-2 {display:none;} .toclimit-3 .toclevel-3 {display:none;} .toclimit-4 .toclevel-4 {display:none;} .toclimit-5 .toclevel-5 {display:none;} .toclimit-6 .toclevel-6 {display:none;} .toclimit-7 .toclevel-7 {display:none;} /* </pre> */