main.css 1.7 KB

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