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

77 行
1.1 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 10px 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: red;
  38. }
  39. #entities {
  40. position: relative;
  41. user-select: none;
  42. }
  43. #world {
  44. flex: 9 0 85vw;
  45. min-height: 80vh;
  46. overflow: hidden;
  47. }
  48. #menubar {
  49. display: flex;
  50. flex-direction: row;
  51. justify-content: center;
  52. align-items: center;
  53. min-height: 10vh;
  54. min-width: 100vw;
  55. background: #222;
  56. }
  57. .menu-item {
  58. font-size: 24px;
  59. color: #ccc;
  60. margin: 20px;
  61. }
  62. #display {
  63. width: 100%;
  64. height: 100%;
  65. background: #333;
  66. }