Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipBoxTooltip: Difference between revisions

Template page
m Ship attributes: Remove middle option from Image because it is the default. Rewrite so slot info is always on 1 line. Same for powergrid and cpu.
m CSS highlights: Move inline css to class. Refactor css
Line 36: Line 36:
  }
  }


.uniwiki-ship-tooltip-middle .tt-hl {
/* Highlights */
div.sbtt-highlights {
  padding-bottom: 5px;
}
 
.sbtt-highlights div {
  height: 10px;
   color: khaki;
   color: khaki;
   font-size: 10px;
   font-size: 10px;
  height: 10px;
   line-height: 12px;
   line-height: 12px;
  }
  }
Line 91: Line 96:
     </div> -->
     </div> -->
     {{#if: {{{highlights1|}}}
     {{#if: {{{highlights1|}}}
     |<div class='uniwiki-ship-tooltip-middle' style='padding-bottom: 5px;>
     |<div class="sbtt-highlights">
       <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px]]{{{highlights1|}}}</div><!--
       <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px]]{{{highlights1|}}}</div><!--
-->  {{#if: {{{highlights2|}}}|<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px]]{{{highlights2|}}}</div>}}<!--  
-->  {{#if: {{{highlights2|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights2|}}}</div>}}<!--  
-->  {{#if: {{{highlights3|}}}|<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px]]{{{highlights3|}}}</div>}}<!--
-->  {{#if: {{{highlights3|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights3|}}}</div>}}<!--
-->  {{#if: {{{highlights4|}}}|<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px]]{{{highlights4|}}}</div>}}
-->  {{#if: {{{highlights4|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights4|}}}</div>}}
     </div>
     </div>
     }}
     }}