index.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta name="x-key" content="f81ac5ba09c097b897c3c9027ce55b4c">
  5. <title>消灭星星</title>
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0, minimal-ui">
  8. <meta name="format-detection" content="telephone=no">
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  11. <style>
  12. html, body {
  13. background: #020101;
  14. width: 100%;
  15. height: 100%;
  16. margin: 0;
  17. padding: 0;
  18. -ms-touch-action: none;
  19. touch-action: none;
  20. -webkit-touch-callout: none;
  21. -webkit-user-select: none;
  22. -khtml-user-select: none;
  23. -moz-user-select: none;
  24. -ms-user-select: none;
  25. user-select: none;
  26. }
  27. #content {
  28. width: 100%;
  29. height: 100%;
  30. margin: 0px auto 1px auto;
  31. }
  32. @media (max-device-width: 8in), (max-device-height: 8in) {
  33. html {
  34. overflow: hidden;
  35. }
  36. html, body {
  37. height: 100%;
  38. }
  39. #content {
  40. height: 100%;
  41. width: 100%;
  42. margin: inherit;
  43. }
  44. .no-mobile {
  45. display: none;
  46. }
  47. canvas {
  48. -ms-touch-action: none;
  49. touch-action: none;
  50. overflow: hidden;
  51. -ms-touch-action: none;
  52. touch-action: none;
  53. -webkit-touch-callout: none;
  54. -webkit-user-select: none;
  55. -khtml-user-select: none;
  56. -moz-user-select: none;
  57. -ms-user-select: none;
  58. user-select: none;
  59. }
  60. }
  61. </style>
  62. </head>
  63. <body>
  64. <img src="icon.png" width="0" height="0" style="position: absolute;" />
  65. <div id="content"></div>
  66. <!--<script src="http://markknol.github.io/console-log-viewer/console-log-viewer.js"></script>-->
  67. <script src="flambe.js"></script>
  68. <script>flambe.embed(["targets/main-html.js"], "content");</script>
  69. </body>
  70. </html>