gitea源码

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .user.profile .ui.card .header {
  2. display: block;
  3. font-weight: var(--font-weight-semibold);
  4. font-size: 1.3rem;
  5. margin-top: -0.2rem;
  6. line-height: 1.3rem;
  7. }
  8. .user.profile .ui.card .profile-avatar-name {
  9. border-top: none;
  10. text-align: center;
  11. }
  12. .user.profile .ui.card .extra.content {
  13. padding: 0;
  14. }
  15. .user.profile .ui.card .extra.content > ul {
  16. margin: 0;
  17. padding: 0;
  18. }
  19. .user.profile .ui.card .extra.content > ul > li {
  20. padding: 10px;
  21. display: flex;
  22. list-style: none;
  23. align-items: center;
  24. gap: 0.25em;
  25. }
  26. .user.profile .ui.card .extra.content > ul > li:not(:last-child) {
  27. border-bottom: 1px solid var(--color-secondary);
  28. }
  29. .user.profile .ui.card .extra.content > ul > li.follow .ui.button {
  30. width: 100%;
  31. }
  32. .user.profile .ui.card #profile-avatar {
  33. padding: 1rem 1rem 0.25rem;
  34. justify-content: center;
  35. }
  36. .user.profile .ui.card #profile-avatar img {
  37. max-width: 100%;
  38. height: auto;
  39. }
  40. @media (max-width: 767.98px) {
  41. .user.profile .ui.card #profile-avatar img {
  42. width: 30vw;
  43. }
  44. }
  45. @media (max-width: 767.98px) {
  46. .user.profile .ui.card {
  47. width: 100%;
  48. }
  49. }
  50. .user.profile .ui.secondary.stackable.pointing.menu {
  51. flex-wrap: wrap;
  52. }
  53. .user.followers .header.name {
  54. font-size: 20px;
  55. line-height: 24px;
  56. vertical-align: middle;
  57. }
  58. .user.followers .follow .ui.button {
  59. padding: 8px 15px;
  60. }
  61. .user.link-account:not(.icon) {
  62. padding-top: 15px;
  63. padding-bottom: 5px;
  64. }
  65. .user-orgs {
  66. display: flex;
  67. flex-flow: row wrap;
  68. padding: 0;
  69. margin: -3px !important;
  70. }
  71. .user-orgs > li {
  72. display: flex;
  73. border-bottom: 0 !important;
  74. padding: 3px !important;
  75. max-width: 60px;
  76. }
  77. .user-badges {
  78. display: grid;
  79. grid-template-columns: repeat(auto-fill, 64px);
  80. gap: 2px;
  81. }
  82. .user-badges img {
  83. object-fit: contain;
  84. }
  85. #readme_profile {
  86. padding: 1em 2em;
  87. border-radius: var(--border-radius);
  88. background: var(--color-card);
  89. border: 1px solid var(--color-secondary);
  90. }
  91. #notification_table {
  92. background: var(--color-box-body);
  93. border: 1px solid var(--color-secondary);
  94. border-radius: var(--border-radius);
  95. }
  96. .notifications-item {
  97. display: flex;
  98. align-items: center;
  99. flex-wrap: wrap;
  100. gap: 0.5em;
  101. padding: 0.5em 1em;
  102. overflow-wrap: anywhere;
  103. }
  104. .notifications-item:hover {
  105. background: var(--color-hover);
  106. }
  107. .notifications-buttons {
  108. display: none;
  109. min-width: 74px;
  110. }
  111. .notifications-updated {
  112. display: flex;
  113. }
  114. .notifications-item:hover .notifications-buttons {
  115. display: flex;
  116. align-items: center;
  117. justify-content: end;
  118. gap: 0.25em;
  119. }
  120. .notifications-item:hover .notifications-updated {
  121. display: none;
  122. }