style.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .webgl-content * {border: 0; margin: 0; padding: 0}
  2. .webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
  3. .webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
  4. .webgl-content .logo {background: url('progressLogo.png') no-repeat center / contain; width: 154px; height: 130px;}
  5. .webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
  6. .webgl-content .progress .empty {background: url('progressEmpty.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
  7. .webgl-content .progress .full {background: url('progressFull.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
  8. .webgl-content .logo.Dark {background-image: url('progressLogo.png');}
  9. .webgl-content .progress.Dark .empty {background-image: url('progressEmpty.png');}
  10. .webgl-content .progress.Dark .full {background-image: url('progressFull.png');}
  11. * {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. html,
  16. body {
  17. background: #000;
  18. color: #fff;
  19. overflow: hidden;
  20. touch-action: none;
  21. -ms-touch-action: none;
  22. width: 100%;
  23. height: 100%
  24. }
  25. canvas {
  26. touch-action-delay: none;
  27. touch-action: none;
  28. -ms-touch-action: none;
  29. }
  30. /* .webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
  31. .webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
  32. .webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
  33. .webgl-content .footer .title {margin-right: 10px; float: right;}
  34. .webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;} */