less copy protection, more size visualization
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

132 řádky
2.1 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. pointer-events: fill;
  29. }
  30. .selected {
  31. filter: drop-shadow(0px 0px 15px gold);
  32. }
  33. #main-area {
  34. display: flex;
  35. min-width: 100vw;
  36. height: 100%;
  37. flex-direction: row;
  38. }
  39. #options {
  40. flex: 1 0 15vw;
  41. display: flex;
  42. justify-content: start;
  43. flex-direction: column;
  44. background: #444;
  45. }
  46. .options-row {
  47. display: flex;
  48. text-align: center;
  49. }
  50. @media (max-aspect-ratio: 1/1) {
  51. .options-row {
  52. flex-direction: column;
  53. }
  54. .options-row > .options-field-numeric {
  55. width: 100%;
  56. }
  57. .options-row > .options-field-unit {
  58. width: 100%;
  59. }
  60. }
  61. .options-header {
  62. text-align: center;
  63. font-size: 24pt;
  64. margin-top: 10px;
  65. margin-bottom: 10px;
  66. }
  67. #entities {
  68. position: relative;
  69. user-select: none;
  70. }
  71. #world {
  72. flex: 9 0 85vw;
  73. min-height: 90vh;
  74. max-height: 90vh;
  75. overflow: hidden;
  76. }
  77. #menubar {
  78. display: flex;
  79. flex-direction: row;
  80. justify-content: center;
  81. align-items: center;
  82. min-height: 10vh;
  83. min-width: 100vw;
  84. background: #222;
  85. }
  86. .menu-item {
  87. font-size: 24px;
  88. color: #ccc;
  89. margin: 20px;
  90. }
  91. #display {
  92. width: 100%;
  93. height: 100%;
  94. background: #333;
  95. }
  96. #options .options-label {
  97. flex: 0 1;
  98. width: 100%;
  99. font-size: 150%;
  100. }
  101. .options-label {
  102. text-align: center;
  103. }
  104. .options-row .options-field-numeric {
  105. flex: 2;
  106. font-size: 150%;
  107. }
  108. .options-row .options-field-unit {
  109. flex: 1;
  110. font-size: 150%;
  111. }