style.css 1.3 KB

12345678910111213141516
  1. body { padding: 0; margin: 0 }
  2. #unity-container { position: absolute }
  3. #unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
  4. #unity-container.unity-mobile { width: 100%; height: 100% }
  5. #unity-canvas { background: #231F20 }
  6. .unity-mobile #unity-canvas { width: 100%; height: 100% }
  7. #unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
  8. #unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
  9. #unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
  10. #unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
  11. #unity-footer { position: relative }
  12. .unity-mobile #unity-footer { display: none }
  13. #unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
  14. #unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
  15. #unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
  16. #unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }