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