main.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. body {
  2. background-color: black;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .container {
  7. position: relative;
  8. width: 1000px;
  9. height: 500px;
  10. left: 50%;
  11. margin-left: -500px;
  12. }
  13. .scribble-canvas {
  14. z-index: 500;
  15. left: 0px;
  16. top: 0px;
  17. }
  18. .backing {
  19. background-color:white;
  20. left:0px;
  21. top:0px;
  22. }
  23. #controls {
  24. position: fixed;
  25. top: 10px;
  26. left: 10px;
  27. z-index: 999;
  28. }
  29. #controls button {
  30. float: left;
  31. background-color: gray;
  32. }
  33. #controls button.active {
  34. background-color: orange;
  35. }
  36. .overlay {
  37. position:absolute;
  38. left: 0px;
  39. top: 0px;
  40. width: 1000px;
  41. height: 500px;
  42. z-index: 600;
  43. /* font-size: 50px; */
  44. /* color: red; */
  45. /* text-align: center; */
  46. /* margin-top: 200px; */
  47. }
  48. /* loading screen */
  49. .loadscreen {
  50. width: 1000px;
  51. display: block;
  52. margin: 0 auto;
  53. }
  54. .shading1 {
  55. width: 450px;
  56. height: 500px;
  57. background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. }
  62. .shading2 {
  63. width: 350px;
  64. height: 500px;
  65. background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
  66. position: absolute;
  67. right: 0;
  68. top: 0;
  69. }
  70. .instructions {
  71. width: 300px;
  72. position: absolute;
  73. top: 200px;
  74. left: 50%;
  75. text-align: center;
  76. font-size: 20px;
  77. font-family: sans-serif;
  78. color: rgb(92, 30, 10);
  79. margin-left: -155px;
  80. }
  81. .instructions > h2 {
  82. font-size: 19pt;
  83. }
  84. .loading, .play {
  85. font-family: sans-serif;
  86. position: absolute;
  87. top: 430px;
  88. width: 100%;
  89. font-size: 20px;
  90. text-align: center;
  91. }
  92. .loadbar {
  93. width: 250px;
  94. height: 15px;
  95. border: 2px solid white;
  96. background-color: white;
  97. position: absolute;
  98. top: 460px;
  99. left: 50%;
  100. margin-left: -125px;
  101. border-radius: 4px;
  102. }
  103. .loading-progress {
  104. width: 1%;
  105. height: 100%;
  106. background-color: blue;
  107. }
  108. .winImage {
  109. position: absolute;
  110. top: -115px;
  111. }
  112. .winnerbox {
  113. width: 400px;
  114. height: 200px;
  115. background-color: lightblue;
  116. position: absolute;
  117. top: 150px;
  118. left: 300px;
  119. border-radius: 0 0 10px 10px;
  120. font-family: sans-serif;
  121. padding-top: 30px;
  122. }
  123. h1 {
  124. text-align: center;
  125. font-size: 30pt;
  126. color: brown;
  127. margin: 40px;
  128. }
  129. .winnerbox .instructions {
  130. top: 100px;
  131. }
  132. .winnerbox .instructions2 {
  133. top: 100px;
  134. width: 400px;
  135. text-align: center;
  136. font-size: 20px;
  137. font-family: sans-serif;
  138. color: rgb(92, 30, 10);
  139. position: absolute;
  140. }
  141. .winnerbox .play {
  142. top: 150px;
  143. }
  144. .shadow {
  145. background-color: #000000;
  146. opacity: .5;
  147. }