Skip to content

Commit 803d9cd

Browse files
committed
Fixed the footer visibility
1 parent 9007c9b commit 803d9cd

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed

website/src/css/custom.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -726,11 +726,11 @@ div[class*="codeBlockContainer"] {
726726
color: #999 !important;
727727
}
728728

729-
/* Hide footer on documentation pages (only show on homepage) */
730-
article .footer,
731-
.theme-doc-footer ~ .footer,
732-
[class*="docPage"] .footer,
733-
[class*="docRoot"] .footer {
729+
/* Hide footer on all documentation pages */
730+
.docs-wrapper .footer,
731+
.theme-doc-sidebar-container ~ * .footer,
732+
html:has(.theme-doc-sidebar-container) .footer,
733+
html:has(article) .footer {
734734
display: none !important;
735735
}
736736

website/src/css/search.css

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,38 @@
1212
}
1313

1414
/* Sidebar search styling */
15-
aside input[type="search"] {
16-
border: 1px solid #e3e3e3 !important;
15+
aside input[type="search"],
16+
.theme-doc-sidebar-container input[type="search"],
17+
.menu input[type="search"] {
18+
border: 1px solid #999 !important;
1719
border-radius: 4px !important;
1820
}
1921

20-
aside input[type="search"]:focus {
22+
aside input[type="search"]:focus,
23+
.theme-doc-sidebar-container input[type="search"]:focus,
24+
.menu input[type="search"]:focus {
2125
outline: none !important;
22-
border-color: #ddd !important;
26+
border-color: #999 !important;
2327
box-shadow: none !important;
2428
}
2529

26-
[data-theme='dark'] aside input[type="search"] {
27-
border-color: #3a3a3a !important;
30+
[data-theme='dark'] aside input[type="search"],
31+
[data-theme='dark'] .theme-doc-sidebar-container input[type="search"],
32+
[data-theme='dark'] .menu input[type="search"] {
33+
border-color: #555 !important;
2834
}
2935

30-
/* Sidebar search icon */
31-
aside svg[class*="search"] {
36+
/* Sidebar search icon - match sidebar bars color */
37+
aside svg[class*="search"],
38+
.theme-doc-sidebar-container svg[class*="search"],
39+
.menu svg[class*="search"],
40+
aside button svg,
41+
.theme-doc-sidebar-container button svg {
3242
color: #699bde !important;
3343
fill: #699bde !important;
3444
width: 18px !important;
3545
height: 18px !important;
46+
stroke: #699bde !important;
3647
}
3748

3849
/* ==============================================

0 commit comments

Comments
 (0)