style-desktop.dfd76.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. body {
  2. cursor: default;
  3. padding: 0;
  4. border: 0;
  5. margin: 0;
  6. text-align: center;
  7. background-color: white;
  8. font-family: Helvetica, Verdana, Arial, sans-serif;
  9. }
  10. body, canvas, div {
  11. outline: none;
  12. -moz-user-select: none;
  13. -webkit-user-select: none;
  14. -ms-user-select: none;
  15. -khtml-user-select: none;
  16. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  17. }
  18. /* Remove spin of input type number */
  19. input::-webkit-outer-spin-button,
  20. input::-webkit-inner-spin-button {
  21. /* display: none; <- Crashes Chrome on hover */
  22. -webkit-appearance: none;
  23. margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
  24. }
  25. #Cocos2dGameContainer {
  26. position: absolute;
  27. margin: 0;
  28. overflow: hidden;
  29. left: 0px;
  30. top: 0px;
  31. }
  32. canvas {
  33. background-color: rgba(0, 0, 0, 0);
  34. }
  35. a:link, a:visited {
  36. color: #000;
  37. }
  38. a:active, a:hover {
  39. color: #666;
  40. }
  41. p.header {
  42. font-size: small;
  43. }
  44. p.footer {
  45. font-size: x-small;
  46. }
  47. #splash {
  48. position: absolute;
  49. top: 0;
  50. left: 0;
  51. width: 100%;
  52. height: 100%;
  53. background: #171717 url(./splash.85cfd.png) no-repeat center;
  54. background-size: 350px;
  55. }
  56. .progress-bar {
  57. background-color: #1a1a1a;
  58. position: absolute;
  59. left: 50%;
  60. top: 80%;
  61. height: 5px;
  62. width: 300px;
  63. margin: 0 -150px;
  64. border-radius: 5px;
  65. box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;
  66. }
  67. .progress-bar span {
  68. display: block;
  69. height: 100%;
  70. border-radius: 5px;
  71. box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
  72. transition: width .4s ease-in-out;
  73. background-color: #3dc5de;
  74. }
  75. .stripes span {
  76. background-size: 30px 30px;
  77. background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
  78. transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
  79. transparent 75%, transparent);
  80. animation: animate-stripes 1s linear infinite;
  81. }
  82. @keyframes animate-stripes {
  83. 0% {background-position: 0 0;} 100% {background-position: 60px 0;}
  84. }
  85. h1 {
  86. color: #444;
  87. text-shadow: 3px 3px 15px;
  88. }
  89. #GameDiv {
  90. width: 800px;
  91. height: 450px;
  92. margin: 0 auto;
  93. background: black;
  94. position: relative;
  95. border: 3px solid black;
  96. border-radius: 6px;
  97. box-shadow: 0 5px 40px #333
  98. }