MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/* Hide page title on main page */ body.page-Terraria_Wiki h1.firstHeading { display:none; } /* -- */

/* Add diff accent to make even smaller changes visible */ .diffchange-inline { border: dashed #FF6666 1px; } /* -- */

/* 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; } .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; } /* -- */

/* "terraria"-classed tables */ table.terraria { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #AFCFE2 solid; padding: 0.2em; border-radius: .7em; -moz-border-radius: .7em; -webkit-border-radius: .7em; } .terraria th, .terraria td { padding: 0.2em; } .terraria th { background: #E4F0F7; color: #063B5E; text-align: center; } .terraria caption { font-weight: bold; } /* -- */

/* Auto line separators for tables */ table.lined td { border-bottom:1px #AFCFE2 solid; } table.lined tr:last-of-type td { border-bottom:0; } table tr.bottomline td { border-bottom:1px #AFCFE2 solid; } table tr.topline td { border-top:1px #AFCFE2 solid; } /* -- */

/* Hack for using "border-collapse" and "border-radius" in the same table display ...by using one table nested within another */ table.outer { white-space:nowrap; } table.inner { border-collapse:collapse; background:inherit; width:100%; } table.inner th { border:solid #fff; border-width:2px 2px 2px 2px; } /* table.inner th:first-of-type { border-width:0px 0px 0px 0px; } /* -- */

/* Custom list style for use in miniature bullet lists within infobox drop tables */ span.dropSub ul { list-style: none; margin-top: 0; margin-left: 0; padding-left: 0; } span.dropSub li { padding-left: 1em; text-indent: -1em; } span.dropSub li:before { content: "•"; } /* -- */

/* This is the style for the tabs of the tabber extension. */ body ul.tabbernav li a, body ul.tabbernav li a:link, body ul.tabbernav li a:visited, body ul.tabbernav li a:hover { border-radius: .5em .5em 0 0; } /* -- */

/* This removes brackets from collapse/expand links for collapsible elements with the "plaincollapse" class specified */ .plaincollapse .mw-collapsible-toggle { color:rgba(0, 0, 0, 0.0); } /* -- */

/* Other "plaincollapse" styling */ .plaincollapse .mw-collapsible-toggle a, .plaincollapse .mw-collapsible-toggle  a:link, .plaincollapse .mw-collapsible-toggle a:visited, .plaincollapse .mw-collapsible-toggle a:hover { font-weight:bold; color:#11688F; } /* -- */

/* Offset anchor links */ .anchor { display: block; height: 100px; margin-top: -100px; z-index:-9999 visibility: hidden; } /* -- */