less copy protection, more size visualization
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

132 rindas
2.0 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. @media (max-aspect-ratio: 1/1) {
  50. .options-row {
  51. flex-direction: column;
  52. }
  53. .options-row > .options-field-numeric {
  54. width: 100%;
  55. }
  56. .options-row > .options-field-unit {
  57. width: 100%;
  58. }
  59. }
  60. .options-header {
  61. text-align: center;
  62. font-size: 24pt;
  63. margin-top: 10px;
  64. margin-bottom: 10px;
  65. }
  66. #entities {
  67. position: relative;
  68. user-select: none;
  69. }
  70. #world {
  71. flex: 9 0 85vw;
  72. min-height: 90vh;
  73. max-height: 90vh;
  74. overflow: hidden;
  75. }
  76. #menubar {
  77. display: flex;
  78. flex-direction: row;
  79. justify-content: center;
  80. align-items: center;
  81. min-height: 10vh;
  82. min-width: 100vw;
  83. background: #222;
  84. }
  85. .menu-item {
  86. font-size: 24px;
  87. color: #ccc;
  88. margin: 20px;
  89. }
  90. #display {
  91. width: 100%;
  92. height: 100%;
  93. background: #333;
  94. }
  95. #options .options-label {
  96. flex: 0 1;
  97. width: 100%;
  98. font-size: 150%;
  99. }
  100. .options-label {
  101. text-align: center;
  102. }
  103. .options-row .options-field-numeric {
  104. flex: 2;
  105. font-size: 150%;
  106. }
  107. .options-row .options-field-unit {
  108. flex: 1;
  109. font-size: 150%;
  110. }