@apify/docs-theme 1.0.35 → 1.0.37

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.35",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -8,7 +8,6 @@ const themeConfig = ({
8
8
  },
9
9
  },
10
10
  navbar: {
11
- hideOnScroll: true,
12
11
  title: 'Apify Docs',
13
12
  logo: {
14
13
  src: 'img/apify_sdk.svg',
@@ -14,6 +14,9 @@ html[data-theme='dark'] {
14
14
  --ifm-heading-color: #f2f3fb;
15
15
  --ifm-navbar-link-color: #f2f3fb;
16
16
 
17
+ /* TODO set this conditionally to 123px when there is second level nav */
18
+ --ifm-navbar-height: 68px;
19
+
17
20
  --docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.1);
18
21
  --docsearch-text-color: #8d92af;
19
22
 
@@ -434,8 +437,8 @@ html.plugin-docs .theme-doc-markdown h3 {
434
437
  }
435
438
 
436
439
  .theme-doc-toc-desktop .table-of-contents {
437
- font-size: 16px;
438
- line-height: 24px;
440
+ font-size: 14px;
441
+ line-height: 20px;
439
442
  }
440
443
 
441
444
  .navbar-sidebar .menu__link.icon {
@@ -658,3 +661,15 @@ html[data-theme='dark'] .actionLink:hover::after {
658
661
  line-height: 28px;
659
662
  }
660
663
  }
664
+
665
+ aside li.section-header > div > .menu__link {
666
+ text-transform: uppercase;
667
+ opacity: 0.8;
668
+ font-size: 1em;
669
+ font-weight: 700;
670
+ margin: 5px 0;
671
+ }
672
+
673
+ aside li.section-header > .menu__list {
674
+ padding-left: 0;
675
+ }