Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

_base.less 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. @footer-margin: 40px;
  2. body {
  3. font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
  4. background-color: #FAFAFA;
  5. }
  6. img {
  7. border-radius: 3px;
  8. }
  9. .full.height {
  10. padding: 0;
  11. margin: 0 0 -@footer-margin*2 0;
  12. min-height: 100%;
  13. }
  14. .following.bar {
  15. z-index: 900;
  16. left: 0;
  17. width: 100%;
  18. &.light {
  19. background-color: white;
  20. border-bottom: 1px solid #DDDDDD;
  21. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
  22. }
  23. .column .menu {
  24. margin-top: 0;
  25. }
  26. .top.menu a.item.brand {
  27. padding-left: 0;
  28. }
  29. .brand .ui.mini.image {
  30. width: 30px;
  31. }
  32. .top.menu a.item:hover,
  33. .top.menu .dropdown.item:hover,
  34. .top.menu .dropdown.item.active {
  35. background-color: transparent;
  36. }
  37. .top.menu a.item:hover {
  38. color: rgba(0,0,0,.45);
  39. }
  40. .top.menu .menu {
  41. z-index: 900;
  42. }
  43. .head.link.item {
  44. padding-right: 0!important;
  45. .dropdown.icon,
  46. .menu .octicon {
  47. margin-right: 5px;
  48. }
  49. }
  50. .avatar > .ui.image {
  51. margin-right: 0;
  52. }
  53. .searchbox {
  54. background-color: rgb(244, 244, 244)!important;
  55. &:focus {
  56. background-color: rgb(233, 233, 233)!important;
  57. }
  58. }
  59. .octicon {
  60. width: 16px;
  61. text-align: center;
  62. }
  63. }
  64. .ui {
  65. &.left {
  66. float: left;
  67. }
  68. &.right {
  69. float: right;
  70. }
  71. .text {
  72. &.red {
  73. color: #d95c5c!important;
  74. }
  75. &.blue {
  76. color: #428bca!important;
  77. }
  78. &.grey {
  79. color: #767676!important;
  80. a {
  81. color: #444!important;
  82. &:hover {
  83. color: #000!important;
  84. }
  85. }
  86. }
  87. &.right {
  88. text-align: right;
  89. }
  90. &.small {
  91. font-size: 0.75em;
  92. }
  93. &.truncate {
  94. overflow: hidden;
  95. text-overflow: ellipsis;
  96. white-space: nowrap;
  97. display: inline-block;
  98. }
  99. }
  100. .message {
  101. text-align: center;
  102. }
  103. .header > i + .content {
  104. padding-left: 0.75rem;
  105. vertical-align: middle;
  106. }
  107. .warning {
  108. &.header {
  109. background-color: #F9EDBE!important;
  110. border-color: #F0C36D;
  111. }
  112. &.segment {
  113. border-color: #F0C36D;
  114. }
  115. }
  116. .info {
  117. &.header {
  118. background-color: #d9edf7!important;
  119. border-color: #85c5e5;
  120. }
  121. &.segment {
  122. border-color: #85c5e5;
  123. }
  124. }
  125. .normal.header {
  126. font-weight: normal;
  127. }
  128. .avatar.image {
  129. border-radius: 3px;
  130. }
  131. .form {
  132. .fake {
  133. display: none!important;
  134. }
  135. }
  136. }
  137. footer {
  138. margin-top: @footer-margin+14px!important;
  139. height: @footer-margin;
  140. background-color: white;
  141. border-top: 1px solid #d6d6d6;
  142. clear: both;
  143. width: 100%;
  144. color: #888888;
  145. .container {
  146. padding-top: 10px;
  147. .fa {
  148. width: 16px;
  149. text-align: center;
  150. color: #428bca;
  151. }
  152. .ui.language.dropdown {
  153. z-index: 10000;
  154. }
  155. .links >* {
  156. border-left: 1px solid #d6d6d6;
  157. padding-left: 8px;
  158. margin-left: 5px;
  159. &:first-child {
  160. border-left: none;
  161. }
  162. }
  163. }
  164. }
  165. .hide {
  166. display: none;
  167. }
  168. .center {
  169. text-align: center;
  170. }
  171. .generate-img(16);
  172. .generate-img(@n, @i: 1) when (@i =< @n) {
  173. .img-@{i} {
  174. width: (2px * @i)!important;
  175. height: (2px * @i)!important;
  176. }
  177. .generate-img(@n, (@i + 1));
  178. }
  179. .octicon.icon,
  180. .mega-octicon.icon {
  181. font-family: octicons;
  182. }
  183. // Accessibility
  184. .sr-only {
  185. position: absolute;
  186. width: 1px;
  187. height: 1px;
  188. padding: 0;
  189. margin: -1px;
  190. overflow: hidden;
  191. clip: rect(0, 0, 0, 0);
  192. border: 0;
  193. }
  194. .sr-only-focusable:active,
  195. .sr-only-focusable:focus {
  196. position: static;
  197. width: auto;
  198. height: auto;
  199. margin: 0;
  200. overflow: visible;
  201. clip: auto;
  202. }
  203. @media only screen and (max-width: 991px) and (min-width: 768px) {
  204. .ui.container {
  205. width: 95%;
  206. }
  207. }