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

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