less copy protection, more size visualization
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

226 lines
3.5 KiB

  1. @import url('https://fonts.googleapis.com/css?family=Coda&display=swap');
  2. html {
  3. height: 100%;
  4. overflow-x: hidden;
  5. overflow-y: hidden;
  6. color: #eee;
  7. }
  8. body {
  9. background: #111;
  10. display: flex;
  11. flex-direction: column;
  12. align-items: center;
  13. justify-content: flex-start;
  14. height: 100%;
  15. width: 100%;
  16. font-family: 'Coda', cursive;
  17. }
  18. .entity-box {
  19. position: absolute;
  20. --height: 100px;
  21. max-height: var(--height);
  22. height: var(--height);
  23. text-align: center;
  24. -webkit-user-drag: none;
  25. -khtml-user-drag: none;
  26. -moz-user-drag: none;
  27. -o-user-drag: none;
  28. pointer-events: none;
  29. }
  30. .entity-image {
  31. position: absolute;
  32. height: 100%;
  33. pointer-events: auto;
  34. -webkit-user-drag: none;
  35. -khtml-user-drag: none;
  36. -moz-user-drag: none;
  37. -o-user-drag: none;
  38. --offset: -100%;
  39. transform: translate(-50%, var(--offset));
  40. }
  41. .entity-name {
  42. display: none;
  43. position: absolute;
  44. top: -100%;
  45. left: 0%;
  46. transform: translate(-50%, -36px);
  47. font-size: 24px;
  48. pointer-events: none
  49. }
  50. body.toggle-entity-name .entity-name {
  51. display: inline;
  52. }
  53. .entity-box.selected > img {
  54. filter: drop-shadow(0px 0px 5px gold);
  55. }
  56. .entity-box:not(.selected) > img{
  57. filter: drop-shadow(0px 0px 2px white);
  58. }
  59. #main-area {
  60. display: flex;
  61. min-width: 100vw;
  62. height: 100%;
  63. flex-direction: row;
  64. }
  65. #options {
  66. flex: 1 0 15vw;
  67. display: flex;
  68. justify-content: start;
  69. flex-direction: column;
  70. background: #444;
  71. }
  72. .options-row {
  73. display: flex;
  74. text-align: center;
  75. max-width: 15vw;
  76. }
  77. @media (max-aspect-ratio: 1/1) {
  78. .options-row {
  79. flex-direction: column;
  80. }
  81. .options-row > .options-field-numeric {
  82. width: 100%;
  83. }
  84. .options-row > .options-field-unit {
  85. width: 100%;
  86. }
  87. }
  88. .options-header {
  89. text-align: center;
  90. font-size: 24pt;
  91. margin-top: 10px;
  92. margin-bottom: 10px;
  93. }
  94. #entities {
  95. position: relative;
  96. user-select: none;
  97. }
  98. #world {
  99. flex: 9 0 85vw;
  100. min-height: 85vh;
  101. max-height: 85vh;
  102. overflow: hidden;
  103. }
  104. #menubar {
  105. display: flex;
  106. flex-direction: row;
  107. justify-content: space-evenly;
  108. align-items: center;
  109. min-height: 10vh;
  110. min-width: 100vw;
  111. background: #222;
  112. transition: 0.25s;
  113. }
  114. #menubar.hover-delete {
  115. background: #922;
  116. }
  117. .menubar-group {
  118. display: flex;
  119. flex-direction: row;
  120. justify-content: center;
  121. align-items: center;
  122. }
  123. .menubar-group button,
  124. .menubar-group select {
  125. height: 5vh;
  126. }
  127. .menu-item {
  128. font-size: 24px;
  129. color: #ccc;
  130. margin: 20px;
  131. }
  132. #display {
  133. width: 100%;
  134. height: 100%;
  135. background: #333;
  136. }
  137. #options .options-label {
  138. flex: 0 1;
  139. width: 100%;
  140. font-size: 150%;
  141. }
  142. .options-label {
  143. text-align: center;
  144. }
  145. .options-row .options-field-numeric {
  146. flex: 2;
  147. width: 100%;
  148. font-size: 150%;
  149. }
  150. .options-row .options-field-text {
  151. flex: 1;
  152. width: 100%;
  153. font-size: 150%;
  154. }
  155. .options-row .options-field-unit {
  156. flex: 1;
  157. width: 100%;
  158. font-size: 150%;
  159. }
  160. .options-row .options-button {
  161. flex: 1;
  162. width: 100%;
  163. font-size: 150%;
  164. }
  165. .options-row label {
  166. flex: 1;
  167. width: 100%;
  168. font-size: 150%;
  169. }
  170. body #test-canvas {
  171. position: fixed;
  172. top: 100vh;
  173. }
  174. .switch {
  175. height: 24pt;
  176. }
  177. .switch input {
  178. transform: scale(2);
  179. }
  180. .bottom-name {
  181. display: none;
  182. text-align: center;
  183. position: fixed;
  184. width: 75px;
  185. height: 50px;
  186. transform: translate(-50%, 0%);
  187. }
  188. body.toggle-bottom-name .bottom-name {
  189. display: inline;
  190. }