style.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. body #unity-container {
  11. width: 100%;
  12. height: 100%;
  13. }
  14. body #unity-container #unity-canvas {
  15. width: 100%;
  16. height: 100%;
  17. }
  18. body #lodingTxt {
  19. position: absolute;
  20. z-index: 10;
  21. bottom: 20px;
  22. left: 50%;
  23. transform: translateX(-50%);
  24. color: #fff;
  25. font-size: 14px;
  26. }
  27. #unity-loading-bar {
  28. position: fixed;
  29. z-index: 999;
  30. top: 0;
  31. left: 0;
  32. transform: translate(0, 0);
  33. width: 100%;
  34. height: 100%;
  35. background-color: black;
  36. }
  37. #unity-logo {
  38. display: none !important;
  39. }
  40. #unity-progress-bar-empty {
  41. position: absolute;
  42. top: 0;
  43. left: 0;
  44. width: 100%;
  45. height: 100%;
  46. background: url('loding.gif') black center center no-repeat;
  47. background-size: contain;
  48. }
  49. #unity-progress-bar-full {
  50. display: none !important;
  51. }
  52. .videoBox {
  53. position: absolute;
  54. z-index: 8000;
  55. top: 0;
  56. left: 0;
  57. width: 100%;
  58. height: 100%;
  59. background-color: black;
  60. }
  61. .videoBox video {
  62. position: absolute;
  63. top: 50%;
  64. left: 50%;
  65. transform: translate(-50%, -50%);
  66. max-width: 100%;
  67. max-height: 100%;
  68. }
  69. .videoBox .skipTxt {
  70. position: absolute;
  71. z-index: 10;
  72. right: 15px;
  73. top: 15px;
  74. width: 60px;
  75. height: 30px;
  76. background-color: rgba(0, 0, 0, 0.6);
  77. line-height: 30px;
  78. text-align: center;
  79. color: #fff;
  80. }