less copy protection, more size visualization
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

113 lines
1.7 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. transform: translate(-50%, -100%);
  26. }
  27. .selected {
  28. filter: drop-shadow(0px 0px 15px gold);
  29. }
  30. #main-area {
  31. display: flex;
  32. min-width: 100vw;
  33. height: 100%;
  34. flex-direction: row;
  35. }
  36. #options {
  37. flex: 1 0 15vw;
  38. display: flex;
  39. justify-content: start;
  40. flex-direction: column;
  41. background: #444;
  42. }
  43. .options-row {
  44. display: flex;
  45. text-align: center;
  46. }
  47. .options-header {
  48. text-align: center;
  49. font-size: 24pt;
  50. margin-top: 10px;
  51. margin-bottom: 10px;
  52. }
  53. #entities {
  54. position: relative;
  55. user-select: none;
  56. }
  57. #world {
  58. flex: 9 0 85vw;
  59. min-height: 90vh;
  60. max-height: 90vh;
  61. overflow: hidden;
  62. }
  63. #menubar {
  64. display: flex;
  65. flex-direction: row;
  66. justify-content: center;
  67. align-items: center;
  68. min-height: 10vh;
  69. min-width: 100vw;
  70. background: #222;
  71. }
  72. .menu-item {
  73. font-size: 24px;
  74. color: #ccc;
  75. margin: 20px;
  76. }
  77. #display {
  78. width: 100%;
  79. height: 100%;
  80. background: #333;
  81. }
  82. #options .options-label {
  83. flex: 0 1;
  84. width: 100%;
  85. font-size: 150%;
  86. }
  87. .options-row input {
  88. flex: 1;
  89. width: 50%;
  90. font-size: 150%;
  91. }
  92. .options-row select {
  93. flex: 1;
  94. width: 50%;
  95. font-size: 150%;
  96. }