Difference between revisions of "Template:NPCTableCSS"

From EVE University Wiki
Jump to: navigation, search
(Moved button a bit to align with padding)
(Remove call to {{FlashyCSS}}.)
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
h4, h5, h6 {line-height: 1; padding-top: 0; padding-bottom: 0;}
 
h4, h5, h6 {line-height: 1; padding-top: 0; padding-bottom: 0;}
  
@keyframes flashy { 50% { opacity: 0; } }
+
.wikitable.NPC {position: relative; margin-top: 0px;}
@-webkit-keyframes flashy { 50% { opacity: 0; } }
 
@-moz-keyframes flashy { 50% { opacity: 0; } }
 
@-o-keyframes flashy { 50% { opacity: 0; } }
 
.flashy img {
 
    animation-name: flashy;
 
    animation-duration: 1s;
 
    animation-timing-function: linear;
 
    animation-iteration-count: infinite;
 
    animation-direction: alternate;
 
    -webkit-animation-name: flashy;
 
    -webkit-animation-duration: 1s;
 
    -webkit-animation-timing-function: linear;
 
    -webkit-animation-iteration-count: infinite;
 
    -webkit-animation-direction: alternate;
 
    -moz-animation-name: flashy;
 
    -moz-animation-duration: 1s;
 
    -moz-animation-timing-function: linear;
 
    -moz-animation-iteration-count: infinite;
 
    -moz-animation-direction: alternate;
 
    -o-animation-name: flashy;
 
    -o-animation-duration: 1s;
 
    -o-animation-timing-function: linear;
 
    -o-animation-iteration-count: infinite;
 
    -o-animation-direction: alternate;
 
}
 
 
.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 17:
 
.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]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:58, 24 January 2023

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