@@ -1770,8 +1770,9 @@ td .label {
17701770/* Components grid */
17711771
17721772article .component-grid {
1773- max-width : 800px ;
17741773 margin-bottom : 22px ;
1774+ display : grid ;
1775+ grid-column-gap : 22px ;
17751776
17761777 .component {
17771778 border : 1px solid var (--ifm-color-emphasis-500 );
@@ -1783,21 +1784,22 @@ article .component-grid {
17831784 overflow : hidden ;
17841785
17851786 & :hover {
1786- transform : scale (1.05 );
1787+ transform : scale (1.033 );
17871788 }
17881789
17891790 > a {
17901791 display : block ;
17911792 height : 100% ;
17921793 border-bottom : none ;
1794+ background : none !important ;
17931795 }
17941796
17951797 h3 {
17961798 font-size : 16px ;
17971799 font-weight : 600 ;
17981800 margin : 0 ;
17991801 padding : 0 10px ;
1800- background-color : var (--home-button-primary );
1802+ background-color : var (--ifm-color-info-darkest );
18011803 color : var (--home-button-primary-text );
18021804 line-height : 36px ;
18031805
@@ -1807,14 +1809,15 @@ article .component-grid {
18071809 }
18081810
18091811 p {
1810- padding : 10px ;
1812+ padding : 6 px 10px 8 px ;
18111813 font-size : 15px ;
18121814 margin : 2px ;
18131815 color : var (--ifm-font-color-base );
18141816
18151817 code {
18161818 font-size : 15px ;
18171819 padding : 0 1px ;
1820+ top : 0 ;
18181821 }
18191822 }
18201823 }
@@ -1824,13 +1827,6 @@ html[data-theme="dark"] .component {
18241827 border : 1px solid var (--ifm-color-emphasis-200 );
18251828}
18261829
1827- @supports (display : grid ) {
1828- article .component-grid {
1829- display : grid ;
1830- grid-column-gap : 22px ;
1831- }
1832- }
1833-
18341830@media only screen and (min-width : 768px ) {
18351831 article .component-grid.component-grid-border {
18361832 border-bottom : 1px solid var (--ifm-table-border-color );
@@ -1843,22 +1839,20 @@ html[data-theme="dark"] .component {
18431839 vertical-align : top ;
18441840 }
18451841
1846- @supports (display : grid ) {
1847- article .component-grid {
1848- grid-template-columns : repeat (2 , 1fr );
1849- }
1842+ article .component-grid {
1843+ grid-template-columns : repeat (2 , 1fr );
1844+ }
18501845
1851- @media only screen and (min-width : 1440px ) {
1852- article .component-grid {
1853- grid-template-columns : repeat (3 , 1fr );
1854- }
1846+ @media only screen and (min-width : 1440px ) {
1847+ article .component-grid {
1848+ grid-template-columns : repeat (3 , 1fr );
18551849 }
1850+ }
18561851
1857- article .component {
1858- width : auto ;
1859- height : auto ;
1860- margin : 0 ;
1861- }
1852+ article .component {
1853+ width : auto ;
1854+ height : auto ;
1855+ margin : 0 ;
18621856 }
18631857}
18641858
0 commit comments