App.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. body{
  2. background-image: url("./bg.jpg");
  3. background-repeat: no-repeat;
  4. background-size: cover;
  5. }
  6. #wrapper{
  7. max-height: 80vh;
  8. overflow: hidden;
  9. position: relative;
  10. min-width: 250px;
  11. left: 30px;
  12. }
  13. @media (max-device-width: 1100px) {
  14. #wrapper{
  15. width: 100%;
  16. }
  17. }
  18. .header{
  19. background-color: #222;
  20. color: #fff;
  21. }
  22. .header p{
  23. margin: 0px;
  24. text-align: center;
  25. font-size: 20px;
  26. font-weight: bold;
  27. }
  28. .person {
  29. background-color: #222;
  30. color: #fff;
  31. cursor: pointer;
  32. padding: 8px;
  33. width: 100%;
  34. border: none;
  35. text-align: left;
  36. outline: none;
  37. font-size: 15px;
  38. transition: 0.4s;
  39. font-weight: bold;
  40. }
  41. #online {
  42. margin-bottom: 3px;
  43. }
  44. #offline .person{
  45. opacity: 0.8;
  46. }
  47. #offline .person:hover, #online .person:hover {
  48. background-color: #777;
  49. }
  50. .rank{
  51. background-color: #fff;
  52. float: left;
  53. padding: 2px 5px;
  54. margin-right: 7px;
  55. color: #000;
  56. border-radius: 1px;
  57. }
  58. .color{
  59. float: left;
  60. margin-right: 7px;
  61. font-size: 12px;
  62. margin-top: 3px;
  63. }
  64. .name{
  65. font-weight: bold;
  66. float: left;
  67. }
  68. .speed{
  69. opacity: 0.7;
  70. float: right;
  71. margin-right: 30px;
  72. font-weight: normal;
  73. }
  74. .extend{
  75. padding: 0 18px;
  76. display: none;
  77. overflow: hidden;
  78. font-weight: normal;
  79. min-width: 300px;
  80. }
  81. .person .extend img{
  82. width: 120px;
  83. float: left;
  84. margin-right: 20px;
  85. margin-top: 10px;
  86. }
  87. #wrapper{
  88. float: left;
  89. }
  90. .mapWrapper{
  91. float: right;
  92. }
  93. #id{
  94. background-color: #fff;
  95. }
  96. button{
  97. width: 50px;
  98. height: 50px;
  99. }