nearest.css 3.6 KB

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