kill.ccss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. .tooltip:
  40. display: none
  41. position: absolute
  42. top: 32px
  43. left: 8px
  44. line-height: 1em
  45. padding: 8px 10px
  46. background-color: rgba(40, 40, 40, 0.9)
  47. white-space: nowrap
  48. text-align: center
  49. z-index: 1
  50. pointer-events: none
  51. &:hover .tooltip:
  52. display: block
  53. .avail:
  54. border: 1px solid #888
  55. table#victim:
  56. float: right
  57. table-layout: fixed
  58. width: 336px
  59. background-color: #181818
  60. td:nth-child(1):
  61. width: 65px
  62. line-height: 0
  63. td:nth-child(2):
  64. width: 271px
  65. padding-left: 8px
  66. table#attackers:
  67. float: right
  68. table-layout: fixed
  69. width: 336px
  70. margin-top: 10px
  71. th:
  72. &:nth-child(1):
  73. width: 33px
  74. &:nth-child(2):
  75. width: 200px
  76. &:nth-child(3):
  77. width: 33px
  78. &:nth-child(4):
  79. width: 70px
  80. td:
  81. height: 64px
  82. &:nth-child(1):
  83. white-space: normal
  84. line-height: 0
  85. &:nth-child(2):
  86. padding-left: 5px
  87. &:nth-child(3):
  88. white-space: normal
  89. line-height: 0
  90. &:nth-child(4):
  91. text-align: right
  92. padding-right: 8px
  93. td.attacker_type:
  94. height: auto
  95. line-height: normal
  96. background-color: #222
  97. padding: 2px 8px
  98. tr:nth-child(even):
  99. background-color: #181818
  100. table#items:
  101. table-layout: fixed
  102. width: 500px
  103. margin-top: 10px
  104. th:nth-child(1):
  105. width: 33px
  106. th:nth-child(2):
  107. width: 300px
  108. th:nth-child(3):
  109. width: 50px
  110. th:nth-child(4):
  111. width: 117px
  112. .slot:
  113. background-color: #222
  114. padding: 2px 8px
  115. tr:nth-child(even):
  116. background-color: #181818
  117. td:nth-child(1):not(.slot):
  118. line-height: 0
  119. td:nth-child(3):
  120. text-align: right
  121. font-weight: bold
  122. padding-right: 8px
  123. td:nth-child(4):
  124. text-align: right
  125. padding-right: 8px
  126. .dropped:
  127. background-color: #041
  128. .destroyed:
  129. color: #a22