main.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. body {
  2. margin: 0;
  3. background-color: #000;
  4. color: #fff;
  5. font-family: Monospace;
  6. font-size: 13px;
  7. line-height: 24px;
  8. overscroll-behavior: none;
  9. }
  10. a {
  11. color: #ff0;
  12. text-decoration: none;
  13. }
  14. a:hover {
  15. text-decoration: underline;
  16. }
  17. button {
  18. cursor: pointer;
  19. text-transform: uppercase;
  20. }
  21. #info {
  22. position: absolute;
  23. top: 0px;
  24. width: 100%;
  25. padding: 10px;
  26. box-sizing: border-box;
  27. text-align: center;
  28. -moz-user-select: none;
  29. -webkit-user-select: none;
  30. -ms-user-select: none;
  31. user-select: none;
  32. pointer-events: none;
  33. z-index: 1; /* TODO Solve this in HTML */
  34. }
  35. a, button, input, select {
  36. pointer-events: auto;
  37. }
  38. .lil-gui {
  39. z-index: 2 !important; /* TODO Solve this in HTML */
  40. }
  41. @media all and ( max-width: 640px ) {
  42. .lil-gui.root {
  43. right: auto;
  44. top: auto;
  45. max-height: 50%;
  46. max-width: 80%;
  47. bottom: 0;
  48. left: 0;
  49. }
  50. }
  51. #overlay {
  52. position: absolute;
  53. font-size: 16px;
  54. z-index: 2;
  55. top: 0;
  56. left: 0;
  57. width: 100%;
  58. height: 100%;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. flex-direction: column;
  63. background: rgba(0,0,0,0.7);
  64. }
  65. #overlay button {
  66. background: transparent;
  67. border: 0;
  68. border: 1px solid rgb(255, 255, 255);
  69. border-radius: 4px;
  70. color: #ffffff;
  71. padding: 12px 18px;
  72. text-transform: uppercase;
  73. cursor: pointer;
  74. }
  75. #notSupported {
  76. width: 50%;
  77. margin: auto;
  78. background-color: #f00;
  79. margin-top: 20px;
  80. padding: 10px;
  81. }