@apify/docs-theme 1.0.34 → 1.0.36

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.34",
3
+ "version": "1.0.36",
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
 
@@ -338,6 +341,14 @@ article .card h2 {
338
341
  float: right;
339
342
  }
340
343
 
344
+ .menu__caret {
345
+ transform: scale(.7);
346
+ }
347
+
348
+ aside button[class*="collapseSidebarButton"] svg {
349
+ transform: scale(.7) rotate(180deg);
350
+ }
351
+
341
352
  .table-of-contents__link {
342
353
  height: 20px;
343
354
  }
@@ -626,7 +637,7 @@ html[data-theme='dark'] .actionLink:hover::after {
626
637
  margin-left: 8px;
627
638
  }
628
639
 
629
- @media (max-width: 1660px) {
640
+ @media (min-width: 997px) and (max-width: 1660px) {
630
641
  :root {
631
642
  --ifm-toc-padding-vertical: 0.25rem;
632
643
  --ifm-toc-padding-horizontal: 0.25rem;
@@ -650,3 +661,15 @@ html[data-theme='dark'] .actionLink:hover::after {
650
661
  line-height: 28px;
651
662
  }
652
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
+ }