Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 6: Line 6:
 
}}
 
}}
  
|2=  <div class="sbtt">
+
|2=  <div>
  <table cellspacing='0'>
+
  <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><td>From draft</td></tr>
 
 
   </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:
 
  }
 
  }
  
.sbtt table {
+
/* *** Ship image *** */
  width: 100%;
 
}
 
 
 
/* 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;
  width: 16px;
 
  height: 16px;
 
 
  }
 
  }
  
/* 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 div.sbtt-highlights {
+
.sbtt .sbtt-highlights {
 
   padding-bottom: 5px;
 
   padding-bottom: 5px;
 
  }
 
  }
  
 
.sbtt .sbtt-highlights div {
 
.sbtt .sbtt-highlights div {
   display: block;
+
   height: 10px;
 
   color: khaki;
 
   color: khaki;
 
   font-size: 10px;
 
   font-size: 10px;
  height: 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 {
  display: inline-block;
 
 
   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?)