More actions
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; | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
. | .sbtt-ship-name { | ||
height: 20px; | |||
color: white; | color: white; | ||
font | font: small-caps 16px/15px trebuchet MS; | ||
} | } | ||
.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; | ||
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 */ | ||
.sbtt-attributes { | .sbtt-attributes { | ||
float: left; | float: left; | ||
| Line 65: | Line 80: | ||
font-size: 10px; | font-size: 10px; | ||
line-height: 15px; | line-height: 15px; | ||
} | } | ||
| Line 90: | Line 95: | ||
<td> | <td> | ||
<div class='uniwiki-ship-tooltip-header'> | <div class='uniwiki-ship-tooltip-header'> | ||
<div class= | <div class="sbtt-ship-name">{{{shipname}}}</div> | ||
<div class= | <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|}}} | ||