More actions
m Coding and testing. |
m Coding and testing. |
||
| Line 6: | Line 6: | ||
}} | }} | ||
|2= <div | |2= <div> | ||
<table | <table class="sbtt"> | ||
<tr> | <tr> | ||
<td class="sbtt-image"><div class="sbtt-image">[[Image:{{#if: {{{shipimg|}}} | <td class="sbtt-image"><div class="sbtt-image">[[Image:{{#if: {{{shipimg|}}} | ||
| Line 35: | Line 35: | ||
</div> | </div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr><td>From draft</td></tr> | |||
</table> | </table> | ||
</div> | </div> | ||
| Line 43: | Line 43: | ||
-->{{#css: | -->{{#css: | ||
<!-- sbtt - ShipBoxTooltip --> | <!-- sbtt - ShipBoxTooltip --> | ||
.sbtt { | .sbtt { | ||
/* This is a container class | /* This is a container class | ||
| Line 49: | Line 50: | ||
} | } | ||
/* *** Ship image *** */ | |||
/* Ship image */ | |||
.sbtt td.sbtt-image { | .sbtt td.sbtt-image { | ||
position: relative; | position: relative; | ||
| Line 63: | Line 60: | ||
position: relative; | position: relative; | ||
top: 2px; | top: 2px; | ||
} | |||
.sbtt-image a img { | |||
border: 1px solid #272727; | |||
} | } | ||
| Line 69: | Line 70: | ||
top: 0; | top: 0; | ||
left: 1px; | left: 1px; | ||
} | } | ||
/* Header */ | /* *** Header *** */ | ||
.sbtt .sbtt-header { | .sbtt .sbtt-header { | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
| Line 86: | Line 85: | ||
white-space: nowrap; | white-space: nowrap; | ||
color: white; | color: white; | ||
font: small-caps 16px trebuchet MS; | font: small-caps 16px/15px trebuchet MS; | ||
} | } | ||
| Line 103: | Line 102: | ||
} | } | ||
/* Highlights */ | /* *** Highlights *** */ | ||
.sbtt | .sbtt .sbtt-highlights { | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
} | } | ||
.sbtt .sbtt-highlights div { | .sbtt .sbtt-highlights div { | ||
height: 10px; | |||
color: khaki; | color: khaki; | ||
font-size: 10px; | font-size: 10px; | ||
line-height: 12px; | line-height: 12px; | ||
} | } | ||
/* Attributes */ | /* *** Attributes *** */ | ||
.sbtt div.sbtt-attributes { | .sbtt div.sbtt-attributes { | ||
float: left; | float: left; | ||
| Line 123: | Line 121: | ||
.sbtt .sbtt-attributes div { | .sbtt .sbtt-attributes div { | ||
float: left; | float: left; | ||
margin-right: 3px; | margin-right: 3px; | ||
Revision as of 11:26, 19 May 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)