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

openi.less 5.1 kB

4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. a {
  2. color: #0366d6;
  3. }
  4. .ui .text.yellow a {
  5. color: #fbbd08!important
  6. }
  7. .ui .text.yellow a:hover {
  8. color: #f2711c!important
  9. }
  10. .mb-1 {
  11. margin-bottom: 8px !important;
  12. }
  13. .mb-2 {
  14. margin-bottom: 16px !important;
  15. }
  16. .following.bar #navbar .brand{
  17. padding-left: 0;
  18. padding-top: 0;
  19. padding-bottom: 0;
  20. }
  21. .following.bar .brand .ui.mini.image {
  22. width: auto;
  23. height: 40px;
  24. }
  25. .following.bar.dark {
  26. background-color: #363840;
  27. }
  28. .ui.secondary.menu.dark .item{
  29. color: #FFF;
  30. }
  31. .ui.secondary.menu.dark .item:hover{
  32. color: #40A9FF;
  33. }
  34. .ui.secondary.menu .active.item{
  35. color: #40A9FF;
  36. border-bottom: 1px solid #40A9FF;
  37. border-radius: 0;
  38. }
  39. .repository:not(.new), .organization:not(.new), .explore, .dashboard {
  40. padding-top: 0px;
  41. }
  42. .dashboard .dashboard-navbar, .organization .organization-header, .explore .repos--seach{
  43. padding-top:15px;
  44. padding-bottom: 15px;
  45. padding-left: 0;
  46. margin-bottom: 20px;
  47. background-color:#f5f5f6 !important;
  48. border-bottom: 1px solid rgba(34,36,38,.15);
  49. }
  50. .following.bar .text .svg.octicon-triangle-down {
  51. color: #3291F8;
  52. }
  53. .ui .avatar.image {
  54. border-radius: 30px;
  55. }
  56. footer {
  57. background-color: #f5f5f6;
  58. padding-bottom: 1.0rem;
  59. }
  60. .repository .header-wrapper {
  61. background-color: #f5f5f6;
  62. margin-top: 0px;
  63. }
  64. /*moble*/
  65. .ui.menu:not(.vertical) .item>.button {
  66. color: #FFF;
  67. box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
  68. }
  69. /*PC*/
  70. @media only screen and (min-width: 1200px){
  71. .following.bar #navbar, footer .container {
  72. padding: 0;
  73. }
  74. }
  75. /*start page*/
  76. .ui.header.section--header{
  77. font-size: 50px;
  78. font-weight: 300;
  79. text-align: center;
  80. margin-bottom: 1.0em;
  81. }
  82. .ui.header.section--header .sub.header {
  83. font-size: 20px;
  84. line-height: 30px;
  85. color: #9b9b9b;
  86. text-align: center;
  87. color: rgba(255,255,255,.6);
  88. }
  89. .ui.inverted.segment>.ui.header.section--header .sub.header{
  90. color: rgba(255,255,255,.6);
  91. }
  92. #index-project {
  93. background: #002060;
  94. color: #FFF;
  95. position: relative;
  96. padding-top: 3.0em;
  97. padding-bottom:2.0em
  98. }
  99. #index-project .ui.inverted.segment, #index-project .ui.primary.inverted.segment{
  100. background:none;
  101. }
  102. .prorow{
  103. background: rgba(0,27,81,0.8);
  104. }
  105. .flip{
  106. position:absolute;
  107. left:6px;
  108. right:6px;
  109. top:6px;
  110. bottom:6px;
  111. border:2px solid #ffc000;
  112. border-radius: 12px;
  113. transition: transform 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  114. transform: perspective(800px) rotateY(0deg);
  115. transform-style: preserve-3d;
  116. z-index:5;
  117. }
  118. .flip-more{ border-color:#4472c4}
  119. .flip-blue{ border-color:#00b0f0}
  120. .flip-green{ border-color:#00b050}
  121. #index-project .ipros:hover .flip{transform: perspective(800px) rotateY(180deg);}
  122. #index-project .ui.card{
  123. margin:0 auto;
  124. background:none;
  125. border:none;
  126. box-shadow:none;
  127. }
  128. #index-project .ui.card>.image>img{
  129. width:auto;
  130. margin:10px auto;
  131. }
  132. #index-project .ui.card>.content, #index-project.ui.cards>.card>.content{
  133. padding: 0.5em 0.2em;
  134. }
  135. .ui.inverted.segment .ui.card>.content>.header, .ui.inverted.segment .ui.cards>.card>.content>.header{
  136. color: rgba(255,255,255,.9);
  137. }
  138. .ui.inverted.segment .ui.card .meta, .ui.inverted.segment .ui.cards>.card .meta{
  139. color: #5b9bd5;
  140. }
  141. .ui.inverted.segment .ui.card>.extra, .ui.inverted.segment .ui.cards>.card>.extra {
  142. color: rgba(255,255,255,.4);
  143. }
  144. #particles{ width: 100%; height:100%; position: absolute; top:0; left:0; right:0; bottom:0;}
  145. footer .ui.vertical.text.menu:first-child{ margin-top: 1em}
  146. footer .ui.vertical.menu .header.item{ background:none}
  147. footer .column{margin-bottom:0!important; padding-bottom:0!important;}
  148. /*explore*/
  149. .explore .ui.secondary.vertical.pointing.menu,
  150. .explore .ui.secondary.vertical.pointing.menu .item,
  151. .organization .ui.secondary.vertical.pointing.menu,
  152. .organization .ui.secondary.vertical.pointing.menu .item{
  153. border-right-width: 0;
  154. }
  155. .explore .computer.only .ui.secondary.pointing.menu .item{
  156. padding-left:0;
  157. }
  158. .ui.repository.list .item .ui.header .metas{
  159. text-align: right;
  160. }
  161. @media only screen and (max-width:768px){
  162. .explore .repos--seach{
  163. margin-bottom:15px;
  164. }
  165. .explore .navbar{
  166. padding-top: 0px!important;
  167. margin-top: -1.5rem!important;
  168. }
  169. }
  170. /*organization*/
  171. .organization-info{
  172. padding-top:15px;
  173. margin-bottom:2.5rem;
  174. }
  175. .organization-info > .container{
  176. overflow: auto;
  177. background: url(/img/org_bg.png) no-repeat center center #f5f5f6;
  178. padding-top: 30px;
  179. padding-bottom:20px;
  180. background-size: cover;
  181. border-radius: 5px;
  182. border: 1px solid #efefef;
  183. }
  184. .organization.profile #org-info .ui.header{
  185. font-size: 1.71428571rem;
  186. margin-bottom: 10px;
  187. font-weight: 400;
  188. }
  189. .organization.profile #org-avatar {
  190. width: 80px;
  191. height: 80px;
  192. margin-left: auto;
  193. margin-right: auto;
  194. margin-bottom: 15px;
  195. border: solid 5px #FFF;
  196. }
  197. .organization.profile #org-info .desc {
  198. font-size: 14px;
  199. width: 80%;
  200. margin: 0 auto 10px;
  201. color: #FFF;
  202. }
  203. .organization.teams .ui.attached.segment+.ui.attached.header{ margin-top:0}
  204. @media only screen and (max-width:768px){
  205. .organization-info{
  206. padding-top:0;
  207. }
  208. .organization-info > .container{
  209. margin-left:0!important;
  210. margin-right:0!important;
  211. }
  212. }
  213. .ui.vertical.menu .dropdown.item .menu {
  214. left: 50%;
  215. }