game.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /*Stylesheet*/
  2. * {
  3. -webkit-tap-highlight-color: transparent;
  4. }
  5. body {
  6. background: #222;
  7. color:#cccccc;
  8. margin: 0px;
  9. padding: 0px;
  10. border: 0px;
  11. -webkit-user-select: none;
  12. -moz-user-select: none;
  13. -khtml-user-select: none;
  14. -o-user-select: none;
  15. -ms-user-select: none;
  16. touch-action:none;
  17. -webkit-touch-callout: none;
  18. -ms-touch-action:none;
  19. -webkit-text-size-adjust: none;
  20. }
  21. canvas {
  22. image-rendering: optimizeSpeed;
  23. -webkit-interpolation-mode: nearest-neighbor;
  24. margin: 0px;
  25. padding: 0px;
  26. border: 0px;
  27. }
  28. :-webkit-full-screen #canvas {
  29. width: 100%;
  30. height: 100%;
  31. }
  32. div.gm4html5_div_class
  33. {
  34. margin: 0px;
  35. padding: 0px;
  36. border: 0px;
  37. }
  38. /* START - Login Dialog Box */
  39. div.gm4html5_login
  40. {
  41. padding: 20px;
  42. position: absolute;
  43. border: solid 2px #000000;
  44. background-color: #404040;
  45. color:#00ff00;
  46. border-radius: 15px;
  47. box-shadow: #101010 20px 20px 40px;
  48. }
  49. div.gm4html5_cancel_button
  50. {
  51. float: right;
  52. }
  53. div.gm4html5_login_button
  54. {
  55. float: left;
  56. }
  57. div.gm4html5_login_header
  58. {
  59. text-align: center;
  60. }
  61. /* END - Login Dialog Box */
  62. :-webkit-full-screen {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. #sg-orient-screen {
  67. position: absolute;
  68. width: 100%;
  69. height: 100%;
  70. background: url('orientback.png') center center no-repeat;
  71. z-index: 15;
  72. background-size: 50%;
  73. background-color: #70FFFF;
  74. display: none;
  75. }
  76. #sg-loading-bar {
  77. width: 0px;
  78. height: 0px;
  79. left: 0px;
  80. top: 0px;
  81. background-size: 0px;
  82. background: url('loadbar.gif');
  83. z-index: 8;
  84. display: block;
  85. }
  86. #sg-loading-bar-back {
  87. position: absolute;
  88. width: 0px;
  89. height: 0px;
  90. left: 0px;
  91. top: 0px;
  92. background-size: cover;
  93. background: url('loadbarback.png');
  94. z-index: 7;
  95. display: block;
  96. }
  97. #sg-loading-screen {
  98. position: absolute;
  99. width: 100%;
  100. height: 100%;
  101. background: url('splash.jpg') center center no-repeat;
  102. z-index: 6;
  103. background-size: auto 100%;
  104. display: block;
  105. }
  106. #sg-ad-screen {
  107. position: absolute;
  108. width: 100%;
  109. height: 100%;
  110. background: #000;
  111. z-index: 10;
  112. display: none;
  113. }
  114. #sg-ad-cont {
  115. position: absolute;
  116. left: 0px;
  117. top: 0px;
  118. border: 0;
  119. background: #000;
  120. width: 100%;
  121. height: 100%;
  122. z-index: 11;
  123. display: block;
  124. }
  125. #sg-ad-text {
  126. position: absolute;
  127. width: 100%;
  128. height: 20px;
  129. background: #000;
  130. text-align: center;
  131. font-size: 16px;
  132. opacity: 0.5;
  133. z-index: 12;
  134. display: block;
  135. }
  136. #sg-ad-but {
  137. position: absolute;
  138. width: 30px;
  139. height: 30px;
  140. right:0px;
  141. top: 0px;
  142. z-index: 13;
  143. display: block;
  144. }
  145. #sg-cross-bar {
  146. position: absolute;
  147. width: 100%;
  148. height: 85px;
  149. left:0px;
  150. bottom: 0px;
  151. background: #444;
  152. border-top: 2px solid black;
  153. z-index: 9;
  154. display: none;
  155. }