@apify/docs-theme 1.0.49 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -72,7 +72,7 @@ const themeConfig = ({
72
72
  rel: 'dofollow',
73
73
  },
74
74
  {
75
- label: 'SDK for Python',
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',
@@ -293,11 +293,6 @@ header.hero div[class^=heroButtons] {
293
293
  justify-content: inherit;
294
294
  }
295
295
 
296
- article {
297
- margin-left: 15px;
298
- margin-right: 15px;
299
- }
300
-
301
296
  .markdown blockquote {
302
297
  --ifm-alert-background-color: var(--ifm-color-info-contrast-background);
303
298
  --ifm-alert-background-color-highlight: rgba(84,199,236,.15);
@@ -678,3 +673,21 @@ aside li.section-header.menu__list-item:nth-child(2) {
678
673
  aside li.section-header > .menu__list {
679
674
  padding-left: 0;
680
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
+ }