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 CSS ship attributes: Move inline css to class. Refactor css.
m CSS ship header: Move inline css to class. Refactor css.
Line 14: Line 14:
  }
  }


.techcornersmall {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 2px;
  margin-top: 0px;
}
/* header */
.uniwiki-ship-tooltip-header {
.uniwiki-ship-tooltip-header {
  margin-bottom: 5px;
   border-bottom: 1px solid #272727;
   border-bottom: 1px solid #272727;
  margin-bottom: 5px;
   padding-bottom: 5px;
   padding-bottom: 5px;
   text-align: center;
   text-align: center;
  }
  }


.uniwiki-ship-tooltip-header .tooltip-header-shipname {
.sbtt-ship-name {
  height: 20px;
   color: white;
   color: white;
   font-family: trebuchet MS;
   font: small-caps 16px/15px trebuchet MS;
  font-size: 16px;
  font-variant: small-caps;
  height: 20px;
  line-height: 15px;
  }
  }


.uniwiki-ship-tooltip-header .tooltip-header-category {
.uniwiki-ship-tooltip-header .tooltip-header-category,
.sbtt-ship-category {
  height: 10px;
   font-size: 11px;
   font-size: 11px;
  height: 10px;
   line-height: 10px;
   line-height: 10px;
}
.sbtt-ship-group {
  margin-right: 5px;
  color: orange;
}
.sbtt-ship-hull }
  white-space: no-wrap;
  }
  }


Line 49: Line 65:


/* Ship attributes */
/* Ship attributes */
.uniwiki-ship-tooltip-bottom,
.sbtt-attributes {
.sbtt-attributes {
   float: left;
   float: left;
Line 65: Line 80:
   font-size: 10px;
   font-size: 10px;
   line-height: 15px;
   line-height: 15px;
}
.techcornersmall {
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0px;
  left: 0px;
  margin-left: 2px;
  margin-top: 0px;
  }
  }


Line 90: Line 95:
   <td>
   <td>
     <div class='uniwiki-ship-tooltip-header'>
     <div class='uniwiki-ship-tooltip-header'>
     <div class='tooltip-header-shipname'>{{{shipname}}}</div>
     <div class="sbtt-ship-name">{{{shipname}}}</div>
     <div class='tooltip-header-category'><span style='color:orange;margin-right: 5px;'>{{{grouping|Unique Ships}}}</span><span>{{{hulltype|Unknown Class}}}</span></div>
     <div class="sbtt-ship-category"><span class="sbtt-ship-group">{{{grouping|Unique Ships}}}</span><span class="sbtt-ship-hull">{{{hulltype|Unknown Class}}}</span></div>
     </div>
     </div>
     {{#if: {{{highlights1|}}}
     {{#if: {{{highlights1|}}}