Difference between revisions of "Template:NPCTableCSS"

From EVE University Wiki
Jump to: navigation, search
(Moved button a bit to align with padding)
(removed margin-top from table and adjusted padding of the 'collapse' link, in prep for 1.30. see also Template:NPCTableHead)
Line 34: Line 34:
 
     -o-animation-direction: alternate;
 
     -o-animation-direction: alternate;
 
}
 
}
 +
 +
.wikitable.NPC {margin-top: 0px;}
 
.wikitable.NPC .head-first {min-width: 360px; }
 
.wikitable.NPC .head-first {min-width: 360px; }
 
.wikitable.NPC .head th p {display: none; }
 
.wikitable.NPC .head th p {display: none; }
Line 42: Line 44:
 
.wikitable.NPC td.icon a {padding: 0 0.2em; }
 
.wikitable.NPC td.icon a {padding: 0 0.2em; }
 
.wikitable.NPC td.icon a img {margin: -6px; }
 
.wikitable.NPC td.icon a img {margin: -6px; }
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 20px; }
+
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 1em;}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}  
 
{{Documentation}}  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 07:10, 19 August 2019

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template gives NPC tables the CSS they need to look right. It should be included once on all pages that use {{NPCTableHead}}, {{Expected NPC}} or {{Loot table}}.
This template is included in {{CMBSiteInfo}} and {{CMBSiteBox}}(deprecated) so that articles that use one of these templates do not need {{NPCTableCSS}} anymore.
Dependencies
Used by
{{NPCTableHead}}
{{NPCTableRow}}
{{NPCTableSeparator}}
{{Expected NPC}}
{{Loot table}}
Included in
{{CMBSiteInfo}}
{{CMBSiteBox}} deprecated.
Syntax
{{NPCTableCSS}}
Visit Template:NPCTableCSS/doc to edit this text! (How does this work?) (Refresh this text - why?)