You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
1.9 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  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 -87px 0;
  12. min-height: 100%;
  13. }
  14. .following.bar {
  15. z-index: 900;
  16. left: 0;
  17. width: 100%;
  18. padding: 0.7em 0;
  19. &.light {
  20. background-color: white;
  21. border-bottom: 1px solid #DDDDDD;
  22. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
  23. }
  24. .ui.secondary.menu {
  25. height: 30px;
  26. }
  27. .column .menu {
  28. margin-top: 0;
  29. }
  30. .brand {
  31. float: left;
  32. margin-right: 5px;
  33. }
  34. .head.link.item {
  35. padding-right: 0!important;
  36. .dropdown.icon,
  37. .menu .octicon {
  38. margin-right: 5px;
  39. }
  40. }
  41. .user.avatar {
  42. padding: 0;
  43. margin-top: 1px;
  44. }
  45. .searchbox {
  46. background-color: rgb(244, 244, 244)!important;
  47. &:focus {
  48. background-color: rgb(233, 233, 233)!important;
  49. }
  50. }
  51. .octicon {
  52. width: 16px;
  53. opacity: 1!important;
  54. text-align: center;
  55. }
  56. }
  57. .ui {
  58. &.left {
  59. float: left;
  60. }
  61. &.right {
  62. float: right;
  63. }
  64. }
  65. footer {
  66. margin-top: @footer-margin!important;
  67. background-color: white;
  68. border-top: 1px solid #d6d6d6;
  69. clear: both;
  70. width: 100%;
  71. color: #888888;
  72. .fa {
  73. width: 16px;
  74. text-align: center;
  75. color: #428bca;
  76. }
  77. .links >* {
  78. border-left: 1px solid #d6d6d6;
  79. padding-left: 8px;
  80. margin-left: 5px;
  81. &:first-child {
  82. border-left: none;
  83. }
  84. }
  85. }
  86. .hide {
  87. display: none;
  88. }
  89. .center {
  90. text-align: center;
  91. }
  92. .text-error {
  93. color: #d95c5c !important;
  94. }
  95. .generate-img(16);
  96. .generate-img(@n, @i: 1) when (@i =< @n) {
  97. .img-@{i} {
  98. width: (2px * @i);
  99. height: (2px * @i);
  100. }
  101. .generate-img(@n, (@i + 1));
  102. }
  103. // Accessibility
  104. .sr-only {
  105. position: absolute;
  106. width: 1px;
  107. height: 1px;
  108. padding: 0;
  109. margin: -1px;
  110. overflow: hidden;
  111. clip: rect(0, 0, 0, 0);
  112. border: 0;
  113. }
  114. .sr-only-focusable:active,
  115. .sr-only-focusable:focus {
  116. position: static;
  117. width: auto;
  118. height: auto;
  119. margin: 0;
  120. overflow: visible;
  121. clip: auto;
  122. }