|
43 | 43 | --ifm-table-border-color: var(--ifm-toc-border-color); |
44 | 44 | --ifm-table-cell-padding: 10px; |
45 | 45 | --ifm-table-stripe-background: rgba(0, 0, 0, 0.02); |
46 | | - --docusaurus-blog-social-icon-size: 16px; |
47 | 46 |
|
48 | 47 | @media (min-width: 340px) { |
49 | 48 | --ifm-navbar-sidebar-width: 340px; |
@@ -223,8 +222,14 @@ html[data-theme="dark"] { |
223 | 222 | } |
224 | 223 | } |
225 | 224 |
|
226 | | -main[class^="docMainContainer"] > .container { |
227 | | - padding-top: 2rem !important; |
| 225 | +/* |
| 226 | +Layer needed to override utility rules using !important in the Infima layer |
| 227 | +See also https://css-tricks.com/css-cascade-layers/#aa-important-layers |
| 228 | +*/ |
| 229 | +@layer docusaurus.infima.importantOverrides { |
| 230 | + main[class^="docMainContainer"] > .container { |
| 231 | + padding-top: 2rem !important; |
| 232 | + } |
228 | 233 | } |
229 | 234 |
|
230 | 235 | div[class^="generatedIndexPage"] { |
@@ -268,6 +273,10 @@ hr { |
268 | 273 | } |
269 | 274 |
|
270 | 275 | blockquote { |
| 276 | + > :last-child { |
| 277 | + margin-bottom: 0; |
| 278 | + } |
| 279 | + |
271 | 280 | background-color: var(--rn-note-background); |
272 | 281 | border-left: 8px solid var(--ifm-color-warning); |
273 | 282 | padding: 15px 30px 15px 15px; |
@@ -568,8 +577,10 @@ html[data-theme="dark"] .alert--secondary { |
568 | 577 | text-decoration-thickness: 1px !important; |
569 | 578 | } |
570 | 579 |
|
571 | | - .margin-top--md { |
572 | | - margin-top: 0.33rem !important; |
| 580 | + @layer docusaurus.infima.importantOverrides { |
| 581 | + .margin-top--md { |
| 582 | + margin-top: 0.33rem !important; |
| 583 | + } |
573 | 584 | } |
574 | 585 | } |
575 | 586 |
|
@@ -1854,6 +1865,10 @@ html[data-theme="dark"] .docsRating { |
1854 | 1865 | border-radius: var(--ifm-global-radius); |
1855 | 1866 | } |
1856 | 1867 |
|
| 1868 | +.tabs-container .snack-player:last-child { |
| 1869 | + margin-bottom: 0; |
| 1870 | +} |
| 1871 | + |
1857 | 1872 | /* Two columns code block */ |
1858 | 1873 |
|
1859 | 1874 | .two-columns { |
@@ -1888,10 +1903,15 @@ html[data-theme="dark"] .docsRating { |
1888 | 1903 | color: var(--ifm-font-color-secondary); |
1889 | 1904 | } |
1890 | 1905 |
|
| 1906 | + @layer docusaurus.infima.importantOverrides { |
| 1907 | + .container.margin-vert--lg { |
| 1908 | + margin-top: 0 !important; |
| 1909 | + margin-bottom: 0 !important; |
| 1910 | + } |
| 1911 | + } |
| 1912 | + |
1891 | 1913 | .container.margin-vert--lg { |
1892 | 1914 | max-width: calc(100% - (var(--ifm-spacing-horizontal)) * 4); |
1893 | | - margin-top: 0 !important; |
1894 | | - margin-bottom: 0 !important; |
1895 | 1915 |
|
1896 | 1916 | .col.text--right a { |
1897 | 1917 | @extend %button-link-style; |
@@ -1934,8 +1954,10 @@ html[data-theme="dark"] .docsRating { |
1934 | 1954 | } |
1935 | 1955 | } |
1936 | 1956 |
|
1937 | | - article.margin-bottom--xl { |
1938 | | - margin-bottom: 2.5rem !important; |
| 1957 | + @layer docusaurus.infima.importantOverrides { |
| 1958 | + article.margin-bottom--xl { |
| 1959 | + margin-bottom: 2.5rem !important; |
| 1960 | + } |
1939 | 1961 | } |
1940 | 1962 |
|
1941 | 1963 | aside nav { |
|
0 commit comments