Difference between revisions of "Template:NPCTableCSS"

From EVE University Wiki
Jump to: navigation, search
m
(Extracted FlashyCSS)
Line 7: Line 7:
 
table.complex tr td.icon {text-align: center; padding: 0; }
 
table.complex tr td.icon {text-align: center; padding: 0; }
 
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; } }
 
@-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 {position: relative; margin-top: 0px;}
 
.wikitable.NPC {position: relative; margin-top: 0px;}
Line 45: Line 18:
 
.wikitable.NPC td.icon a img {margin: -6px; }
 
.wikitable.NPC td.icon a img {margin: -6px; }
 
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 1em;}
 
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 1em;}
}}<noinclude>
+
}}{{FlashyCSS}}<noinclude>
 
{{Documentation}}  
 
{{Documentation}}  
 
</noinclude>
 
</noinclude>

Revision as of 09:39, 23 April 2022

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