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.
 
 
 

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