main.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /*
  2. Copyright (c) 2010, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.com/yui/license.html
  5. version: 3.2.0
  6. build: 2676
  7. */
  8. html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
  9. html {
  10. -webkit-user-select: none;
  11. cursor: caret;
  12. background: #000;
  13. }
  14. body {
  15. font-family: "Microsoft YaHei","proxima-nova-1","proxima-nova-2", arial, sans-serif;
  16. margin: 0;
  17. padding: 0;
  18. overflow: hidden;
  19. font-size: 62.5%;
  20. }
  21. h1 {
  22. display: block;
  23. position: absolute;
  24. top: 30px;
  25. left: 30px;
  26. width: 268px;
  27. height: 30px;
  28. background: url(images/logo.png);
  29. overflow: hidden;
  30. text-indent: 300px;
  31. }
  32. h2 {
  33. color: #fff;
  34. font-size: 1.3em;
  35. margin-bottom: 0.2em;
  36. font-weight: bold;
  37. }
  38. a {
  39. color: #c0fdf7;
  40. text-decoration: none;
  41. }
  42. a:hover {
  43. color: #fff;
  44. text-decoration: underline;
  45. }
  46. p {
  47. color: #999999;
  48. font-size: 1.3em;
  49. margin-bottom:0.5em;
  50. }
  51. strong {
  52. font-weight:bold;
  53. }
  54. /*#ui {
  55. display: none;
  56. }*/
  57. #fps {
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. z-index:2;
  62. }
  63. #chatText
  64. {
  65. display:inline-block;
  66. }
  67. #chatText,#chat
  68. {
  69. font-size:3em;
  70. font-weight: bold;
  71. max-width: 70%;
  72. }
  73. #chat {
  74. /*font-family: "Arial Rounded MT Bold";*/
  75. display: block;
  76. position: absolute;
  77. top: 60%;
  78. left: 50%;
  79. padding: 10px 20px;
  80. background: rgba(255,255,255,.1);
  81. border-radius: 20px;
  82. color: #fff;
  83. text-align: center;
  84. border-style:none;
  85. outline-style:none;
  86. height:30px;
  87. opacity:0;
  88. transition: opacity .2s linear;
  89. -o-transition: opacity .2s linear;
  90. -moz-transition: opacity .2s linear;
  91. -webkit-transition: opacity .2s linear;
  92. -ms-transition: opacity .2s linear;
  93. }
  94. #cant-connect {
  95. /*font-family: "Arial Rounded MT Bold";*/
  96. display: none;
  97. position: absolute;
  98. top: 200px;
  99. left: 10px;
  100. padding: 10px 20px;
  101. color: rgba(249,136,119,0.9);
  102. width: 400px;
  103. font-size: 2em;
  104. font-weight: bold;
  105. }
  106. #cant-connect a:link {
  107. color: #c0fdf7;
  108. text-decoration: underline;
  109. }
  110. #unsupported-browser {
  111. display: none;
  112. position: absolute;
  113. z-index:2;
  114. background-color: #fff;
  115. background-image: linear-gradient(top, #fff, #e2e2e2);
  116. background-image: -o-linear-gradient(top, #fff, #e2e2e2);
  117. background-image: -moz-linear-gradient(top, #fff, #e2e2e2);
  118. background-image: -ms-linear-gradient(top, #fff, #e2e2e2);
  119. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #fff),color-stop(1, #e2e2e2));
  120. border-radius: 10px;
  121. box-shadow: 1px 1px 5px #000;
  122. top: 55%;
  123. left: 50%;
  124. width:420px;
  125. margin:-200px;
  126. padding:35px;
  127. font-size: 1.5em;
  128. border: 1px solid #fff;
  129. }
  130. #unsupported-browser p {
  131. color: #000;
  132. text-shadow: white 1px 1px 0;
  133. line-height: 1.4em;
  134. }
  135. a#force-init-button {
  136. font-size: .6em;
  137. color: #e47c6c;
  138. text-align: center;
  139. font-weight: bold;
  140. text-decoration: underline;
  141. }
  142. a#force-init-button:hover {
  143. color: #999;
  144. }
  145. #unsupported-browser ul li {
  146. display: inline;
  147. list-style-type: none;
  148. padding-right: 10px;
  149. font-weight: bold;
  150. padding: 4px 10px 4px 10px;
  151. background-color: #606061;
  152. border-radius: 100px;
  153. box-shadow:inset -1px -1px -5px #000;
  154. text-shadow: none;
  155. font-size: .8em;
  156. }
  157. #unsupported-browser ul {
  158. margin: 20px 0px 20px 0px;
  159. }
  160. #info {
  161. position: absolute;
  162. left: 0;
  163. bottom: 0;
  164. width: 100%;
  165. background: rgba(0,0,0,0.2);
  166. }
  167. #info section {
  168. float: left;
  169. margin: 20px 40px 20px 20px;
  170. margin-right: 40px;
  171. }
  172. #info #wtf {
  173. float: left;
  174. margin-left: 30px;
  175. margin-right: 40px;
  176. }
  177. #info #share {
  178. float: right;
  179. margin-right: 40px;
  180. }
  181. #info section ul {
  182. }
  183. #info section ul li {
  184. float: left;
  185. margin-right: 10px;
  186. }
  187. #info section ul li a {
  188. font-size: 1.3em;
  189. }
  190. #info #settings .edit {
  191. display: none;
  192. }
  193. #instructions {
  194. position: absolute;
  195. top: 30px;
  196. right: 60px;
  197. }
  198. #fwa {
  199. display: none; /*remove on 27th November 2010*/
  200. position: absolute;
  201. top: 0px;
  202. right: 0px;
  203. }