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 .sbtt-attributes div: Remove display: inline-block, when using float this is automatically changed in block which is also the default for div.
m Change css so that classes sbtt-something will only work when inside an element with class .sbtt
Line 5: Line 5:
  }
  }


td.sbtt-image {
.sbtt td.sbtt-image {
   position: relative;
   position: relative;
   padding-right: 5px;
   padding-right: 5px;
Line 11: Line 11:
  }
  }


.sbtt-image a img {
.sbtt sbtt-image a img {
   border: 1px solid #272727;
   border: 1px solid #272727;
  }
  }


.techcornersmall {
.sbtt .techcornersmall {
   position: absolute;
   position: absolute;
   top: 0;
   top: 0;
Line 22: Line 22:


/* header */
/* header */
.sbtt-header {
.sbtt .sbtt-header {
   margin-bottom: 5px;
   margin-bottom: 5px;
   border-bottom: 1px solid #272727;
   border-bottom: 1px solid #272727;
Line 29: Line 29:
  }
  }


.sbtt-ship-name {
.sbtt .sbtt-ship-name {
   height: 20px;
   height: 20px;
   white-space: nowrap;
   white-space: nowrap;
Line 36: Line 36:
  }
  }


.sbtt-ship-category {
.sbtt .sbtt-ship-category {
   font-size: 11px;
   font-size: 11px;
   line-height: 10px;
   line-height: 10px;
  }
  }


.sbtt-ship-group {
.sbtt .sbtt-ship-group {
   white-space: nowrap;
   white-space: nowrap;
   color: orange;
   color: orange;
  }
  }


.sbtt-ship-hull {
.sbtt .sbtt-ship-hull {
   white-space: nowrap;
   white-space: nowrap;
  }
  }


/* Highlights */
/* Highlights */
.sbtt-highlights {
.sbtt .sbtt-highlights {
   padding-bottom: 5px;
   padding-bottom: 5px;
  }
  }


.sbtt-highlights div {
.sbtt .sbtt-highlights div {
   height: 10px;
   height: 10px;
   color: khaki;
   color: khaki;
Line 62: Line 62:
  }
  }


/* Ship attributes */
/* *** Ship attributes *** */
.sbtt-attributes {
.sbtt .sbtt-attributes {
   float: left;
   float: left;
   width: 170px;
   width: 170px;
  }
  }


.sbtt-attributes div {
.sbtt .sbtt-attributes div {
   float: left;
   float: left;
   margin-right: 3px;
   margin-right: 3px;