nearest.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. .pkmn-list {
  63. list-style-type: none;
  64. padding: 0;
  65. margin: 0;
  66. margin-top: 16px;
  67. }
  68. .bypkmn {
  69. margin-top: 16px;
  70. padding-right: 8px;
  71. min-width: 500px;
  72. }
  73. /* Pokemon Tile */
  74. .pokemon_tile {
  75. padding-top: 0.5em;
  76. padding-bottom: 0.5em;
  77. display: flex;
  78. flex-flow: row nowrap;
  79. justify-content: flex-start;
  80. align-items: flex-start;
  81. width: 100%;
  82. }
  83. .pokemon_tile-image-wrapper {
  84. width: 60px;
  85. height: 50px;
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. }
  90. .pokemon_tile-info_panel {
  91. display: flex;
  92. flex-flow: column nowrap;
  93. justify-content: flex-start;
  94. align-items: flex-start;
  95. }
  96. .pokemon_tile-pokemon_name {
  97. font-weight: 1000;
  98. }
  99. .pokemon_tile-results {
  100. display: flex;
  101. }
  102. .pokemon_tile-labels {
  103. text-align: right;
  104. margin-left: 16px;
  105. margin-right: 4px;
  106. display: flex;
  107. flex-flow: column nowrap;
  108. }
  109. .pokemon_tile-score_column {
  110. margin-left: 4px;
  111. min-width: 6em;
  112. display: flex;
  113. flex-flow: column nowrap;
  114. }
  115. .pokemon_tile-no_flex {
  116. flex: 0 0 auto;
  117. }
  118. .pokemon_tile-hex_column {
  119. flex: 0 1 10%;
  120. margin-left: 8px;
  121. display: flex;
  122. flex-flow: column nowrap;
  123. }
  124. .pokemon_tile-hex_color {
  125. flex: 1;
  126. padding: 0 0.5em 0 0.5em;
  127. display: inline-flex;
  128. align-items: center;
  129. justify-content: center;
  130. font-size: 10px;
  131. }
  132. .pokemon_tile-vector_column {
  133. margin-left: 4px;
  134. display: flex;
  135. flex-flow: column nowrap;
  136. }