nearest.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. body {
  2. width: 99%;
  3. padding-top: 4px;
  4. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  5. }
  6. .hide {
  7. display: none !important;
  8. }
  9. .container {
  10. display: flex;
  11. flex-flow: row nowrap;
  12. justify-content: space-between;
  13. align-items: flex-start;
  14. }
  15. .start-justified {
  16. justify-content: flex-start;
  17. }
  18. .panel {
  19. display: flex;
  20. flex-flow: column nowrap;
  21. justify-content: flex-start;
  22. align-items: stretch;
  23. }
  24. .config {
  25. width: 100%;
  26. margin-bottom: 16px;
  27. }
  28. .dropdown {
  29. flex: 1;
  30. justify-content: space-between;
  31. align-items: center;
  32. }
  33. .dropdown > select, input {
  34. margin-top: 8px;
  35. margin-right: 8px;
  36. margin-left: 8px;
  37. }
  38. .center-aligned {
  39. align-items: center;
  40. }
  41. .center-justified {
  42. justify-content: center;
  43. }
  44. .start-justified {
  45. justify-content: flex-start;
  46. }
  47. .eqn-label {
  48. margin-right: 0.5em;
  49. }
  50. #reveal-definitions {
  51. display: none;
  52. }
  53. #reveal-definitions:checked~#definitions {
  54. display: flex;
  55. }
  56. #reveal-definitions:checked~#reveal-def-label > #reveal-def-hide {
  57. display: block;
  58. }
  59. #reveal-definitions:checked~#reveal-def-label > #reveal-def-show {
  60. display: none;
  61. }
  62. #reveal-def-hide {
  63. display: none;
  64. margin-bottom: 0.5em;
  65. }
  66. #reveal-def-show {
  67. display: block;
  68. margin-bottom: 0.5em;
  69. }
  70. #definitions {
  71. display: none;
  72. margin-bottom: 0.2em;
  73. }
  74. .math-section {
  75. border: 4px solid #222;
  76. padding: 0.3em;
  77. align-self: stretch;
  78. }
  79. #obj-fn {
  80. display: inline-flex;
  81. flex-flow: column nowrap;
  82. justify-content: center;
  83. }
  84. .padded {
  85. padding-left: 16px;
  86. padding-right: 16px;
  87. }
  88. .title {
  89. font-weight: 1000;
  90. }
  91. .control {
  92. height: 32px;
  93. align-items: flex-end;
  94. }
  95. .control > * {
  96. flex: 1;
  97. }
  98. .control > button {
  99. margin-left: 16px;
  100. margin-right: 16px;
  101. }
  102. .control > input {
  103. max-width: 10em;
  104. }
  105. #cluster-mean-warning {
  106. margin-top: 4px;
  107. }
  108. #bulba-wrapper {
  109. display: flex;
  110. justify-content: center;
  111. }
  112. label {
  113. white-space: nowrap
  114. }
  115. .hideable_control {
  116. /* container + control, copied to a single class for toggling */
  117. display: flex;
  118. flex-flow: row nowrap;
  119. justify-content: space-between;
  120. align-items: flex-start;
  121. height: 32px;
  122. align-items: flex-end;
  123. }
  124. .hideable_control > label {
  125. padding-right: 2em;
  126. }
  127. .hideable_control > input {
  128. flex: 0 0 50%;
  129. }
  130. .hideable_control--hidden {
  131. display: none;
  132. }
  133. .pkmn-list {
  134. list-style-type: none;
  135. padding: 0;
  136. margin: 0;
  137. margin-top: 16px;
  138. width: 100%;
  139. }
  140. .bypkmn {
  141. margin-top: 16px;
  142. padding-right: 8px;
  143. min-width: 500px;
  144. }
  145. /* Pokemon Tile */
  146. .pokemon_tile {
  147. padding-top: 0.5em;
  148. padding-bottom: 0.5em;
  149. width: 100%;
  150. max-width: 500px;
  151. display: flex;
  152. flex-flow: row nowrap;
  153. justify-content: stretch;
  154. align-items: flex-start;
  155. }
  156. .pokemon_tile--smaller {
  157. max-width: 450px;
  158. }
  159. .pokemon_tile-image-wrapper {
  160. width: 60px;
  161. height: 50px;
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. }
  166. .pokemon_tile-info_panel {
  167. flex: 1;
  168. display: flex;
  169. flex-flow: column nowrap;
  170. justify-content: center;
  171. align-items: stretch;
  172. }
  173. .pokemon_tile-pokemon_name {
  174. font-weight: 1000;
  175. }
  176. .pokemon_tile-results {
  177. display: flex;
  178. flex-flow: row nowrap;
  179. justify-content: flex-start;
  180. align-items: stretch;
  181. }
  182. .pokemon_tile-labels {
  183. margin-left: 8px;
  184. display: flex;
  185. flex-flow: column nowrap;
  186. justify-content: flex-start;
  187. align-items: flex-end;
  188. }
  189. .pokemon_tile-score_column {
  190. margin-left: 8px;
  191. flex: 1;
  192. display: flex;
  193. flex-flow: column nowrap;
  194. justify-content: flex-start;
  195. align-items: flex-start;
  196. }
  197. .pokemon_tile-hex_column {
  198. min-width: 140px;
  199. margin-left: 8px;
  200. display: flex;
  201. flex-flow: column nowrap;
  202. }
  203. .pokemon_tile-hex_color {
  204. flex: 1;
  205. padding: 0 0.5em 0 0.5em;
  206. font-size: 10px;
  207. display: inline-flex;
  208. justify-content: space-between;
  209. align-items: center;
  210. }
  211. .pokemon_tile-vector {
  212. margin-left: 8px;
  213. }