style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. main.buy table {
  70. td:nth-child(1) {
  71. font-family: inherit;
  72. text-align: inherit;
  73. }
  74. td.red {
  75. color: #c66;
  76. }
  77. }
  78. main.roi table {
  79. td:nth-child(1),
  80. td:nth-child(2) {
  81. font-family: inherit;
  82. text-align: inherit;
  83. }
  84. }
  85. main.buy {
  86. h2 {
  87. margin-bottom: 4px;
  88. }
  89. section.xit-act {
  90. margin-top: 1em;
  91. textarea {
  92. height: 26px;
  93. }
  94. textarea, input {
  95. vertical-align: middle;
  96. }
  97. }
  98. }
  99. main.mat {
  100. width: 90%;
  101. min-width: 500px;
  102. #charts {
  103. display: flex;
  104. flex-wrap: wrap;
  105. justify-content: space-between;
  106. row-gap: 2em;
  107. margin-top: 2em;
  108. svg {
  109. display: inline-block;
  110. }
  111. div.cxob {
  112. max-height: 10em;
  113. overflow-y: scroll;
  114. font-size: 12px;
  115. tr.sell {
  116. color: #f80;
  117. }
  118. tr.buy {
  119. color: #0aa;
  120. }
  121. }
  122. div.recipe {
  123. margin-bottom: 1em;
  124. span.building {
  125. display: inline-flex;
  126. height: 50px;
  127. width: 50px;
  128. align-items: center;
  129. justify-content: center;
  130. background-color: #222;
  131. border: 1px solid #555;
  132. }
  133. }
  134. }
  135. }
  136. #loader {
  137. display: none;
  138. width: 48px;
  139. height: 48px;
  140. margin: 0 auto;
  141. border-radius: 50%;
  142. position: relative;
  143. border: 3px solid;
  144. border-color: #ccc #ccc transparent transparent;
  145. animation: rotation 1s linear infinite;
  146. }
  147. #loader::after {
  148. content: '';
  149. position: absolute;
  150. left: 0;
  151. right: 0;
  152. top: 0;
  153. bottom: 0;
  154. margin: auto;
  155. border: 3px solid;
  156. border-color: transparent transparent #c8c #c8c;
  157. width: 24px;
  158. height: 24px;
  159. border-radius: 50%;
  160. animation: rotationBack 0.5s linear infinite;
  161. transform-origin: center center;
  162. }
  163. @keyframes rotation {
  164. 0% {
  165. transform: rotate(0deg);
  166. }
  167. 100% {
  168. transform: rotate(360deg);
  169. }
  170. }
  171. @keyframes rotationBack {
  172. 0% {
  173. transform: rotate(0deg);
  174. }
  175. 100% {
  176. transform: rotate(-360deg);
  177. }
  178. }
  179. *[data-tooltip] {
  180. text-decoration: underline dashed;
  181. cursor: help;
  182. }
  183. [popover="hint"] {
  184. white-space: pre-wrap;
  185. inset: unset;
  186. max-width: 400px;
  187. padding: 0.5em 0.7em;
  188. color: inherit;
  189. background-color: #222;
  190. border: none;
  191. opacity: 0.9;
  192. }
  193. @media (max-width: 600px) {
  194. main {
  195. padding: 5px;
  196. }
  197. }