77@image-path : " ./../assets/front/img" ;
88@bgcolor : #3484d2 ;
99@global-min-width : 450px ;
10+ @border-radius : 6px ;
1011
1112body , html {
1213 min-height : 100% ;
@@ -337,7 +338,7 @@ a[href*="://"]:after {
337338 .addons-all {
338339 .b-addon {
339340 .b-addon__body {
340- width : 93 % ;
341+ display : inline-block ;
341342 padding-left : 0 ;
342343
343344 h3 {
@@ -445,7 +446,7 @@ a[href*="://"]:after {
445446}
446447
447448.meta {
448- border-radius : 0 0 6 px 6 px ;
449+ border-radius : 0 0 @border-radius @border-radius ;
449450 padding : 0 1.2em ;
450451 line-height : 40px ;
451452 vertical-align : top ;
@@ -489,7 +490,7 @@ a[href*="://"]:after {
489490}
490491
491492.page {
492- border-radius : 6 px ;
493+ border-radius : @border-radius ;
493494 background : #fff ;
494495 margin-top : 10px ;
495496 box-shadow : 0 2px 2px rgba (0 , 0 , 0 , .3 );
@@ -498,10 +499,42 @@ a[href*="://"]:after {
498499 .page-header {
499500 padding : 20px ;
500501 margin : 0 ;
501- background : rgba (52 , 132 , 210 , 0.2 );
502+ border-radius : @border-radius @border-radius 0 0 ;
503+ background : #fafafa ;
504+
505+ img {
506+ max-width : 30px ;
507+ max-height : 30px ;
508+ }
509+
510+ .title-repo {
511+ float : left ;
512+ line-height : 30px ;
513+ font-size : 20px ;
514+ vertical-align : bottom ;
515+
516+ a {
517+ line-height : 30px ;
518+ display : inline-block ;
519+ }
520+
521+ span {
522+ font-size : 40px ;
523+ vertical-align : middle ;
524+ }
525+ }
502526
503- h1 {
504- margin : 0 0 20px 0 ;
527+ .title-composer {
528+ float : right ;
529+ background : #fff ;
530+ border : 1px solid #ccc ;
531+ border-radius : 3px ;
532+ padding : 5px 10px ;
533+
534+ .composer-clipboard {
535+ cursor : pointer ;
536+ padding-right : 10px ;
537+ }
505538 }
506539 }
507540
@@ -552,64 +585,38 @@ a[href*="://"]:after {
552585 padding : 20px ;
553586 width : 25% ;
554587 float : right ;
555- border-radius : 0 0 0 6px ;
556588 margin : 0 ;
557589 font-size : 16px ;
558- background : linear-gradient (rgba (52 , 132 , 210 , .3 ), #fff );
559590 padding-bottom : 200px ;
560591
561592 a {
562593 color : #000 ;
563594 }
564595
565- .title-owner {
566- font-size : 20px ;
567- margin-bottom : 10px ;
568- overflow : hidden ;
569- white-space : nowrap ;
570- text-overflow : ellipsis ;
571-
572- img {
573- max-width : 40px ;
574- }
575- }
576-
577- .title-repo {
578- font-size : 20px ;
579- vertical-align : middle ;
580- overflow : hidden ;
581- white-space : nowrap ;
582- text-overflow : ellipsis ;
583- margin-bottom : 10px ;
584-
585- span {
586- font-size : 40px ;
587- vertical-align : middle ;
588- }
589- }
590-
591596 .title {
592597 font-weight : 600 ;
593598 margin : 15px 0 ;
599+ padding-bottom : 7px ;
600+ border-bottom : 1px dashed #eee ;
594601 }
595602
596603 div .details {
597- margin : 10px 0 ;
604+ margin : 0 0 10px 0 ;
598605 font-size : 18px ;
599606
600607 span {
601608 font-size : 20px ;
602609 }
603610
604- span .composer-clipboard {
605- cursor : pointer ;
606- }
607-
608611 table {
609612 td :nth- child(2 n+ 1 ) {
610613 padding : 0 10px ;
611614 }
612615 }
616+
617+ .title {
618+ margin-top : 0 ;
619+ }
613620 }
614621
615622 div .badges {
@@ -670,7 +677,7 @@ a[href*="://"]:after {
670677 font-weight : 400 ;
671678 line-height : 1.4 ;
672679 background : #f8f8f8 ;
673- border-radius : 3 px ;
680+ border-radius : @border-radius ;
674681 box-shadow : none ;
675682 padding : 5px ;
676683 margin : 1.5em 0 ;
@@ -789,7 +796,7 @@ a[href*="://"]:after {
789796 display : block ;
790797
791798 & > .btn {
792- border-radius : 4 px ;
799+ border-radius : 2 px ;
793800 display : block ;
794801 width : 100% ;
795802 margin-bottom : 2px ;
@@ -809,6 +816,22 @@ a[href*="://"]:after {
809816 }
810817 }
811818 }
819+
820+ .page {
821+ border-radius : 0 ;
822+
823+ .page-header {
824+ .title-repo ,
825+ .title-composer {
826+ float : none ;
827+ text-align : center ;
828+ }
829+
830+ .title-repo {
831+ margin-bottom : 15px ;
832+ }
833+ }
834+ }
812835}
813836
814837@media screen and (max-width : 991px ) {
0 commit comments