@@ -1712,8 +1712,9 @@ td .label {
17121712/* Components grid */
17131713
17141714article .component-grid {
1715- max-width : 800px ;
17161715 margin-bottom : 22px ;
1716+ display : grid ;
1717+ grid-column-gap : 22px ;
17171718
17181719 .component {
17191720 border : 1px solid var (--ifm-color-emphasis-500 );
@@ -1725,21 +1726,22 @@ article .component-grid {
17251726 overflow : hidden ;
17261727
17271728 & :hover {
1728- transform : scale (1.05 );
1729+ transform : scale (1.033 );
17291730 }
17301731
17311732 > a {
17321733 display : block ;
17331734 height : 100% ;
17341735 border-bottom : none ;
1736+ background : none !important ;
17351737 }
17361738
17371739 h3 {
17381740 font-size : 16px ;
17391741 font-weight : 600 ;
17401742 margin : 0 ;
17411743 padding : 0 10px ;
1742- background-color : var (--home-button-primary );
1744+ background-color : var (--ifm-color-info-darkest );
17431745 color : var (--home-button-primary-text );
17441746 line-height : 36px ;
17451747
@@ -1749,13 +1751,14 @@ article .component-grid {
17491751 }
17501752
17511753 p {
1752- padding : 10px ;
1754+ padding : 6 px 10px 8 px ;
17531755 font-size : 15px ;
17541756 margin : 2px ;
17551757
17561758 code {
17571759 font-size : 15px ;
17581760 padding : 0 1px ;
1761+ top : 0 ;
17591762 }
17601763 }
17611764 }
@@ -1765,13 +1768,6 @@ html[data-theme="dark"] .component {
17651768 border : 1px solid var (--ifm-color-emphasis-200 );
17661769}
17671770
1768- @supports (display : grid ) {
1769- article .component-grid {
1770- display : grid ;
1771- grid-column-gap : 22px ;
1772- }
1773- }
1774-
17751771@media only screen and (min-width : 768px ) {
17761772 article .component-grid.component-grid-border {
17771773 border-bottom : 1px solid var (--ifm-table-border-color );
@@ -1784,22 +1780,20 @@ html[data-theme="dark"] .component {
17841780 vertical-align : top ;
17851781 }
17861782
1787- @supports (display : grid ) {
1788- article .component-grid {
1789- grid-template-columns : repeat (2 , 1fr );
1790- }
1783+ article .component-grid {
1784+ grid-template-columns : repeat (2 , 1fr );
1785+ }
17911786
1792- @media only screen and (min-width : 1440px ) {
1793- article .component-grid {
1794- grid-template-columns : repeat (3 , 1fr );
1795- }
1787+ @media only screen and (min-width : 1440px ) {
1788+ article .component-grid {
1789+ grid-template-columns : repeat (3 , 1fr );
17961790 }
1791+ }
17971792
1798- article .component {
1799- width : auto ;
1800- height : auto ;
1801- margin : 0 ;
1802- }
1793+ article .component {
1794+ width : auto ;
1795+ height : auto ;
1796+ margin : 0 ;
18031797 }
18041798}
18051799
0 commit comments