nearest.css 3.1 KB

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