main.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. root {
  2. display: block;
  3. }
  4. body{
  5. background-color: #000000;
  6. background-repeat: repeat-x;
  7. background-position: top;
  8. background-image: url(../sprites/bg_tile.jpg);
  9. }
  10. *, *:before, *:after {
  11. -webkit-user-select: none;
  12. -khtml-user-select: none;
  13. -moz-user-select: none;
  14. -ms-user-select: none;
  15. user-select: none;
  16. }
  17. input, input:before, input:after {
  18. -webkit-user-select: initial;
  19. -khtml-user-select: initial;
  20. -moz-user-select: initial;
  21. -ms-user-select: initial;
  22. user-select: initial;
  23. }
  24. ::selection { background: transparent;color:inherit; }
  25. ::-moz-selection { background: transparent;color:inherit; }
  26. #canvas{
  27. position: fixed;
  28. }
  29. canvas {
  30. image-rendering: optimizeSpeed;
  31. image-rendering:-o-crisp-edges;
  32. image-rendering:-webkit-optimize-contrast;
  33. -ms-interpolation-mode: nearest-neighbor;
  34. -ms-touch-action: none;
  35. }
  36. .ani_hack{
  37. -webkit-perspective: 1000;
  38. -webkit-backface-visibility: hidden;
  39. -webkit-touch-callout: none;
  40. -webkit-user-select: none;
  41. -khtml-user-select: none;
  42. -moz-user-select: none;
  43. -ms-user-select: none;
  44. user-select: none;
  45. outline: none;
  46. -webkit-tap-highlight-color: transparent; /* mobile webkit */
  47. }
  48. /***************FONTS*******************/
  49. @font-face {
  50. font-family: 'blackplotanregular';
  51. src: url('blackplotan-webfont.eot');
  52. src: url('blackplotan-webfont.eot?#iefix') format('embedded-opentype'),
  53. url('blackplotan-webfont.woff2') format('woff2'),
  54. url('blackplotan-webfont.woff') format('woff'),
  55. url('blackplotan-webfont.ttf') format('truetype'),
  56. url('blackplotan-webfont.svg#blackplotanregular') format('svg');
  57. font-weight: normal;
  58. font-style: normal;
  59. }
  60. .check-fonts{
  61. position: fixed;
  62. opacity:0;
  63. }
  64. .check-font-1{
  65. font-family: 'blackplotanregular';
  66. }