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.

163 lines
2.6 KiB

  1. .blockrain-game-holder {
  2. position: relative;
  3. padding: 0;
  4. margin: 0;
  5. color: #ffffff;
  6. font-size: 18px;
  7. line-height: 140%;
  8. }
  9. /* Touch Controls */
  10. .blockrain-touch {
  11. position: absolute;
  12. width: 50px;
  13. height: 50px;
  14. display: block;
  15. border-radius: 100%;
  16. border: 1px solid white;
  17. background: rgba(255,255,255,0.2);
  18. z-index: 10;
  19. -webkit-touch-callout: none;
  20. -webkit-user-select: none;
  21. -moz-user-select: none;
  22. -ms-user-select: none;
  23. user-select: none;
  24. line-height: 50px;
  25. text-align: center;
  26. }
  27. .blockrain-touch:active {
  28. background: rgba(255,255,255,0.3);
  29. }
  30. .blockrain-touch-left {
  31. left: -60px;
  32. bottom: 10px;
  33. }
  34. .blockrain-touch-left::after {
  35. content: "<";
  36. }
  37. .blockrain-touch-right {
  38. right: -60px;
  39. bottom: 10px;
  40. }
  41. .blockrain-touch-right::after {
  42. content: ">";
  43. }
  44. .blockrain-touch-rotate-left {
  45. left: -60px;
  46. bottom: 80px;
  47. }
  48. .blockrain-touch-rotate-left::after {
  49. content: "<o";
  50. }
  51. .blockrain-touch-rotate-right {
  52. right: -60px;
  53. bottom: 80px;
  54. }
  55. .blockrain-touch-rotate-right::after {
  56. content: "o>";
  57. }
  58. .blockrain-touch-drop {
  59. left: 50%;
  60. margin-left: -25px;
  61. bottom: -60px;
  62. }
  63. .blockrain-touch-drop::after {
  64. content: ".";
  65. }
  66. /* Buttons */
  67. .blockrain-btn {
  68. position: relative;
  69. display: inline-block;
  70. background: none;
  71. color: #ffffff;
  72. text-decoration: none;
  73. border: 2px solid #ffffff;
  74. padding: 15px 30px;
  75. font-size: 18px;
  76. text-align: center;
  77. cursor: default;
  78. }
  79. .blockrain-btn::before {
  80. position: absolute;
  81. content: "";
  82. top: 100%;
  83. left: 0px;
  84. bottom: 0px;
  85. right: 0px;
  86. border: 2px solid #ffffff;
  87. border-top: none;
  88. border-right: none;
  89. transition: all 0.2s ease;
  90. }
  91. .blockrain-btn::after {
  92. position: absolute;
  93. content: "";
  94. top: 0px;
  95. left: 100%;
  96. bottom: 0px;
  97. right: 0px;
  98. border: 2px solid #ffffff;
  99. border-left: none;
  100. border-bottom: none;
  101. transition: all 0.2s ease;
  102. }
  103. .blockrain-btn:hover::before {
  104. left: 5px;
  105. bottom: -8px;
  106. right: -8px;
  107. }
  108. .blockrain-btn:hover::after {
  109. top: 5px;
  110. bottom: -8px;
  111. right: -8px;
  112. }
  113. /* Score */
  114. .blockrain-score-holder {
  115. position: absolute;
  116. top: 20px;
  117. right: 20px;
  118. text-align: right;
  119. }
  120. .blockrain-score-msg {
  121. font-size: 14px;
  122. line-height: 100%;
  123. margin-bottom: 0.2em;
  124. }
  125. .blockrain-score-num {
  126. font-size: 20px;
  127. font-weight: bold;
  128. }
  129. /* Menu */
  130. .blockrain-start-holder, .blockrain-game-over-holder {
  131. position: absolute;
  132. top: 0;
  133. left: 0;
  134. right: 0;
  135. bottom: 0;
  136. background: rgba(0,0,0,0.8);
  137. text-align: center;
  138. }
  139. .blockrain-start, .blockrain-game-over {
  140. position: absolute;
  141. top: 50%;
  142. width: 100%;
  143. transform: translateY(-50%);
  144. }
  145. .blockrain-start-msg, .blockrain-game-over-msg {
  146. font-size: 18px;
  147. margin-bottom: 30px;
  148. }