Skip to content

Commit 01e6d09

Browse files
committed
fix: css search styles
1 parent a85a991 commit 01e6d09

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,33 @@ pre .line {
105105
.vp-doc a:hover {
106106
color: #00ffd0;
107107
}
108+
}
109+
110+
.DocSearch-Button {
111+
background: hsl(0 0% 10%);
112+
border-radius: 6px;
113+
display: flex;
114+
align-items: center;
115+
justify-content: space-between;
116+
border: none;
117+
min-width: 210px;
118+
cursor: text;
119+
color: #888;
120+
height: 32px;
121+
}
122+
123+
.DocSearch-Button:hover {
124+
border: none;
125+
background: hsl(0 0% 10%);
126+
}
127+
128+
.DocSearch-Button-Key {
129+
font-family: var(--vp-font-family-base);
130+
font-size: .75rem;
131+
height: 20px;
132+
padding: 0 2px;
133+
min-width: 20px;
134+
min-height: 20px;
135+
line-height: 20px;
136+
background-color: #111;
108137
}

0 commit comments

Comments
 (0)