nearest.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. body {
  2. width: 100vw;
  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. .container {
  7. width: 100%;
  8. display: flex;
  9. flex-flow: row nowrap;
  10. justify-content: space-between;
  11. align-items: flex-start;
  12. }
  13. .panel {
  14. width: 100%;
  15. flex: 1;
  16. display: flex;
  17. flex-flow: column nowrap;
  18. justify-content: flex-start;
  19. align-items: flex-start;
  20. }
  21. .center-aligned {
  22. align-items: center;
  23. }
  24. #obj-fn {
  25. display: inline-flex;
  26. flex-flow: column nowrap;
  27. justify-content: center;
  28. min-height: 64px;
  29. }
  30. .padded {
  31. padding-left: 16px;
  32. padding-right: 16px;
  33. }
  34. .margined {
  35. margin-left: 8px;
  36. margin-right: 8px;
  37. }
  38. #left-panel {
  39. min-width: 400px;
  40. max-width: 500px;
  41. }
  42. .bycolor {
  43. flex: 2;
  44. }
  45. .bycolor_l1 {
  46. justify-content: flex-start;
  47. align-items: flex-end;
  48. }
  49. .bycolor_l2 {
  50. padding-top: 16px;
  51. justify-content: flex-start;
  52. }
  53. .control {
  54. height: 32px;
  55. align-items: flex-end;
  56. }
  57. .pokemon {
  58. display: flex;
  59. flex-flow: row nowrap;
  60. justify-content: space-between;
  61. align-items: flex-end;
  62. width: 400px;
  63. height: 50px;
  64. }
  65. .color-tile {
  66. width: 50px;
  67. height: 32px;
  68. font-size: 10px;
  69. text-align: center;
  70. display: inline-flex;
  71. align-items: center;
  72. margin-right: 4px;
  73. }
  74. .pokemon_text {
  75. flex: 1;
  76. padding-left: 4px;
  77. text-align: left;
  78. }
  79. .pkmn-list {
  80. list-style-type: none;
  81. padding: 0;
  82. margin: 0;
  83. margin-top: 16px;
  84. }
  85. .bypkmn {
  86. border-top: 4px solid #222;
  87. border-right: 4px solid #222;
  88. margin-top: 32px;
  89. padding-top: 8px;
  90. padding-right: 8px;
  91. }