_explore.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .explore {
  2. padding-top: @15;
  3. padding-bottom: @footer-margin * 2;
  4. .navbar {
  5. .octicon {
  6. width: 16px;
  7. text-align: center;
  8. }
  9. }
  10. .not-found {
  11. background: #f3f3f3;
  12. padding: 32px;
  13. background-color: #fafbfc;
  14. border: 1px solid #e1e4e8;
  15. border-radius: 3px;
  16. box-shadow: inset 0 0 @10 rgba(27,31,35,0.05);
  17. }
  18. .username {
  19. background-color: #ffdb99;
  20. color: #5a5a5a;
  21. display: inline-block;
  22. padding-left: 6px;
  23. padding-right: 6px;
  24. border-radius: 2em;
  25. font-size: 12px;
  26. }
  27. }
  28. .ui.repository.list {
  29. .item {
  30. padding-bottom: 25px;
  31. &:not(:first-child) {
  32. border-top: 1px solid #eee;
  33. padding-top: 25px;
  34. }
  35. .ui.header {
  36. font-size: 1.5rem;
  37. padding-bottom: @10;
  38. font-weight: 500;
  39. .name {
  40. word-break: break-all;
  41. }
  42. .metas {
  43. color: #888;
  44. font-size: 14px;
  45. font-weight: normal;
  46. span:not(:last-child) {
  47. margin-right: @5;
  48. }
  49. }
  50. }
  51. .time {
  52. font-size: 12px;
  53. color: #808080;
  54. }
  55. }
  56. }
  57. .ui.user.list {
  58. .item {
  59. padding-bottom: 25px;
  60. &:not(:first-child) {
  61. border-top: 1px solid #eee;
  62. padding-top: 25px;
  63. }
  64. .ui.avatar.image.explore-page{
  65. width: 40px;
  66. height: 40px;
  67. border-radius: 50px;
  68. border: 2px solid #bbb;
  69. }
  70. .description {
  71. font-size: 12px;
  72. margin-top: 7px;
  73. .octicon:not(:first-child) {
  74. margin-left: @5;
  75. }
  76. a {
  77. color: #333;
  78. &:hover {
  79. text-decoration: underline;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. .explore-card {
  86. &.top {
  87. margin-top: 0.4em;
  88. }
  89. &.title {
  90. font-size: @20;
  91. color: #383838;
  92. margin-bottom: 8px;
  93. }
  94. &.meta {
  95. font-size: 14px !important;
  96. }
  97. &.description {
  98. font-size: 13px !important;
  99. }
  100. &.icon {
  101. font-size: .9em !important;
  102. }
  103. &.extra {
  104. font-size: 13px !important;
  105. }
  106. &.topics-img {
  107. width: 100%;
  108. }
  109. &.footer {
  110. font-size: 1.1em;
  111. margin-top: 7em;
  112. margin-bottom: 5em;
  113. }
  114. &.font {
  115. font-size: 1.2em !important;
  116. font-family: monospace !important;
  117. }
  118. &.seperator {
  119. margin-right: @10;
  120. }
  121. }
  122. .ex-search {
  123. font-weight: 400;
  124. }
  125. .no-padding-left {
  126. padding-left: 0 !important;
  127. }
  128. // Mobile
  129. @media (max-width: 1020px) {
  130. .ui.grid > [class*="four wide"].column{
  131. width: 100% !important;
  132. }
  133. .ui.vertical.menu{
  134. margin: 0 auto !important;
  135. width: 90%;
  136. }
  137. .ui.user.list .item .content{
  138. width: 85%;
  139. }
  140. .ui.user.list .item .content .br{
  141. display: block;
  142. }
  143. .ui.user.list .item .content .octicon.octicon-location{
  144. padding-left: @5;
  145. }
  146. .time {
  147. padding-left: @10;
  148. }
  149. .has-emoji {
  150. margin-left: @10;
  151. }
  152. .explore-card {
  153. &.top {
  154. margin-left: 50%;
  155. margin-right: 50%;
  156. }
  157. &.mobile {
  158. display: none !important;
  159. }
  160. &.card {
  161. margin-top: .1em !important;
  162. }
  163. }
  164. .ex-search {
  165. font-size: 1.3em;
  166. padding-top: 1.5em;
  167. padding-bottom: .5em;
  168. }
  169. .ex-head {
  170. font-size: @20;
  171. }
  172. }