nearest.css 4.0 KB

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