Advertisement
Guest User

Untitled

a guest
Jul 17th, 2016
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. body {
  2. width: 280px;
  3. margin: 0;
  4. padding: 0;
  5. }
  6.  
  7. .shooter-1 {
  8. padding: 55px 0 55px 0;
  9. border-bottom: 1px dashed #cccccc;
  10. background: #fcf8e3;
  11. }
  12.  
  13. .shooter-2 {
  14. padding: 55px 0 55px 0;
  15. background: #d9edf7;
  16. }
  17.  
  18. .target {
  19. width: 200px;
  20. height: 25px;
  21. margin: 0 auto;
  22. padding: 10px 15px 10px 15px;
  23. border-radius: 2px;
  24. background: white;
  25. box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  26. overflow: hidden;
  27. list-style: none;
  28. }
  29.  
  30. li {
  31. position: relative;
  32. float: left;
  33. width: 22px;
  34. height: 22px;
  35. margin-right: 20px;
  36. border: 1px solid black;
  37. border-radius: 50%;
  38. background: #333333;
  39. font-size: 0;
  40. }
  41.  
  42. li:last-child {
  43. margin-right: 0;
  44. }
  45.  
  46. .hitbox {
  47. width: 10px;
  48. height: 10px;
  49. margin: 6px auto;
  50. border-radius: 50%;
  51. background: #999999;
  52. }
  53.  
  54. .lever {
  55. position: absolute;
  56. top: -2px;
  57. left: -2px;
  58. width: 26px;
  59. height: 26px;
  60. border-radius: 50%;
  61. background: #f5f5f5;
  62. box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  63. }
  64.  
  65. span {
  66. position: absolute;
  67. top: 12px;
  68. left: 11px;
  69. width: 5px;
  70. height: 25px;
  71. background: #f5f5f5;
  72. box-shadow:
  73. -1px 15px 2px rgba(0, 0,0 , 0.3),
  74. 1px 15px 2px rgba(0, 0, 0, 0.3);
  75. }
  76.  
  77. .miss .lever {
  78. display: none;
  79. }
  80.  
  81. .miss span {
  82. display: none;
  83. }
  84.  
  85. .shooter-2 li:nth-child(n+4) .lever {
  86. display: none;
  87. }
  88.  
  89. .shooter-2 li:nth-child(1) .lever{
  90. display: none;
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement