kill.ccss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. td:
  72. height: 64px
  73. &:nth-child(1):
  74. width: 33px
  75. white-space: normal
  76. line-height: 0
  77. &:nth-child(2):
  78. width: 200px
  79. padding-left: 5px
  80. &:nth-child(3):
  81. width: 33px
  82. white-space: normal
  83. line-height: 0
  84. &:nth-child(4):
  85. width: 70px
  86. text-align: right
  87. padding-right: 8px
  88. tr:nth-child(even):
  89. background-color: #181818
  90. table#items:
  91. table-layout: fixed
  92. width: 500px
  93. margin-top: 10px
  94. th:nth-child(1):
  95. width: 33px
  96. th:nth-child(2):
  97. width: 417px
  98. th:nth-child(3):
  99. width: 50px
  100. .slot:
  101. background-color: #222
  102. padding: 2px 8px
  103. tr:nth-child(odd):
  104. background-color: #181818
  105. td:nth-child(1):not(.slot):
  106. line-height: 0
  107. td:nth-child(3):
  108. text-align: right
  109. font-weight: bold
  110. padding-right: 8px
  111. .dropped:
  112. background-color: #050
  113. .destroyed:
  114. color: #a22