Difference between revisions of "Template:NPCTableCSS"

From EVE University Wiki
Jump to: navigation, search
(removed margin-top from table and adjusted padding of the 'collapse' link, in prep for 1.30. see also Template:NPCTableHead)
(for correct position of [collapse] element in npc tables)
Line 35: Line 35:
 
}
 
}
  
.wikitable.NPC {margin-top: 0px;}
+
.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; }

Revision as of 07:15, 16 April 2020

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?)