1
+ /* Style the Algolia DocSearch input */
2
+
3
+ /* Increase font size for the search input */
4
+ .DocSearch-Input {
5
+ font-size : 0.75rem !important ; /* adjust size as needed */
6
+ }
7
+
8
+ /* Increase font size for the result title */
9
+ .DocSearch-Hit-title {
10
+ font-size : 0.6rem !important ;
11
+ }
12
+
13
+ /* Increase font size for the result content/snippet */
14
+ .DocSearch-Hit-path ,
15
+ .DocSearch-Hit-text {
16
+ font-size : 0.7rem !important ;
17
+ }
18
+
19
+ /* Optionally increase font size for breadcrumbs or metadata */
20
+ .DocSearch-Hit-Tree ,
21
+ .DocSearch-Hit-action {
22
+ font-size : 0.5rem !important ;
23
+ }
24
+
25
+ /* 🧭 Section headings like "Documentation", "Recent Searches" */
26
+ .DocSearch-Dropdown-Container .DocSearch-Title {
27
+ font-size : 0.9rem !important ;
28
+ font-weight : 600 ;
29
+ }
30
+
31
+ /* ❌ "No recent searches" or empty state text */
32
+ .DocSearch-Help {
33
+ font-size : 0.8rem !important ;
34
+ }
35
+
36
+ /* ⌨️ Shortcut hints like "Press / to search" */
37
+ .DocSearch-StartScreen .DocSearch-Help ,
38
+ .DocSearch-StartScreen .DocSearch-Label {
39
+ font-size : 0.8rem !important ;
40
+ }
41
+
42
+ /* 🔣 Placeholder and input */
43
+ .DocSearch-Input {
44
+ font-size : 0.9rem !important ;
45
+ }
46
+
47
+ .DocSearch-Button-Keys {
48
+ display : none !important ;
49
+ }
50
+
51
+ /* Optional: make the overall modal content bigger */
52
+ .DocSearch-Container {
53
+ font-size : 0.8rem !important ;
54
+ }
55
+
56
+ .DocSearch-Button-Placeholder {
57
+ font-size : 0.8rem !important ;
58
+ }
59
+
60
+ .DocSearch-Button {
61
+ transition : background-color 0.2s ease;
62
+ }
63
+
64
+ .DocSearch-Button : hover {
65
+ border : none !important ;
66
+ box-shadow : none !important ; /* Also removes simulated borders */
67
+ }
68
+
69
+ .DocSearch-Button {
70
+ width : 180px !important ; /* Adjust to desired width */
71
+ }
72
+
73
+ .DocSearch-Dropdown {
74
+ max-height : 600px !important ;
75
+ overflow-y : auto !important ;
76
+ box-shadow : 0 4px 12px rgb (0 0 0 / 0.15 );
77
+ border-radius : 6px ;
78
+ }
0 commit comments