tab4.page.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .profile-header {
  2. height: 220px;
  3. display: flex;
  4. align-items: center;
  5. background: linear-gradient(135deg, #f3f3a8, rgb(199, 151, 199));
  6. border-bottom-left-radius: 20px;
  7. border-bottom-right-radius: 20px;
  8. padding: 16px;
  9. }
  10. .avatar-container {
  11. margin-right: 16px;
  12. width: 100px; /* 头像大小 */
  13. height: 100px; /* 头像大小 */
  14. border-radius: 50%; /* 圆形头像 */
  15. background-size: cover; /* 图片大小 */
  16. }
  17. .username {
  18. margin: 0;
  19. font-size: 2.3em; /* 用户名字体大小 */
  20. color: black;
  21. font-weight: bold;
  22. }
  23. .stats {
  24. display: flex;
  25. justify-content: space-between;
  26. font-size: 1.1em; /* 统计信息字体大小 */
  27. margin-top: 4px;
  28. color:black
  29. }
  30. .marginRight{
  31. margin-right: 25px;
  32. }
  33. .grey{
  34. color: grey;
  35. margin-left: 5px;
  36. }
  37. .icon-container {
  38. background-color: #ffffff; // 背景色
  39. border: 1px solid #e0e0e0; // 边框
  40. border-radius: 25px; // 圆角
  41. padding: 16px; /* 内边距 */
  42. margin: 16px; /* 外边距 */
  43. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); // 加强阴影效果
  44. transition: box-shadow 0.3s, transform 0.3s; // 平滑过渡效果
  45. }
  46. .icon-container1{
  47. background-color: #ffffff; // 背景色
  48. border: 1px solid #e0e0e0; // 边框
  49. border-radius: 25px; // 圆角
  50. padding: 10px 16px; /* 内边距 */
  51. margin: 16px; /* 外边距 */
  52. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); // 加强阴影效果
  53. transition: box-shadow 0.3s, transform 0.3s; // 平滑过渡效果
  54. }
  55. .icon-grid {
  56. display: grid;
  57. grid-template-columns: repeat(5, 1fr); /* 5列布局 */
  58. gap: 16px; /* 每个图像之间的间距 */
  59. }
  60. .icon-item {
  61. text-align: center; /* 文字居中 */
  62. border-radius: 10px; /* 边框圆角 */
  63. padding: 8px; /* 内边距 */
  64. background-color: white; /* 图标项背景色为白色 */
  65. }
  66. .icon-item p {
  67. margin: 4px 0 0 0; /* 减小图标与文字之间的距离 */
  68. }
  69. .bottem {
  70. margin-bottom: 2px;
  71. }
  72. .row {
  73. display: flex;
  74. align-items: center;
  75. justify-content: space-between;
  76. padding: 10px 0; // 行内边距
  77. border-bottom: 1px solid #e0e0e0; // 行分隔线
  78. }
  79. .row:last-child {
  80. border-bottom: none; // 最后一行不显示分隔线
  81. }
  82. .info-item {
  83. display: flex;
  84. align-items: center;
  85. margin-left: 12px;
  86. }
  87. .info-icon {
  88. color: black; // 图标颜色
  89. font-size: 24px; // 图标大小
  90. margin-right: 12px; // 图标与文本之间的间距
  91. }
  92. .arrow-icon {
  93. color: grey; // 箭头颜色
  94. font-size: 25px; // 箭头大小
  95. }
  96. .fontSize{
  97. font-size: 19px;
  98. font-family: '微软雅黑';
  99. }