nearest.css 2.9 KB

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