main.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. html,body {
  2. margin: 0;
  3. padding: 0;
  4. width: 100vw;
  5. height: 100vh;
  6. overscroll-behavior: contain;
  7. }
  8. html {
  9. overflow: hidden;
  10. }
  11. body {
  12. overflow-y: scroll;
  13. -webkit-overflow-scrolling: touch;
  14. }
  15. #viewer {
  16. width: 100vw;
  17. height: 100vh;
  18. overflow: hidden;
  19. background-color: #070b2e;
  20. position: relative;
  21. }
  22. canvas {
  23. position: relative;
  24. width: 100%;
  25. height: 100%;
  26. }
  27. button {
  28. border: 0px;
  29. padding: 1em;
  30. min-height: 2em;
  31. min-width: 3em;
  32. background-color: #FFF;
  33. color: #000;
  34. font-size: 24px;
  35. font-weight: 600;
  36. border-radius: 8px;
  37. position: absolute;
  38. z-index: 1;
  39. }
  40. button.skipbutton {
  41. padding: 0.5em;
  42. min-height: 1em;
  43. min-width: 2em;
  44. border: 2px solid #FFF;
  45. background-color: transparent;
  46. color: #FFF;
  47. font-size: 18px;
  48. font-weight: normal;
  49. }
  50. button.mutebutton {
  51. border: none;
  52. background-color: transparent;
  53. font-size: 18px;
  54. font-weight: normal;
  55. }
  56. button.mutebutton:after {
  57. content: "🔊";
  58. }
  59. button.mutebutton:hover {
  60. background-color: transparent;
  61. }
  62. button.mutebutton:hover:after {
  63. content: "🔇"
  64. }
  65. button.unmutebutton {
  66. border: none;
  67. background-color: transparent;
  68. font-size: 18px;
  69. font-weight: normal;
  70. }
  71. button.unmutebutton:after {
  72. content: "🔇";
  73. }
  74. button.unmutebutton:hover {
  75. background-color: transparent;
  76. }
  77. button.unmutebutton:hover:after {
  78. content: "🔊"
  79. }
  80. button:hover {
  81. cursor: pointer;
  82. color: #000;
  83. background-color:#AFA;
  84. }