mine.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. body {
  2. font-family: "Microsoft Yahei" !important;
  3. }
  4. #mineScroll div .user {
  5. position: relative;
  6. }
  7. #mineScroll div .user img {
  8. width: 100%;
  9. }
  10. #mineScroll div .user .user-image {
  11. position: absolute;
  12. width: 4rem;
  13. height: 4rem;
  14. top: 4rem;
  15. right: 0;
  16. left: 0;
  17. margin: 0 auto;
  18. /*background: #fff;*/
  19. border-radius: 50%;
  20. }
  21. #mineScroll div .user .user-image img{
  22. border-radius: 50%;
  23. }
  24. #mineScroll div .user .user-name {
  25. position: absolute;
  26. top: 10rem;
  27. right: 0;
  28. left: 0;
  29. color: #fff;
  30. text-align: center;
  31. }
  32. /*#mineScroll div .user-balance {
  33. margin-top: 1rem;
  34. width: 100%;
  35. line-height: 2rem;
  36. text-align: center;
  37. }*/
  38. /*#mineScroll div .user-balance span {
  39. top: -8px;
  40. }
  41. #mineScroll div .user-balance span img {
  42. width: 8%;
  43. margin: 0 3px -2% 0;
  44. }*/
  45. #mineScroll div .mine-type {
  46. margin-top: 1rem;
  47. width: 100%;
  48. /*height: 250px;*/
  49. }
  50. #mineScroll div .mine-type div {
  51. float: left;
  52. padding-top: 5%;
  53. padding-bottom: 5%;
  54. text-align: center;
  55. background: #ffffff;
  56. }
  57. #mineScroll div .mine-type div:nth-child(1),
  58. #mineScroll div .mine-type div:nth-child(2),
  59. #mineScroll div .mine-type div:nth-child(3) {
  60. border-top: 1px solid #b7b7b7;
  61. }
  62. #mineScroll div .mine-type div:nth-child(1),
  63. #mineScroll div .mine-type div:nth-child(2),
  64. #mineScroll div .mine-type div:nth-child(4),
  65. #mineScroll div .mine-type div:nth-child(5) {
  66. border-bottom: 1px solid #b7b7b7;
  67. border-right: 1px solid #b7b7b7;
  68. }
  69. #mineScroll div .mine-type div:nth-child(3),
  70. #mineScroll div .mine-type div:nth-child(6) {
  71. border-bottom: 1px solid #b7b7b7;
  72. }
  73. #mineScroll div .mine-type div img {
  74. width: 50px;
  75. height: 50px;
  76. }
  77. #mineScroll div .mine-type div .mine-text {
  78. display: block;
  79. width: 100%;
  80. border: 0;
  81. padding: 0;
  82. }
  83. /*当其最大宽度为320*/
  84. @media (max-width: 320px) {
  85. #mineScroll div .user{
  86. margin-top: -20%;
  87. }
  88. #mineScroll div .user .user-name {
  89. top: 8rem;
  90. }
  91. #mineScroll div .user .user-image {
  92. top: 3.6rem;
  93. }
  94. #mineScroll div .user-balance {
  95. font-size: 1rem;
  96. margin-top: 0.2rem;
  97. }
  98. #mineScroll div .mine-type{
  99. margin-top:0.3rem;
  100. }
  101. #mineScroll div .mine-type div img {
  102. width: 40px;
  103. height: 40px;
  104. }
  105. }
  106. /*当其最小宽度为360*/
  107. @media (min-width: 360px) {
  108. #mineScroll div .user .user-name {
  109. top: 9rem;
  110. }
  111. #mineScroll div .user-balance {
  112. font-size: 1rem;
  113. margin-top: 0.5rem;
  114. }
  115. #mineScroll div .mine-type div img {
  116. /*width: 40px;
  117. height: 40px;*/
  118. }
  119. }
  120. /*最小高度为568*/
  121. @media (min-height: 568px) {
  122. #mineScroll div .user {
  123. margin-top: 0;
  124. }
  125. #mineScroll div .user .user-image{
  126. top: 2.2rem;
  127. }
  128. #mineScroll div .user .user-name{
  129. top: 7rem;
  130. }
  131. }
  132. /*当其最小宽度为768*/
  133. @media (min-width: 768px) {
  134. #mineScroll div .user {
  135. margin-top: -2rem;
  136. }
  137. #mineScroll div .user .user-image {
  138. top: 7rem;
  139. width: 9rem;
  140. height: 9rem;
  141. }
  142. #mineScroll div .user .user-name {
  143. top: 19rem;
  144. font-size: 2rem;
  145. }
  146. #mineScroll div .user-balance {
  147. margin-top: 1rem;
  148. line-height: 4rem;
  149. text-align: center;
  150. font-size: 2rem;
  151. }
  152. #mineScroll div .user-balance span {
  153. top: -8px;
  154. }
  155. #mineScroll div .user-balance span img {
  156. width: 7%;
  157. margin-bottom: -2%;
  158. }
  159. #mineScroll div .mine-type div img {
  160. width: 60px;
  161. height: 60px;
  162. }
  163. }
  164. @media(min-width:375px){
  165. #mineScroll div .user .user-name{
  166. top:8rem;
  167. font-size: 1.1rem;
  168. }
  169. }
  170. @media(min-width:414px){
  171. #mineScroll div .user .user-name{
  172. top:9rem;
  173. }
  174. }
  175. @media (min-width: 768px) {
  176. @media (min-width: 768px) {
  177. #mineScroll .prevent-scroll .width-percent-33 .title-container-square a .name {
  178. display: block;
  179. margin-top: 5px;
  180. font-size: 1.6rem;
  181. }
  182. }
  183. }