style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .webgl-content * {border: 0; margin: 0; padding: 0}
  2. .webgl-content {top: 0; left: 0;}
  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.Light.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.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
  7. .webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
  8. .webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
  9. .webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
  10. .webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
  11. .webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
  12. .webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
  13. .webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
  14. .webgl-content .footer .title {margin-right: 10px; float: right;}
  15. .webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}
  16. body, html{
  17. margin:0;
  18. padding:0;
  19. }
  20. #gameContainer canvas{
  21. position:absolute;
  22. transform:translate(-50%, -50%);
  23. top:50%;
  24. left:50%;
  25. }
  26. .simmer{
  27. position:absolute;
  28. bottom:10px;
  29. right:10px;
  30. color:#aaa;
  31. font-size:9px;
  32. font-family:sans-serif;
  33. font-family:sans-serif;
  34. /*want to remove the simmer branding? uncomment display:none below!*/
  35. /*display:none;*/
  36. }
  37. .simmer a{
  38. color:#cccccc;
  39. text-decoration:none;
  40. font-size:12px;
  41. transition:opacity 3s;
  42. }
  43. .simmer a:hover{
  44. color:#fff;
  45. text-decoration:underline;
  46. }
  47. .simmer.hide {
  48. opacity:0;
  49. }