nearest.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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: 1em;
  77. padding-bottom: 0.2em;
  78. align-self: stretch;
  79. }
  80. .qvecs {
  81. align-items: flex-end;
  82. }
  83. #obj-fn {
  84. display: inline-flex;
  85. flex-flow: column nowrap;
  86. justify-content: center;
  87. min-height: 64px;
  88. }
  89. .padded {
  90. padding-left: 16px;
  91. padding-right: 16px;
  92. }
  93. .title {
  94. font-weight: 1000;
  95. }
  96. .control {
  97. height: 32px;
  98. align-items: flex-end;
  99. }
  100. .control > * {
  101. flex: 1;
  102. }
  103. .control > button {
  104. margin-left: 16px;
  105. margin-right: 16px;
  106. }
  107. .control > input {
  108. max-width: 10em;
  109. }
  110. #cluster-mean-warning {
  111. margin-top: 4px;
  112. }
  113. #bulba-wrapper {
  114. display: flex;
  115. justify-content: center;
  116. }
  117. label {
  118. white-space: nowrap
  119. }
  120. .hideable_control {
  121. /* container + control, copied to a single class for toggling */
  122. display: flex;
  123. flex-flow: row nowrap;
  124. justify-content: space-between;
  125. align-items: flex-start;
  126. height: 32px;
  127. align-items: flex-end;
  128. }
  129. .hideable_control > label {
  130. padding-right: 2em;
  131. }
  132. .hideable_control > input {
  133. flex: 0 0 50%;
  134. }
  135. .hideable_control--hidden {
  136. display: none;
  137. }
  138. .pkmn-list {
  139. list-style-type: none;
  140. padding: 0;
  141. margin: 0;
  142. margin-top: 16px;
  143. width: 100%;
  144. }
  145. .bypkmn {
  146. margin-top: 16px;
  147. padding-right: 8px;
  148. min-width: 500px;
  149. }
  150. /* Pokemon Tile */
  151. .pokemon_tile {
  152. padding-top: 0.5em;
  153. padding-bottom: 0.5em;
  154. width: 100%;
  155. max-width: 500px;
  156. display: flex;
  157. flex-flow: row nowrap;
  158. justify-content: stretch;
  159. align-items: flex-start;
  160. }
  161. .pokemon_tile--smaller {
  162. max-width: 450px;
  163. }
  164. .pokemon_tile-image-wrapper {
  165. width: 60px;
  166. height: 50px;
  167. display: flex;
  168. justify-content: center;
  169. align-items: center;
  170. }
  171. .pokemon_tile-info_panel {
  172. flex: 1;
  173. display: flex;
  174. flex-flow: column nowrap;
  175. justify-content: center;
  176. align-items: stretch;
  177. }
  178. .pokemon_tile-pokemon_name {
  179. font-weight: 1000;
  180. }
  181. .pokemon_tile-results {
  182. display: flex;
  183. flex-flow: row nowrap;
  184. justify-content: flex-start;
  185. align-items: stretch;
  186. }
  187. .pokemon_tile-labels {
  188. margin-left: 8px;
  189. display: flex;
  190. flex-flow: column nowrap;
  191. justify-content: flex-start;
  192. align-items: flex-end;
  193. }
  194. .pokemon_tile-score_column {
  195. margin-left: 8px;
  196. flex: 1;
  197. display: flex;
  198. flex-flow: column nowrap;
  199. justify-content: flex-start;
  200. align-items: flex-start;
  201. }
  202. .pokemon_tile-hex_column {
  203. min-width: 140px;
  204. margin-left: 8px;
  205. display: flex;
  206. flex-flow: column nowrap;
  207. }
  208. .pokemon_tile-hex_color {
  209. flex: 1;
  210. padding: 0 0.5em 0 0.5em;
  211. font-size: 10px;
  212. display: inline-flex;
  213. justify-content: space-between;
  214. align-items: center;
  215. }
  216. .pokemon_tile-vector {
  217. margin-left: 8px;
  218. }