gamestyles.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*Stylesheet*/
  2. * {
  3. -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
  4. }
  5. BODY, HTML {
  6. -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
  7. -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
  8. -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
  9. -webkit-tap-highlight-color: transparent;
  10. margin: 0;
  11. padding: 0;
  12. font-family: Arial, Verdana, sans-serif;
  13. font-size: 12px;
  14. font-weight: normal;
  15. color: #ccc;
  16. background-color: #000000;
  17. overflow: hidden;
  18. }
  19. .loader {
  20. width: 100%;
  21. height: 50px;
  22. position: absolute;
  23. text-align:center;
  24. margin-top: 250px;
  25. background: url('../assets/img/loader.gif') no-repeat 50% 50%;
  26. display: block !important;
  27. }
  28. .gameContainer {
  29. position: relative;
  30. }
  31. .canvasOverlay {
  32. position: absolute;
  33. overflow: hidden;
  34. width: 100%;
  35. height: 100%;
  36. top: 0;
  37. left: 0;
  38. }
  39. .gameCanvas {
  40. position: absolute;
  41. width: 100%;
  42. height: 100%;
  43. top: 0;
  44. left: 0;
  45. }