@apify/docs-theme 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/config.js +1 -1
- package/src/theme/custom.css +18 -0
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -72,7 +72,7 @@ const themeConfig = ({
|
|
|
72
72
|
rel: 'dofollow',
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
|
|
75
|
+
html: 'SDK for Python <span class="beta-chip">beta</span>',
|
|
76
76
|
href: `${absoluteUrl}/sdk/python/`, // we need a trailing slash here, we'd get redirected there anyway
|
|
77
77
|
target: '_self',
|
|
78
78
|
rel: 'dofollow',
|
package/src/theme/custom.css
CHANGED
|
@@ -673,3 +673,21 @@ aside li.section-header.menu__list-item:nth-child(2) {
|
|
|
673
673
|
aside li.section-header > .menu__list {
|
|
674
674
|
padding-left: 0;
|
|
675
675
|
}
|
|
676
|
+
|
|
677
|
+
.beta-chip {
|
|
678
|
+
display: inline-block;
|
|
679
|
+
border: 1px solid #ccc;
|
|
680
|
+
border-radius: 20px;
|
|
681
|
+
content: 'beta';
|
|
682
|
+
background: #ddd;
|
|
683
|
+
font-size: 80%;
|
|
684
|
+
line-height: 10px;
|
|
685
|
+
padding: 3px;
|
|
686
|
+
position: relative;
|
|
687
|
+
top: -1px;
|
|
688
|
+
margin-left: 5px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
html[data-theme='dark'] .beta-chip {
|
|
692
|
+
background: #333;
|
|
693
|
+
}
|