style.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. html {
  2. /*height: 100%;*/
  3. }
  4. body {
  5. /*height:100%;*/
  6. padding: 0;
  7. margin: 0;
  8. border: 0;
  9. background-color: #000;
  10. /* transform-origin : left top;
  11. transform: scale(0.5);
  12. -webkit-transform-origin : left top;
  13. -webkit-transform: scale(0.5);
  14. */
  15. }
  16. div, span {
  17. -webkit-box-sizing: border-box;
  18. box-sizing: border-box;
  19. }
  20. body, div, span, canvas {
  21. -webkit-text-size-adjust: none;
  22. -webkit-user-select: none;
  23. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  24. -webkit-touch-callout: none;
  25. text-size-adjust: none;
  26. user-select: none;
  27. tap-highlight-color: rgba(0, 0, 0, 0);
  28. touch-callout: none;
  29. }
  30. #info {
  31. position: absolute;
  32. bottom: 0px;
  33. left: 0px;
  34. border: 0px solid black;
  35. background-color: transparent;
  36. border-top: 2px solid black;
  37. }
  38. #preload {
  39. position: absolute;
  40. left:-10000px;
  41. }
  42. #container {
  43. background-color: #000;
  44. position: relative;
  45. width:100%;
  46. height:100%;
  47. border: 0px solid red;
  48. margin:0px;
  49. padding:0px;
  50. background-image: url(../res/bg.jpg);
  51. background-position: center top;
  52. background-repeat: no-repeat;
  53. /*background-size: 100% auto;*/
  54. background-size: 100% auto;
  55. }
  56. #canvas {
  57. margin:0px;
  58. padding:0px;
  59. }