main.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. @import url(fonts/clear-sans.css);
  2. html, body {
  3. margin: 0;
  4. padding: 0;
  5. background: #faf8ef;
  6. color: #776e65;
  7. font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  8. font-size: 18px; }
  9. body {
  10. margin: 80px 0; }
  11. .heading:after {
  12. content: "";
  13. display: block;
  14. clear: both; }
  15. h1.title {
  16. font-size: 80px;
  17. font-weight: bold;
  18. margin: 0;
  19. display: block;
  20. float: left; }
  21. @-webkit-keyframes move-up {
  22. 0% {
  23. top: 25px;
  24. opacity: 1; }
  25. 100% {
  26. top: -50px;
  27. opacity: 0; } }
  28. @-moz-keyframes move-up {
  29. 0% {
  30. top: 25px;
  31. opacity: 1; }
  32. 100% {
  33. top: -50px;
  34. opacity: 0; } }
  35. @keyframes move-up {
  36. 0% {
  37. top: 25px;
  38. opacity: 1; }
  39. 100% {
  40. top: -50px;
  41. opacity: 0; } }
  42. .scores-container {
  43. float: right;
  44. text-align: right; }
  45. .score-container, .best-container {
  46. position: relative;
  47. display: inline-block;
  48. background: #bbada0;
  49. padding: 15px 25px;
  50. font-size: 25px;
  51. height: 25px;
  52. line-height: 47px;
  53. font-weight: bold;
  54. border-radius: 3px;
  55. color: white;
  56. margin-top: 8px;
  57. text-align: center; }
  58. .score-container:after, .best-container:after {
  59. position: absolute;
  60. width: 100%;
  61. top: 10px;
  62. left: 0;
  63. text-transform: uppercase;
  64. font-size: 13px;
  65. line-height: 13px;
  66. text-align: center;
  67. color: #eee4da; }
  68. .score-container .score-addition, .best-container .score-addition {
  69. position: absolute;
  70. right: 30px;
  71. color: red;
  72. font-size: 25px;
  73. line-height: 25px;
  74. font-weight: bold;
  75. color: rgba(119, 110, 101, 0.9);
  76. z-index: 100;
  77. -webkit-animation: move-up 600ms ease-in;
  78. -moz-animation: move-up 600ms ease-in;
  79. animation: move-up 600ms ease-in;
  80. -webkit-animation-fill-mode: both;
  81. -moz-animation-fill-mode: both;
  82. animation-fill-mode: both; }
  83. .score-container:after {
  84. content: "我的分数"; }
  85. .best-container:after {
  86. content: "最高分数"; }
  87. p {
  88. margin-top: 0;
  89. margin-bottom: 10px;
  90. line-height: 1.65; }
  91. a {
  92. color: #776e65;
  93. font-weight: bold;
  94. text-decoration: underline;
  95. cursor: pointer; }
  96. strong.important {
  97. text-transform: uppercase; }
  98. hr {
  99. border: none;
  100. border-bottom: 1px solid #d8d4d0;
  101. margin-top: 20px;
  102. margin-bottom: 30px; }
  103. .container {
  104. width: 500px;
  105. margin: 0 auto; }
  106. @-webkit-keyframes fade-in {
  107. 0% {
  108. opacity: 0; }
  109. 100% {
  110. opacity: 1; } }
  111. @-moz-keyframes fade-in {
  112. 0% {
  113. opacity: 0; }
  114. 100% {
  115. opacity: 1; } }
  116. @keyframes fade-in {
  117. 0% {
  118. opacity: 0; }
  119. 100% {
  120. opacity: 1; } }
  121. .game-container {
  122. margin-top: 40px;
  123. position: relative;
  124. padding: 15px;
  125. cursor: default;
  126. -webkit-touch-callout: none;
  127. -ms-touch-callout: none;
  128. -webkit-user-select: none;
  129. -moz-user-select: none;
  130. -ms-user-select: none;
  131. -ms-touch-action: none;
  132. touch-action: none;
  133. background: #bbada0;
  134. border-radius: 6px;
  135. width: 500px;
  136. height: 500px;
  137. -webkit-box-sizing: border-box;
  138. -moz-box-sizing: border-box;
  139. box-sizing: border-box; }
  140. .game-container .game-message {
  141. display: none;
  142. position: absolute;
  143. top: 0;
  144. right: 0;
  145. bottom: 0;
  146. left: 0;
  147. background: rgba(238, 228, 218, 0.5);
  148. z-index: 100;
  149. text-align: center;
  150. -webkit-animation: fade-in 800ms ease 1200ms;
  151. -moz-animation: fade-in 800ms ease 1200ms;
  152. animation: fade-in 800ms ease 1200ms;
  153. -webkit-animation-fill-mode: both;
  154. -moz-animation-fill-mode: both;
  155. animation-fill-mode: both; }
  156. .game-container .game-message p {
  157. font-size: 60px;
  158. font-weight: bold;
  159. height: 60px;
  160. line-height: 60px;
  161. margin-top: 222px; }
  162. .game-container .game-message .lower {
  163. display: block;
  164. margin-top: 59px; }
  165. .game-container .game-message a {
  166. display: inline-block;
  167. background: #8f7a66;
  168. border-radius: 3px;
  169. padding: 0 20px;
  170. text-decoration: none;
  171. color: #f9f6f2;
  172. height: 40px;
  173. line-height: 42px;
  174. margin-left: 9px; }
  175. .game-container .game-message a.keep-playing-button {
  176. display: none; }
  177. .game-container .game-message.game-won {
  178. background: rgba(237, 194, 46, 0.5);
  179. color: #f9f6f2; }
  180. .game-container .game-message.game-won a.keep-playing-button {
  181. display: inline-block; }
  182. .game-container .game-message.game-won, .game-container .game-message.game-over {
  183. display: block; }
  184. .grid-container {
  185. position: absolute;
  186. z-index: 1; }
  187. .grid-row {
  188. margin-bottom: 15px; }
  189. .grid-row:last-child {
  190. margin-bottom: 0; }
  191. .grid-row:after {
  192. content: "";
  193. display: block;
  194. clear: both; }
  195. .grid-cell {
  196. width: 106.25px;
  197. height: 106.25px;
  198. margin-right: 15px;
  199. float: left;
  200. border-radius: 3px;
  201. background: rgba(238, 228, 218, 0.35); }
  202. .grid-cell:last-child {
  203. margin-right: 0; }
  204. .tile-container {
  205. position: absolute;
  206. z-index: 2; }
  207. .tile, .tile .tile-inner {
  208. width: 107px;
  209. height: 107px;
  210. line-height: 116.25px; }
  211. .tile.tile-position-1-1 {
  212. -webkit-transform: translate(0px, 0px);
  213. -moz-transform: translate(0px, 0px);
  214. transform: translate(0px, 0px); }
  215. .tile.tile-position-1-2 {
  216. -webkit-transform: translate(0px, 121px);
  217. -moz-transform: translate(0px, 121px);
  218. transform: translate(0px, 121px); }
  219. .tile.tile-position-1-3 {
  220. -webkit-transform: translate(0px, 242px);
  221. -moz-transform: translate(0px, 242px);
  222. transform: translate(0px, 242px); }
  223. .tile.tile-position-1-4 {
  224. -webkit-transform: translate(0px, 363px);
  225. -moz-transform: translate(0px, 363px);
  226. transform: translate(0px, 363px); }
  227. .tile.tile-position-2-1 {
  228. -webkit-transform: translate(121px, 0px);
  229. -moz-transform: translate(121px, 0px);
  230. transform: translate(121px, 0px); }
  231. .tile.tile-position-2-2 {
  232. -webkit-transform: translate(121px, 121px);
  233. -moz-transform: translate(121px, 121px);
  234. transform: translate(121px, 121px); }
  235. .tile.tile-position-2-3 {
  236. -webkit-transform: translate(121px, 242px);
  237. -moz-transform: translate(121px, 242px);
  238. transform: translate(121px, 242px); }
  239. .tile.tile-position-2-4 {
  240. -webkit-transform: translate(121px, 363px);
  241. -moz-transform: translate(121px, 363px);
  242. transform: translate(121px, 363px); }
  243. .tile.tile-position-3-1 {
  244. -webkit-transform: translate(242px, 0px);
  245. -moz-transform: translate(242px, 0px);
  246. transform: translate(242px, 0px); }
  247. .tile.tile-position-3-2 {
  248. -webkit-transform: translate(242px, 121px);
  249. -moz-transform: translate(242px, 121px);
  250. transform: translate(242px, 121px); }
  251. .tile.tile-position-3-3 {
  252. -webkit-transform: translate(242px, 242px);
  253. -moz-transform: translate(242px, 242px);
  254. transform: translate(242px, 242px); }
  255. .tile.tile-position-3-4 {
  256. -webkit-transform: translate(242px, 363px);
  257. -moz-transform: translate(242px, 363px);
  258. transform: translate(242px, 363px); }
  259. .tile.tile-position-4-1 {
  260. -webkit-transform: translate(363px, 0px);
  261. -moz-transform: translate(363px, 0px);
  262. transform: translate(363px, 0px); }
  263. .tile.tile-position-4-2 {
  264. -webkit-transform: translate(363px, 121px);
  265. -moz-transform: translate(363px, 121px);
  266. transform: translate(363px, 121px); }
  267. .tile.tile-position-4-3 {
  268. -webkit-transform: translate(363px, 242px);
  269. -moz-transform: translate(363px, 242px);
  270. transform: translate(363px, 242px); }
  271. .tile.tile-position-4-4 {
  272. -webkit-transform: translate(363px, 363px);
  273. -moz-transform: translate(363px, 363px);
  274. transform: translate(363px, 363px); }
  275. .tile {
  276. position: absolute;
  277. -webkit-transition: 100ms ease-in-out;
  278. -moz-transition: 100ms ease-in-out;
  279. transition: 100ms ease-in-out;
  280. -webkit-transition-property: -webkit-transform;
  281. -moz-transition-property: -moz-transform;
  282. transition-property: transform; }
  283. .tile .tile-inner {
  284. border-radius: 3px;
  285. background: #eee4da;
  286. text-align: center;
  287. font-weight: bold;
  288. z-index: 10;
  289. font-size: 55px; }
  290. .tile.tile-2 .tile-inner {
  291. background: #eee4da;
  292. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0); }
  293. .tile.tile-4 .tile-inner {
  294. background: #ede0c8;
  295. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0); }
  296. .tile.tile-8 .tile-inner {
  297. color: #f9f6f2;
  298. background: #f2b179; }
  299. .tile.tile-16 .tile-inner {
  300. color: #f9f6f2;
  301. background: #f59563; }
  302. .tile.tile-32 .tile-inner {
  303. color: #f9f6f2;
  304. background: #f67c5f; }
  305. .tile.tile-64 .tile-inner {
  306. color: #f9f6f2;
  307. background: #f65e3b; }
  308. .tile.tile-128 .tile-inner {
  309. color: #f9f6f2;
  310. background: #edcf72;
  311. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
  312. font-size: 45px; }
  313. @media screen and (max-width: 520px) {
  314. .tile.tile-128 .tile-inner {
  315. font-size: 25px; } }
  316. .tile.tile-256 .tile-inner {
  317. color: #f9f6f2;
  318. background: #edcc61;
  319. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31746), inset 0 0 0 1px rgba(255, 255, 255, 0.19048);
  320. font-size: 45px; }
  321. @media screen and (max-width: 520px) {
  322. .tile.tile-256 .tile-inner {
  323. font-size: 25px; } }
  324. .tile.tile-512 .tile-inner {
  325. color: #f9f6f2;
  326. background: #edc850;
  327. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.39683), inset 0 0 0 1px rgba(255, 255, 255, 0.2381);
  328. font-size: 45px; }
  329. @media screen and (max-width: 520px) {
  330. .tile.tile-512 .tile-inner {
  331. font-size: 25px; } }
  332. .tile.tile-1024 .tile-inner {
  333. color: #f9f6f2;
  334. background: #edc53f;
  335. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
  336. font-size: 35px; }
  337. @media screen and (max-width: 520px) {
  338. .tile.tile-1024 .tile-inner {
  339. font-size: 15px; } }
  340. .tile.tile-2048 .tile-inner {
  341. color: #f9f6f2;
  342. background: #edc22e;
  343. box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55556), inset 0 0 0 1px rgba(255, 255, 255, 0.33333);
  344. font-size: 35px; }
  345. @media screen and (max-width: 520px) {
  346. .tile.tile-2048 .tile-inner {
  347. font-size: 15px; } }
  348. .tile.tile-super .tile-inner {
  349. color: #f9f6f2;
  350. background: #3c3a32;
  351. font-size: 30px; }
  352. @media screen and (max-width: 520px) {
  353. .tile.tile-super .tile-inner {
  354. font-size: 10px; } }
  355. @-webkit-keyframes appear {
  356. 0% {
  357. opacity: 0;
  358. -webkit-transform: scale(0);
  359. -moz-transform: scale(0);
  360. transform: scale(0); }
  361. 100% {
  362. opacity: 1;
  363. -webkit-transform: scale(1);
  364. -moz-transform: scale(1);
  365. transform: scale(1); } }
  366. @-moz-keyframes appear {
  367. 0% {
  368. opacity: 0;
  369. -webkit-transform: scale(0);
  370. -moz-transform: scale(0);
  371. transform: scale(0); }
  372. 100% {
  373. opacity: 1;
  374. -webkit-transform: scale(1);
  375. -moz-transform: scale(1);
  376. transform: scale(1); } }
  377. @keyframes appear {
  378. 0% {
  379. opacity: 0;
  380. -webkit-transform: scale(0);
  381. -moz-transform: scale(0);
  382. transform: scale(0); }
  383. 100% {
  384. opacity: 1;
  385. -webkit-transform: scale(1);
  386. -moz-transform: scale(1);
  387. transform: scale(1); } }
  388. .tile-new .tile-inner {
  389. -webkit-animation: appear 200ms ease 100ms;
  390. -moz-animation: appear 200ms ease 100ms;
  391. animation: appear 200ms ease 100ms;
  392. -webkit-animation-fill-mode: backwards;
  393. -moz-animation-fill-mode: backwards;
  394. animation-fill-mode: backwards; }
  395. @-webkit-keyframes pop {
  396. 0% {
  397. -webkit-transform: scale(0);
  398. -moz-transform: scale(0);
  399. transform: scale(0); }
  400. 50% {
  401. -webkit-transform: scale(1.2);
  402. -moz-transform: scale(1.2);
  403. transform: scale(1.2); }
  404. 100% {
  405. -webkit-transform: scale(1);
  406. -moz-transform: scale(1);
  407. transform: scale(1); } }
  408. @-moz-keyframes pop {
  409. 0% {
  410. -webkit-transform: scale(0);
  411. -moz-transform: scale(0);
  412. transform: scale(0); }
  413. 50% {
  414. -webkit-transform: scale(1.2);
  415. -moz-transform: scale(1.2);
  416. transform: scale(1.2); }
  417. 100% {
  418. -webkit-transform: scale(1);
  419. -moz-transform: scale(1);
  420. transform: scale(1); } }
  421. @keyframes pop {
  422. 0% {
  423. -webkit-transform: scale(0);
  424. -moz-transform: scale(0);
  425. transform: scale(0); }
  426. 50% {
  427. -webkit-transform: scale(1.2);
  428. -moz-transform: scale(1.2);
  429. transform: scale(1.2); }
  430. 100% {
  431. -webkit-transform: scale(1);
  432. -moz-transform: scale(1);
  433. transform: scale(1); } }
  434. .tile-merged .tile-inner {
  435. z-index: 20;
  436. -webkit-animation: pop 200ms ease 100ms;
  437. -moz-animation: pop 200ms ease 100ms;
  438. animation: pop 200ms ease 100ms;
  439. -webkit-animation-fill-mode: backwards;
  440. -moz-animation-fill-mode: backwards;
  441. animation-fill-mode: backwards; }
  442. .above-game:after {
  443. content: "";
  444. display: block;
  445. clear: both; }
  446. .game-intro {
  447. float: left;
  448. line-height: 42px;
  449. margin-bottom: 0; }
  450. .restart-button {
  451. display: inline-block;
  452. background: #8f7a66;
  453. border-radius: 3px;
  454. padding: 0 20px;
  455. text-decoration: none;
  456. color: #f9f6f2;
  457. height: 40px;
  458. line-height: 42px;
  459. display: block;
  460. text-align: center;
  461. float: right; }
  462. .game-explanation {
  463. margin-top: 50px; }
  464. @media screen and (max-width: 520px) {
  465. html, body {
  466. font-size: 15px; }
  467. body {
  468. margin: 20px 0;
  469. padding: 0 20px; }
  470. h1.title {
  471. font-size: 27px;
  472. margin-top: 15px; }
  473. .container {
  474. width: 280px;
  475. margin: 0 auto; }
  476. .score-container, .best-container {
  477. margin-top: 0;
  478. padding: 15px 10px;
  479. min-width: 40px; }
  480. .heading {
  481. margin-bottom: 10px; }
  482. .game-intro {
  483. width: 55%;
  484. display: block;
  485. box-sizing: border-box;
  486. line-height: 1.65; }
  487. .restart-button {
  488. width: 42%;
  489. padding: 0;
  490. display: block;
  491. box-sizing: border-box;
  492. margin-top: 2px; }
  493. .game-container {
  494. margin-top: 17px;
  495. position: relative;
  496. padding: 10px;
  497. cursor: default;
  498. -webkit-touch-callout: none;
  499. -ms-touch-callout: none;
  500. -webkit-user-select: none;
  501. -moz-user-select: none;
  502. -ms-user-select: none;
  503. -ms-touch-action: none;
  504. touch-action: none;
  505. background: #bbada0;
  506. border-radius: 6px;
  507. width: 280px;
  508. height: 280px;
  509. -webkit-box-sizing: border-box;
  510. -moz-box-sizing: border-box;
  511. box-sizing: border-box; }
  512. .game-container .game-message {
  513. display: none;
  514. position: absolute;
  515. top: 0;
  516. right: 0;
  517. bottom: 0;
  518. left: 0;
  519. background: rgba(238, 228, 218, 0.5);
  520. z-index: 100;
  521. text-align: center;
  522. -webkit-animation: fade-in 800ms ease 1200ms;
  523. -moz-animation: fade-in 800ms ease 1200ms;
  524. animation: fade-in 800ms ease 1200ms;
  525. -webkit-animation-fill-mode: both;
  526. -moz-animation-fill-mode: both;
  527. animation-fill-mode: both; }
  528. .game-container .game-message p {
  529. font-size: 60px;
  530. font-weight: bold;
  531. height: 60px;
  532. line-height: 60px;
  533. margin-top: 222px; }
  534. .game-container .game-message .lower {
  535. display: block;
  536. margin-top: 59px; }
  537. .game-container .game-message a {
  538. display: inline-block;
  539. background: #8f7a66;
  540. border-radius: 3px;
  541. padding: 0 20px;
  542. text-decoration: none;
  543. color: #f9f6f2;
  544. height: 40px;
  545. line-height: 42px;
  546. margin-left: 9px; }
  547. .game-container .game-message a.keep-playing-button {
  548. display: none; }
  549. .game-container .game-message.game-won {
  550. background: rgba(237, 194, 46, 0.5);
  551. color: #f9f6f2; }
  552. .game-container .game-message.game-won a.keep-playing-button {
  553. display: inline-block; }
  554. .game-container .game-message.game-won, .game-container .game-message.game-over {
  555. display: block; }
  556. .grid-container {
  557. position: absolute;
  558. z-index: 1; }
  559. .grid-row {
  560. margin-bottom: 10px; }
  561. .grid-row:last-child {
  562. margin-bottom: 0; }
  563. .grid-row:after {
  564. content: "";
  565. display: block;
  566. clear: both; }
  567. .grid-cell {
  568. width: 57.5px;
  569. height: 57.5px;
  570. margin-right: 10px;
  571. float: left;
  572. border-radius: 3px;
  573. background: rgba(238, 228, 218, 0.35); }
  574. .grid-cell:last-child {
  575. margin-right: 0; }
  576. .tile-container {
  577. position: absolute;
  578. z-index: 2; }
  579. .tile, .tile .tile-inner {
  580. width: 58px;
  581. height: 58px;
  582. line-height: 67.5px; }
  583. .tile.tile-position-1-1 {
  584. -webkit-transform: translate(0px, 0px);
  585. -moz-transform: translate(0px, 0px);
  586. transform: translate(0px, 0px); }
  587. .tile.tile-position-1-2 {
  588. -webkit-transform: translate(0px, 67px);
  589. -moz-transform: translate(0px, 67px);
  590. transform: translate(0px, 67px); }
  591. .tile.tile-position-1-3 {
  592. -webkit-transform: translate(0px, 135px);
  593. -moz-transform: translate(0px, 135px);
  594. transform: translate(0px, 135px); }
  595. .tile.tile-position-1-4 {
  596. -webkit-transform: translate(0px, 202px);
  597. -moz-transform: translate(0px, 202px);
  598. transform: translate(0px, 202px); }
  599. .tile.tile-position-2-1 {
  600. -webkit-transform: translate(67px, 0px);
  601. -moz-transform: translate(67px, 0px);
  602. transform: translate(67px, 0px); }
  603. .tile.tile-position-2-2 {
  604. -webkit-transform: translate(67px, 67px);
  605. -moz-transform: translate(67px, 67px);
  606. transform: translate(67px, 67px); }
  607. .tile.tile-position-2-3 {
  608. -webkit-transform: translate(67px, 135px);
  609. -moz-transform: translate(67px, 135px);
  610. transform: translate(67px, 135px); }
  611. .tile.tile-position-2-4 {
  612. -webkit-transform: translate(67px, 202px);
  613. -moz-transform: translate(67px, 202px);
  614. transform: translate(67px, 202px); }
  615. .tile.tile-position-3-1 {
  616. -webkit-transform: translate(135px, 0px);
  617. -moz-transform: translate(135px, 0px);
  618. transform: translate(135px, 0px); }
  619. .tile.tile-position-3-2 {
  620. -webkit-transform: translate(135px, 67px);
  621. -moz-transform: translate(135px, 67px);
  622. transform: translate(135px, 67px); }
  623. .tile.tile-position-3-3 {
  624. -webkit-transform: translate(135px, 135px);
  625. -moz-transform: translate(135px, 135px);
  626. transform: translate(135px, 135px); }
  627. .tile.tile-position-3-4 {
  628. -webkit-transform: translate(135px, 202px);
  629. -moz-transform: translate(135px, 202px);
  630. transform: translate(135px, 202px); }
  631. .tile.tile-position-4-1 {
  632. -webkit-transform: translate(202px, 0px);
  633. -moz-transform: translate(202px, 0px);
  634. transform: translate(202px, 0px); }
  635. .tile.tile-position-4-2 {
  636. -webkit-transform: translate(202px, 67px);
  637. -moz-transform: translate(202px, 67px);
  638. transform: translate(202px, 67px); }
  639. .tile.tile-position-4-3 {
  640. -webkit-transform: translate(202px, 135px);
  641. -moz-transform: translate(202px, 135px);
  642. transform: translate(202px, 135px); }
  643. .tile.tile-position-4-4 {
  644. -webkit-transform: translate(202px, 202px);
  645. -moz-transform: translate(202px, 202px);
  646. transform: translate(202px, 202px); }
  647. .tile .tile-inner {
  648. font-size: 35px; }
  649. .game-message p {
  650. font-size: 30px !important;
  651. height: 30px !important;
  652. line-height: 30px !important;
  653. margin-top: 90px !important; }
  654. .game-message .lower {
  655. margin-top: 30px !important; } }