index.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. #container {
  6. width: 100vw;
  7. height: 100vh;
  8. display: flex;
  9. align-items: center;
  10. }
  11. #sphere {
  12. width: 100%;
  13. min-width: 20%;
  14. height: 100%;
  15. flex-shrink: 0;
  16. }
  17. #sphere2 {
  18. width: 0;
  19. height: 100%;
  20. flex: 1;
  21. flex-shrink: 0;
  22. }
  23. .splitBox {
  24. width: 1%;
  25. height: 100%;
  26. cursor: col-resize;
  27. align-items: center;
  28. justify-content: center;
  29. background-color: #ccc;
  30. display: none;
  31. }
  32. .splitLine {
  33. width: 6px;
  34. height: 5%;
  35. background-color: #428cee;
  36. }
  37. .buttonBox {
  38. position: absolute;
  39. top: 10px;
  40. right: 10px;
  41. display: flex;
  42. flex-direction: column;
  43. gap: 10px;
  44. }
  45. #ec-button,
  46. #strength-button {
  47. width: 120px;
  48. height: 45px;
  49. border-radius: 5px;
  50. font-size: 18px;
  51. font-weight: bold;
  52. z-index: 1000;
  53. cursor: pointer;
  54. border: 1px solid #acacac;
  55. display: none;
  56. }
  57. #ec-button:hover,
  58. #strength-button:hover {
  59. border: 1px solid black;
  60. }
  61. .txt {
  62. position: absolute;
  63. top: 20px;
  64. left: 50%;
  65. transform: translateX(-50%);
  66. color: #666;
  67. font-size: 24px;
  68. font-weight: bold;
  69. transition: opacity 0.3s;
  70. pointer-events: none;
  71. display: none;
  72. }