not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
2.5 KiB

  1. #canvas {
  2. background-color: #C0C0C0;
  3. }
  4. .level {
  5. display: inline-block;
  6. margin-left: 20px;
  7. margin-bottom: 20px;
  8. }
  9. .player {
  10. display: inline-block;
  11. margin-left: 200px;
  12. margin-bottom: 20px;
  13. }
  14. .playboard {
  15. display: inline-block;
  16. margin-top: 5%;
  17. width: 100%;
  18. height: 400px;
  19. max-height: 100%;
  20. }
  21. .player-image {
  22. display: inline-block;
  23. width: 200px;
  24. max-width: 10%;
  25. height: 100%;
  26. background-image: url(../icons/player-icon.svg);
  27. background-size: 100%;
  28. background-repeat: no-repeat;
  29. background-position: center;
  30. }
  31. .computer-image {
  32. display: inline-block;
  33. width: 200px;
  34. max-width: 10%;
  35. height: 100%;
  36. background-image: url(../icons/computer-icon.svg);
  37. background-size: 100%;
  38. background-repeat: no-repeat;
  39. background-position: center;
  40. }
  41. .oponent-image {
  42. display: inline-block;
  43. width: 200px;
  44. max-width: 10%;
  45. height: 100%;
  46. background-image: url(../icons/player-icon.svg);
  47. background-size: 100%;
  48. background-repeat: no-repeat;
  49. background-position: center;
  50. }
  51. .empty-image {
  52. background-image: url(../icons/empty-icon.svg) !important;
  53. }
  54. .switch {
  55. display: inline-block;
  56. margin-left: 20px;
  57. margin-bottom: 20px;
  58. }
  59. .play {
  60. margin-top: 2.7%;
  61. margin-left: 45%;
  62. -webkit-user-select: none;
  63. -moz-user-select: none;
  64. -ms-user-select: none;
  65. user-select: none;
  66. }
  67. .renew {
  68. position: absolute;
  69. left: 400px;
  70. bottom: 20px;
  71. font-weight: bold;
  72. font-size: 20px;
  73. }
  74. .lol-box {
  75. width: 800px;
  76. max-width: 80%;
  77. height: 400px;
  78. display: inline-block;
  79. text-align: center;
  80. vertical-align: top;
  81. }
  82. .lol-item {
  83. width: 35px;
  84. max-width: 4%;
  85. height: 100%;
  86. margin-top: 10px;
  87. margin-left: 3%;
  88. display: inline-block;
  89. border-width: 1px;
  90. border-style: inset;
  91. border-color: darkgray;
  92. box-shadow: 3px -4px 4px 2px black;
  93. }
  94. .lol-item-selected {
  95. }
  96. .end-message {
  97. position: absolute;
  98. width: 100%;
  99. text-align: center;
  100. top: 24%;
  101. height: 200px;
  102. background-repeat: no-repeat;
  103. background-position: center;
  104. }
  105. .end-message-win {
  106. background-image: url(../icons/player-win.svg);
  107. }
  108. .end-message-lost {
  109. background-image: url(../icons/computer-win.svg);
  110. }
  111. .player-lost{
  112. background-image: url(../icons/player-lost.svg);
  113. }
  114. @media screen and (max-height: 620px) {
  115. .playboard {
  116. height: 300px;
  117. }
  118. .lol-box {
  119. height: 300px
  120. }
  121. }
  122. @media screen and (max-height: 520px) {
  123. .playboard {
  124. height: 200px;
  125. }
  126. .lol-box {
  127. height: 200px
  128. }
  129. .play {
  130. width: 50px;
  131. height: 50px;
  132. }
  133. }
  134. @media screen and (max-height: 320px) {
  135. .playboard {
  136. height: 150px;
  137. }
  138. .lol-box {
  139. height: 150px;
  140. }
  141. }