style.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. @font-face {
  2. font-family: 'Metrophobic';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: url('metrophobic-v23-latin-regular.woff2') format('woff2');
  6. }
  7. * {
  8. box-sizing: border-box;
  9. }
  10. body {
  11. margin: 0;
  12. background-color: #000;
  13. color: #aaa;
  14. font: 18px Metrophobic, sans-serif;
  15. }
  16. a:link, a:visited, a:active {
  17. color: #58a;
  18. text-decoration: none;
  19. }
  20. a:hover {
  21. color: #5ad;
  22. }
  23. main.buy form {
  24. display: flex;
  25. flex-direction: column;
  26. align-items: flex-start;
  27. line-height: 2;
  28. }
  29. main.roi form {
  30. display: flex;
  31. justify-content: space-evenly;
  32. }
  33. input, select, textarea {
  34. background-color: #171120;
  35. color: inherit;
  36. font-family: inherit;
  37. padding: 4px;
  38. border: 1px solid #888;
  39. }
  40. input[type="checkbox"] {
  41. accent-color: #f70;
  42. }
  43. main, footer {
  44. width: 900px;
  45. margin: 10px auto;
  46. background-color: #111;
  47. }
  48. main {
  49. padding: 40px 50px;
  50. }
  51. footer {
  52. padding: 25px 50px;
  53. margin-bottom: 50px;
  54. font-size: 16px;
  55. }
  56. table {
  57. width: 100%;
  58. margin-top: 1em;
  59. border-collapse: collapse;
  60. th {
  61. white-space: no-wrap;
  62. }
  63. td {
  64. font-family: monospace;
  65. text-align: right;
  66. border-top: 1px solid #222;
  67. }
  68. }
  69. summary {
  70. cursor: pointer;
  71. }
  72. main.buy table {
  73. td:nth-child(1) {
  74. font-family: inherit;
  75. text-align: inherit;
  76. }
  77. td.red {
  78. color: #c66;
  79. }
  80. }
  81. main.roi table {
  82. td:nth-child(1),
  83. td:nth-child(2) {
  84. font-family: inherit;
  85. text-align: inherit;
  86. }
  87. }
  88. main.buy {
  89. h2 {
  90. margin-bottom: 4px;
  91. }
  92. section.xit-act {
  93. margin-top: 1em;
  94. textarea {
  95. height: 26px;
  96. }
  97. textarea, input {
  98. vertical-align: middle;
  99. }
  100. }
  101. }
  102. main.corps {
  103. table {
  104. td:nth-child(1),
  105. td:nth-child(2),
  106. td:nth-child(4) {
  107. padding: 0 16px;
  108. text-align: inherit;
  109. }
  110. td:nth-child(2),
  111. td:nth-child(4) {
  112. font-family: inherit;
  113. }
  114. }
  115. }
  116. main.gov {
  117. form input#planet {
  118. margin-bottom: 1em;
  119. }
  120. div#gov {
  121. margin-top: 2em;
  122. table.options {
  123. td {
  124. padding: 0 6px;
  125. &:first-child {
  126. width: 320px;
  127. font-size: 16px;
  128. }
  129. }
  130. }
  131. }
  132. .positive {
  133. color: #0aa;
  134. }
  135. .negative {
  136. color: #f80;
  137. }
  138. }
  139. main.junk {
  140. form {
  141. label {
  142. display: block;
  143. margin-bottom: 0.5em;
  144. }
  145. }
  146. }
  147. main.kit {
  148. width: 1200px;
  149. img {
  150. display: block;
  151. max-width: 100%;
  152. margin: 0.5em auto;
  153. }
  154. }
  155. main.mat {
  156. width: 90%;
  157. min-width: 500px;
  158. #charts {
  159. display: flex;
  160. flex-wrap: wrap;
  161. justify-content: space-between;
  162. row-gap: 2em;
  163. margin-top: 2em;
  164. svg {
  165. display: inline-block;
  166. }
  167. div.cxob {
  168. max-height: 10em;
  169. overflow-y: scroll;
  170. font-size: 12px;
  171. tr.sell {
  172. color: #f80;
  173. }
  174. tr.buy {
  175. color: #0aa;
  176. }
  177. }
  178. div.recipe {
  179. margin-bottom: 1em;
  180. span.building {
  181. display: inline-flex;
  182. height: 50px;
  183. width: 50px;
  184. align-items: center;
  185. justify-content: center;
  186. background-color: #222;
  187. border: 1px solid #555;
  188. }
  189. }
  190. }
  191. }
  192. main.ledger {
  193. textarea#ledger {
  194. margin-top: 2em;
  195. width: 100%;
  196. height: 70vh;
  197. }
  198. }
  199. main.plan {
  200. form {
  201. input, select {
  202. margin-bottom: 0.5em;
  203. }
  204. }
  205. table {
  206. td:nth-child(1) {
  207. text-align: inherit;
  208. }
  209. }
  210. }
  211. main.production {
  212. .analysis-node {
  213. padding-left: 40px;
  214. }
  215. .analysis-node.root {
  216. margin-top: 2em;
  217. padding-left: 0;
  218. }
  219. div.building-row > div {
  220. display: inline-block;
  221. margin-left: 10px;
  222. }
  223. }
  224. #loader {
  225. display: none;
  226. width: 48px;
  227. height: 48px;
  228. margin: 0 auto;
  229. border-radius: 50%;
  230. position: relative;
  231. border: 3px solid;
  232. border-color: #ccc #ccc transparent transparent;
  233. animation: rotation 1s linear infinite;
  234. }
  235. #loader::after {
  236. content: '';
  237. position: absolute;
  238. left: 0;
  239. right: 0;
  240. top: 0;
  241. bottom: 0;
  242. margin: auto;
  243. border: 3px solid;
  244. border-color: transparent transparent #c8c #c8c;
  245. width: 24px;
  246. height: 24px;
  247. border-radius: 50%;
  248. animation: rotationBack 0.5s linear infinite;
  249. transform-origin: center center;
  250. }
  251. @keyframes rotation {
  252. 0% {
  253. transform: rotate(0deg);
  254. }
  255. 100% {
  256. transform: rotate(360deg);
  257. }
  258. }
  259. @keyframes rotationBack {
  260. 0% {
  261. transform: rotate(0deg);
  262. }
  263. 100% {
  264. transform: rotate(-360deg);
  265. }
  266. }
  267. *[data-tooltip] {
  268. text-decoration: underline dashed;
  269. cursor: help;
  270. }
  271. [popover="hint"] {
  272. white-space: pre-wrap;
  273. inset: unset;
  274. max-width: 400px;
  275. padding: 0.5em 0.7em;
  276. color: inherit;
  277. background-color: #222;
  278. border: none;
  279. opacity: 0.9;
  280. }
  281. @media (max-width: 600px) {
  282. main {
  283. padding: 5px;
  284. }
  285. }