content.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. @a-color: #ea0862;
  2. .index-content {
  3. height: 100%;
  4. .acc-title {
  5. color: #333;
  6. font-size: 16px;
  7. margin-bottom: 10px;
  8. span {
  9. font-size: 12px;
  10. color: #999;
  11. margin-left: 10px;
  12. }
  13. }
  14. .index-userdata {
  15. background: #fff;
  16. padding: 20px;
  17. .userdata-img {
  18. height: 120px;
  19. width: 120px;
  20. padding-top: 120px;
  21. position: relative;
  22. overflow: hidden;
  23. border-radius: 50%;
  24. float: left;
  25. background: #eee;
  26. img {
  27. height: 120px;
  28. width: 120px;
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. }
  33. }
  34. .userdata-content {
  35. margin-left: 140px;
  36. line-height: 30px;
  37. position: relative;
  38. a {
  39. color: @a-color;
  40. }
  41. .userdata-lvl {
  42. span {
  43. color: #fff;
  44. background: @a-color;
  45. border-radius: 2px;
  46. padding: 0 4px;
  47. }
  48. }
  49. .userdata-relate {
  50. button {
  51. border: none;
  52. border-radius: 4px;
  53. margin-top: 20px;
  54. margin-right: 20px;
  55. img {
  56. height: 20px;
  57. vertical-align: middle;
  58. }
  59. span {
  60. color: #fff;
  61. }
  62. }
  63. .relateweixin {
  64. background: #12d41e;
  65. }
  66. .relateqq {
  67. background: #3073c1;
  68. }
  69. .relateweibo {
  70. background: #cf331d;
  71. }
  72. }
  73. .userdata-follow {
  74. position: absolute;
  75. top: 0;
  76. right: 10px;
  77. }
  78. }
  79. }
  80. .index-record {
  81. background: #fff;
  82. padding: 20px;
  83. margin-top: 1px;
  84. .record-list {
  85. li {
  86. float: left;
  87. width: 200px;
  88. margin-right: 100px;
  89. line-height: 30px;
  90. a {
  91. color: @a-color;
  92. }
  93. }
  94. }
  95. }
  96. .index-activity {
  97. background: #fff;
  98. padding: 20px;
  99. margin-top: 20px;
  100. min-height: 300px;
  101. .activity-list {
  102. li {
  103. border-bottom: 1px dashed #eee;
  104. padding: 10px 0;
  105. .list-type {
  106. color: #666
  107. }
  108. .list-title {
  109. color: #333;
  110. margin-left: 10px;
  111. }
  112. a {
  113. padding: 0 4px;
  114. background: @a-color;
  115. color: #fff;
  116. border-radius: 2px;
  117. float: right;
  118. margin: 0 10px;
  119. }
  120. .list-time {
  121. color: #666;
  122. float: right;
  123. }
  124. }
  125. }
  126. }
  127. }
  128. .collection {
  129. background: #fff;
  130. padding: 20px;
  131. .avatar-box {
  132. height: 80px;
  133. width: 80px;
  134. padding-top: 80px;
  135. margin: 0 auto;
  136. position: relative;
  137. img {
  138. position: absolute;
  139. top: 0;
  140. left: 0;
  141. height: 80px;
  142. width: auto;
  143. }
  144. }
  145. }