@apify/docs-theme 1.0.32 → 1.0.34
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
|
@@ -9,8 +9,8 @@ import styles from './styles.module.css';
|
|
|
9
9
|
export default function HomeBreadcrumbItem() {
|
|
10
10
|
const baseUrl = useBaseUrl('/');
|
|
11
11
|
|
|
12
|
-
const currentPath = useLocation().pathname.replace(`^${baseUrl}
|
|
13
|
-
const homeHref = useBaseUrl(currentPath.split('/')[
|
|
12
|
+
const currentPath = useLocation().pathname.replace(new RegExp(`^${baseUrl}`), '');
|
|
13
|
+
const homeHref = useBaseUrl(currentPath.split('/')[0]);
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<li className="breadcrumbs__item">
|
package/src/theme/custom.css
CHANGED
|
@@ -294,6 +294,31 @@ header.hero div[class^=heroButtons] {
|
|
|
294
294
|
justify-content: inherit;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
+
article {
|
|
298
|
+
margin-left: 15px;
|
|
299
|
+
margin-right: 15px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.markdown blockquote {
|
|
303
|
+
--ifm-alert-background-color: var(--ifm-color-info-contrast-background);
|
|
304
|
+
--ifm-alert-background-color-highlight: rgba(84,199,236,.15);
|
|
305
|
+
--ifm-alert-foreground-color: var(--ifm-color-info-contrast-foreground);
|
|
306
|
+
--ifm-alert-border-color: var(--ifm-color-info-dark);
|
|
307
|
+
--ifm-code-background: var(--ifm-alert-background-color-highlight);
|
|
308
|
+
--ifm-link-color: var(--ifm-alert-foreground-color);
|
|
309
|
+
--ifm-link-hover-color: var(--ifm-alert-foreground-color);
|
|
310
|
+
--ifm-link-decoration: underline;
|
|
311
|
+
--ifm-tabs-color: var(--ifm-alert-foreground-color);
|
|
312
|
+
--ifm-tabs-color-active: var(--ifm-alert-foreground-color);
|
|
313
|
+
--ifm-tabs-color-active-border: var(--ifm-alert-border-color);
|
|
314
|
+
background-color: var(--ifm-alert-background-color);
|
|
315
|
+
border: var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);
|
|
316
|
+
border-left-width: var(--ifm-alert-border-left-width);
|
|
317
|
+
border-radius: var(--ifm-alert-border-radius);
|
|
318
|
+
box-shadow: var(--ifm-alert-shadow);
|
|
319
|
+
padding: var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal);
|
|
320
|
+
}
|
|
321
|
+
|
|
297
322
|
article .card h2 {
|
|
298
323
|
margin-top: 0;
|
|
299
324
|
}
|
|
@@ -412,10 +437,13 @@ html.plugin-docs .theme-doc-markdown h3 {
|
|
|
412
437
|
.theme-doc-sidebar-menu .menu__link,
|
|
413
438
|
.theme-doc-toc-desktop .table-of-contents .toc-highlight {
|
|
414
439
|
height: auto;
|
|
415
|
-
color: #6f7490;
|
|
416
440
|
background: none;
|
|
417
441
|
}
|
|
418
442
|
|
|
443
|
+
.menu__list-item:not(:first-child) {
|
|
444
|
+
margin-top: 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
419
447
|
.theme-doc-sidebar-menu .menu__link:hover {
|
|
420
448
|
background: inherit;
|
|
421
449
|
}
|
|
@@ -496,10 +524,6 @@ div[class*="searchBox"] {
|
|
|
496
524
|
padding: 4px 8px;
|
|
497
525
|
}
|
|
498
526
|
|
|
499
|
-
.menu__list-item {
|
|
500
|
-
min-height: 33px;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
527
|
.menu__link, .menu__list-item > .navbar__item {
|
|
504
528
|
display: flex;
|
|
505
529
|
}
|
|
@@ -601,3 +625,28 @@ html[data-theme='dark'] .actionLink:hover::after {
|
|
|
601
625
|
background-image: url('/img/arrow-right-primary.svg');
|
|
602
626
|
margin-left: 8px;
|
|
603
627
|
}
|
|
628
|
+
|
|
629
|
+
@media (max-width: 1660px) {
|
|
630
|
+
:root {
|
|
631
|
+
--ifm-toc-padding-vertical: 0.25rem;
|
|
632
|
+
--ifm-toc-padding-horizontal: 0.25rem;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.navbar__item, .menu__link, .navbar__link {
|
|
636
|
+
padding: 2px 8px;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.theme-doc-sidebar-menu .menu__link,
|
|
640
|
+
.theme-doc-toc-desktop .table-of-contents .toc-highlight {
|
|
641
|
+
font-size: .8rem;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.theme-doc-toc-desktop {
|
|
645
|
+
margin-left: -15px;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
html.plugin-docs .theme-doc-markdown {
|
|
649
|
+
font-size: 16px;
|
|
650
|
+
line-height: 28px;
|
|
651
|
+
}
|
|
652
|
+
}
|