kill.ccss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. .avail:
  39. border: 1px solid #888
  40. table#victim:
  41. float: right
  42. table-layout: fixed
  43. width: 336px
  44. background-color: #181818
  45. td:nth-child(1):
  46. width: 65px
  47. line-height: 0
  48. td:nth-child(2):
  49. width: 271px
  50. padding-left: 8px
  51. table#attackers:
  52. float: right
  53. table-layout: fixed
  54. width: 336px
  55. margin-top: 10px
  56. td:
  57. height: 64px
  58. &:nth-child(1):
  59. width: 33px
  60. white-space: normal
  61. line-height: 0
  62. &:nth-child(2):
  63. width: 200px
  64. padding-left: 5px
  65. &:nth-child(3):
  66. width: 33px
  67. white-space: normal
  68. line-height: 0
  69. &:nth-child(4):
  70. width: 70px
  71. text-align: right
  72. padding-right: 8px
  73. tr:nth-child(even):
  74. background-color: #181818
  75. table#items:
  76. table-layout: fixed
  77. width: 500px
  78. margin-top: 10px
  79. th:nth-child(1):
  80. width: 33px
  81. th:nth-child(2):
  82. width: 417px
  83. th:nth-child(3):
  84. width: 50px
  85. .slot:
  86. background-color: #222
  87. padding: 2px 8px
  88. tr:nth-child(odd):
  89. background-color: #181818
  90. td:nth-child(1):not(.slot):
  91. line-height: 0
  92. td:nth-child(3):
  93. text-align: right
  94. font-weight: bold
  95. padding-right: 8px
  96. .dropped:
  97. background-color: #050
  98. .destroyed:
  99. color: #a22