Skip to content

Commit 212c886

Browse files
committed
docs: add styles for latest mudkip search
1 parent d43b5f1 commit 212c886

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/styles.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,36 @@ blockquote {
115115
padding: 0px;
116116
border-left: 2px solid var(--muted);
117117
padding-left: 10px;
118+
}
119+
120+
#search-container {
121+
display: block;
122+
margin:0 auto;
123+
}
124+
125+
#search-container > input[type="text"] {
126+
width: 100%;
127+
background: var(--base);
128+
color: var(--text);
129+
padding: 0.5rem;
130+
border-radius: 4px;
131+
border: 2px solid var(--surface);
132+
}
133+
134+
#search-container > input[type="text"]:hover {
135+
border-color: var(--text);
136+
}
137+
138+
#search-results {
139+
display: flex;
140+
flex-direction: column;
141+
align-items: flex-start;
142+
justify-content: flex-start;
143+
max-height: 200px;
144+
overflow: auto;
145+
}
146+
147+
.mudkip-search-item {
148+
margin: 0.25rem;
149+
display: block;
118150
}

0 commit comments

Comments
 (0)