less copy protection, more size visualization
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

83 行
1.2 KiB

  1. html {
  2. height: 100%;
  3. overflow-x: hidden;
  4. overflow-y: hidden;
  5. color: #eee;
  6. }
  7. body {
  8. background: #111;
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. justify-content: flex-start;
  13. height: 100%;
  14. width: 100%;
  15. }
  16. .entity {
  17. position: absolute;
  18. --height: 100px;
  19. height: var(--height);
  20. text-align: center;
  21. -webkit-user-drag: none;
  22. -khtml-user-drag: none;
  23. -moz-user-drag: none;
  24. -o-user-drag: none;
  25. }
  26. .selected {
  27. filter: drop-shadow(0px 0px 15px gold);
  28. }
  29. #main-area {
  30. display: flex;
  31. min-width: 100vw;
  32. height: 100%;
  33. flex-direction: row;
  34. }
  35. #options {
  36. flex: 1 0 15vw;
  37. background: #444;
  38. }
  39. #entities {
  40. position: relative;
  41. user-select: none;
  42. }
  43. #world {
  44. flex: 9 0 85vw;
  45. min-height: 90vh;
  46. max-height: 90vh;
  47. overflow: hidden;
  48. }
  49. #menubar {
  50. display: flex;
  51. flex-direction: row;
  52. justify-content: center;
  53. align-items: center;
  54. min-height: 10vh;
  55. min-width: 100vw;
  56. background: #222;
  57. }
  58. .menu-item {
  59. font-size: 24px;
  60. color: #ccc;
  61. margin: 20px;
  62. }
  63. #display {
  64. width: 100%;
  65. height: 100%;
  66. background: #333;
  67. }
  68. #options input {
  69. width: 50%;
  70. font-size: 150%;
  71. }