Difference between revisions of "Template:NPCTableCSS"

From EVE University Wiki
Jump to: navigation, search
(Moved button a bit to align with padding)
(for correct position of [collapse] element in npc tables)
 
(One intermediate revision by one other user not shown)
Line 34: Line 34:
 
     -o-animation-direction: alternate;
 
     -o-animation-direction: alternate;
 
}
 
}
 +
 +
.wikitable.NPC {position: relative; 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>

Latest revision as of 07:15, 16 April 2020

Template documentation (for the above template, sometimes hidden or invisible)

This template gives NPC tables the CSS they need to look right. It should be included once on all pages that use {{NPCTableHead}}.

{{CMBSiteBox}} includes the CSS too so pages that use that do not need this template.
Visit Template:NPCTableCSS/doc to edit this text! (How does this work?) (Refresh this text - why?)