style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. * {
  2. -webkit-touch-callout: none;
  3. -webkit-user-select: none;
  4. -khtml-user-select: none;
  5. -moz-user-select: none;
  6. -ms-user-select: none;
  7. user-select: none;
  8. padding:0;
  9. margin:0;
  10. }
  11. .tweet {
  12. font-size:2em;
  13. color:#4099FF;
  14. }
  15. @media only screen
  16. and (min-device-width : 320px)
  17. and (max-device-width : 480px) {
  18. .tweet{
  19. font-size:1em;
  20. }
  21. }
  22. a {
  23. color:#232323;
  24. }
  25. .twitter-share-button { width: 90px !important; }
  26. .navbar {
  27. width: 80%;
  28. margin: 0 auto;
  29. /*background-color: #34495e;*/
  30. padding: 2.5vmin 0;
  31. text-align: center;
  32. }
  33. .navbar li {
  34. display: inline-block;
  35. text-align: center;
  36. width: calc( 33% - 1.25vmin );
  37. /*pointer-events: none;*/
  38. }
  39. #title {
  40. color: #ecf0f1;
  41. font-size: 6vmin;
  42. }
  43. #score {
  44. font-size: 4vmin;
  45. text-align: center;
  46. width: 30%;
  47. }
  48. #highscores {
  49. text-align: center;
  50. list-style: none;
  51. }
  52. .not-visible {
  53. display: none;
  54. }
  55. button {
  56. color: #ecf0f1;
  57. background-color: rgba(0,0,0,0);
  58. border: 0;
  59. }
  60. button:focus {
  61. outline: 0;
  62. }
  63. #openSideBar {
  64. position: absolute;
  65. top: 2px;
  66. left: 4px;
  67. z-index: 3002;
  68. color:#232323;
  69. cursor:pointer;
  70. }
  71. #pauseBtn {
  72. position: absolute;
  73. margin-bottom: 3px;
  74. width:60px;
  75. height:60px;
  76. margin-right: 7px;
  77. z-index: 3000;
  78. color:#232323;
  79. cursor:pointer;
  80. position:absolute;
  81. right:0;
  82. bottom:0;
  83. z-index:99;
  84. }
  85. #pauseBtnInner {
  86. margin-left:35px;
  87. margin-top:28px;
  88. }
  89. #restartBtnInner {
  90. margin-top:28px;
  91. }
  92. #restartBtn {
  93. position:absolute;
  94. left:0;
  95. width:60px;
  96. height:60px;
  97. bottom:0;
  98. z-index:99;
  99. position: absolute;
  100. margin-bottom: 3px;
  101. margin-left: 7px;
  102. z-index:99;
  103. color:#232323;
  104. cursor:pointer;
  105. }
  106. #helpScreen {
  107. height:480px;
  108. width:320px;
  109. z-index:3001;
  110. position:fixed;
  111. top:18px;
  112. margin:0;
  113. font-size:15px;
  114. text-align:center;
  115. display:none;
  116. color:#232323;
  117. background-color:rgba(236,240,241,.7);
  118. }
  119. #colorBlindBtn {
  120. position:absolute;
  121. width:120px;
  122. height:20px;
  123. z-index:9999;
  124. left: 47%;
  125. top:65%;
  126. font-size:15px;
  127. text-align:center;
  128. color:#232323;
  129. cursor:pointer;
  130. }
  131. .instructions_body {
  132. margin-left:3px;
  133. width:calc(100% - 12px) ! important;
  134. }
  135. @media only screen and (min-device-width : 320px)
  136. and (max-device-width : 480px) {
  137. #helpScreen {
  138. position:fixed;
  139. top:2px;
  140. padding-top:20px;
  141. margin:0;
  142. width:100%;
  143. height:100%;
  144. font-size:13px;
  145. text-align:center;
  146. background-color:rgba(255,255,255,0.9);
  147. }
  148. .instructions_body {
  149. /*margin-top:20px;*/
  150. margin-left:3px;
  151. width:calc(100% - 12px) ! important;
  152. }
  153. }
  154. #overlay {
  155. position:absolute;
  156. height:20%;
  157. width:100%;
  158. left:50%;
  159. top:50%;
  160. margin-left:-50%;
  161. margin-top:-10%;
  162. z-index:3000;
  163. color:#232323;
  164. text-align:center;
  165. }
  166. .helpText {
  167. z-index:3001;
  168. }
  169. .centeredHeader {
  170. font-size:5em;
  171. text-align:center;
  172. line-height:1em;
  173. }
  174. .centeredSubHeader {
  175. font-size:2em;
  176. text-align:center;
  177. }
  178. .centeredSubSubHeader {
  179. font-size:1.4em;
  180. text-align:center;
  181. }
  182. #attributions {
  183. color:#232323;
  184. position:absolute;
  185. width:100%;
  186. left: 0%;
  187. top: 72%;
  188. text-align:center;
  189. font-size:1.25em;
  190. z-index:98;
  191. }
  192. @media only screen
  193. and (min-device-width : 320px)
  194. and (max-device-width : 580px) {
  195. .centeredHeader {
  196. font-size:2em;
  197. text-align:center;
  198. line-height:0.6em;
  199. }
  200. #attributions {
  201. font-size:.7em;
  202. }
  203. .centeredSubHeader {
  204. font-size:1em;
  205. text-align:center;
  206. }
  207. #overlay {
  208. margin-top: -20%;
  209. }
  210. }
  211. .blur {
  212. opacity:0.1;
  213. }
  214. @font-face {
  215. font-family: 'Roboto';
  216. font-style: normal;
  217. font-weight: 400;
  218. src: local('Roboto Regular'), local('Roboto-Regular'), url("fonts/roboto.woff") format('woff');
  219. }
  220. @font-face {
  221. font-family: 'Q';
  222. font-style: normal;
  223. font-weight: 400;
  224. src: local('Q Regular'), local('Q-Regular'), url("fonts/QuattrocentoSans-Regular.ttf") format('ttf');
  225. }
  226. * {
  227. padding: 0;
  228. margin: 0;
  229. }
  230. body {
  231. color: #ecf0f1;
  232. font-family: 'Roboto', sans-serif;
  233. background-color:#ecf0f1;
  234. }
  235. #clickToExit {
  236. cursor:pointer;
  237. }
  238. #canvas {
  239. position: absolute;
  240. left:0;
  241. right:0;
  242. height:100%;
  243. width:100%;
  244. background-color:#ecf0f1;
  245. z-index:3;
  246. }
  247. #title {
  248. z-index:99;
  249. margin-top:20px;
  250. color:#2c3e50;
  251. }
  252. .unselectable {
  253. -webkit-touch-callout: none;
  254. -webkit-user-select: none;
  255. -khtml-user-select: none;
  256. -moz-user-select: none;
  257. -ms-user-select: none;
  258. user-select: none;
  259. }
  260. #bottombar {
  261. padding:0;
  262. position:fixed;
  263. width:1000px;
  264. text-align:center;
  265. left:50%;
  266. margin-left:-510px;
  267. bottom:10px;
  268. z-index:98;
  269. }