kill.ccss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. #wrapper:
  2. padding: 20px
  3. #ship:
  4. float: left
  5. width: 356px // 256 + 32 * 2 + 32 (last 32 is for medium charges)
  6. height: 320px
  7. line-height: 0
  8. background-position: 32px 32px
  9. background-repeat: no-repeat
  10. #high:
  11. margin-left: 32px
  12. #high_charges:
  13. display: inline-block;
  14. margin-left: 32px
  15. #medium:
  16. width: 32px
  17. float: right
  18. #medium_charges:
  19. width: 32px
  20. float: right
  21. #rig:
  22. width: 32px
  23. float: left
  24. margin-top: 48px
  25. #subsystem:
  26. width: 32px
  27. float: left
  28. margin-top: 16px
  29. #low:
  30. margin-left: 32px
  31. #low_charges:
  32. display: inline-block
  33. margin: 16px 0 0 32px
  34. .slot:
  35. display: inline-block
  36. width: 32px
  37. height: 32px
  38. position: relative // for .tooltip
  39. &:hover .tooltip:
  40. display: block
  41. .avail:
  42. border: 1px solid #888
  43. table#victim:
  44. float: right
  45. table-layout: fixed
  46. width: 336px
  47. background-color: #181818
  48. td:nth-child(1):
  49. width: 65px
  50. line-height: 0
  51. td:nth-child(2):
  52. width: 271px
  53. padding-left: 8px
  54. table#attackers:
  55. float: right
  56. table-layout: fixed
  57. width: 336px
  58. margin-top: 10px
  59. th:
  60. &:nth-child(1):
  61. width: 33px
  62. &:nth-child(2):
  63. width: 200px
  64. &:nth-child(3):
  65. width: 33px
  66. &:nth-child(4):
  67. width: 70px
  68. td:
  69. height: 66px
  70. &:nth-child(1):
  71. white-space: normal
  72. line-height: 0
  73. &:nth-child(2):
  74. padding-left: 5px
  75. &:nth-child(3):
  76. white-space: normal
  77. line-height: 0
  78. overflow: visible
  79. > div:
  80. position: relative // for .tooltip
  81. &:hover .tooltip:
  82. display: block
  83. &:nth-child(4):
  84. text-align: right
  85. padding-right: 8px
  86. td.attacker_type:
  87. height: auto
  88. line-height: normal
  89. background-color: #222
  90. padding: 2px 8px
  91. tr:nth-child(even):
  92. background-color: #181818
  93. table#items:
  94. table-layout: fixed
  95. width: 500px
  96. margin-top: 10px
  97. th:nth-child(1):
  98. width: 33px
  99. th:nth-child(2):
  100. width: 285px
  101. th:nth-child(3):
  102. width: 65px
  103. th:nth-child(4):
  104. width: 117px
  105. .slot:
  106. background-color: #222
  107. padding: 2px 8px
  108. tr:nth-child(even):
  109. background-color: #181818
  110. td:nth-child(1):not(.slot):
  111. line-height: 0
  112. height: 34px
  113. td:nth-child(3):
  114. text-align: right
  115. font-weight: bold
  116. padding-right: 8px
  117. td:nth-child(4):
  118. text-align: right
  119. padding-right: 8px
  120. .dropped:
  121. background-color: #041
  122. .destroyed:
  123. color: #a22
  124. .tooltip:
  125. display: none
  126. position: absolute
  127. top: 32px
  128. left: 8px
  129. line-height: 1em
  130. padding: 8px 10px
  131. background-color: rgba(40, 40, 40, 0.9)
  132. white-space: nowrap
  133. text-align: center
  134. z-index: 1
  135. pointer-events: none