nearest.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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: flex-start;
  24. }
  25. .config {
  26. width: 100%;
  27. margin-bottom: 16px;
  28. }
  29. .center-aligned {
  30. align-items: center;
  31. }
  32. .center-justified {
  33. justify-content: center;
  34. }
  35. .math-section {
  36. border: 4px solid #222;
  37. padding: 1em;
  38. padding-bottom: 0;
  39. min-width: 90%;
  40. align-self: center;
  41. }
  42. .qvecs {
  43. align-items: flex-end;
  44. }
  45. #obj-fn {
  46. display: inline-flex;
  47. flex-flow: column nowrap;
  48. justify-content: center;
  49. min-height: 64px;
  50. }
  51. .padded {
  52. padding-left: 16px;
  53. padding-right: 16px;
  54. }
  55. .margined {
  56. margin-left: 8px;
  57. margin-right: 8px;
  58. }
  59. .title {
  60. font-weight: 1000;
  61. }
  62. .bycolor {
  63. flex: 2;
  64. }
  65. .bycolor_l1 {
  66. justify-content: flex-start;
  67. align-items: flex-end;
  68. }
  69. .bycolor_l2 {
  70. padding-top: 16px;
  71. justify-content: flex-start;
  72. }
  73. .control {
  74. height: 32px;
  75. align-items: flex-end;
  76. }
  77. .pokemon {
  78. display: flex;
  79. flex-flow: row nowrap;
  80. justify-content: space-between;
  81. align-items: flex-end;
  82. width: 400px;
  83. height: 50px;
  84. }
  85. .color-tile {
  86. width: 50px;
  87. height: 32px;
  88. font-size: 10px;
  89. text-align: center;
  90. display: inline-flex;
  91. align-items: center;
  92. margin-right: 4px;
  93. }
  94. .pokemon_text {
  95. flex: 1;
  96. padding-left: 4px;
  97. text-align: left;
  98. }
  99. .pkmn-list {
  100. list-style-type: none;
  101. padding: 0;
  102. margin: 0;
  103. margin-top: 16px;
  104. }
  105. .bypkmn {
  106. margin-top: 16px;
  107. padding-right: 8px;
  108. min-width: 500px;
  109. }
  110. /* Pokemon Tile */
  111. .pokemon_tile {
  112. padding-top: 0.5em;
  113. padding-bottom: 0.5em;
  114. display: flex;
  115. flex-flow: row nowrap;
  116. justify-content: flex-start;
  117. align-items: flex-start;
  118. width: 100%;
  119. }
  120. .pokemon_tile-image-wrapper {
  121. width: 60px;
  122. height: 50px;
  123. display: flex;
  124. justify-content: center;
  125. align-items: center;
  126. }
  127. .pokemon_tile-info_panel {
  128. display: flex;
  129. flex-flow: column nowrap;
  130. justify-content: flex-start;
  131. align-items: flex-start;
  132. }
  133. .pokemon_tile-pokemon_name {
  134. font-weight: 1000;
  135. }
  136. .pokemon_tile-results {
  137. display: flex;
  138. }
  139. .pokemon_tile-labels {
  140. text-align: right;
  141. margin-left: 16px;
  142. margin-right: 4px;
  143. display: flex;
  144. flex-flow: column nowrap;
  145. }
  146. .pokemon_tile-score_column {
  147. margin-left: 4px;
  148. min-width: 6em;
  149. display: flex;
  150. flex-flow: column nowrap;
  151. }
  152. .pokemon_tile-no_flex {
  153. flex: 0 0 auto;
  154. }
  155. .pokemon_tile-hex_column {
  156. flex: 0 1 10%;
  157. margin-left: 8px;
  158. display: flex;
  159. flex-flow: column nowrap;
  160. }
  161. .pokemon_tile-hex_color {
  162. flex: 1;
  163. padding: 0 0.5em 0 0.5em;
  164. display: inline-flex;
  165. align-items: center;
  166. justify-content: center;
  167. font-size: 10px;
  168. }
  169. .pokemon_tile-vector_column {
  170. margin-left: 4px;
  171. display: flex;
  172. flex-flow: column nowrap;
  173. }