Skip to content

Commit a797688

Browse files
authored
Improve the search field styling in the sphinx13 theme (sphinx-doc#12591)
1 parent dabacdf commit a797688

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/_themes/sphinx13/static/sphinx13.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,16 @@ div.sphinxsidebar #searchbox {
218218
margin: 12px 0 20px 0;
219219
}
220220

221+
div.sphinxsidebar #searchbox input[type="text"] {
222+
border-radius: var(--admonition-radius) 0 0 var(--admonition-radius);
223+
}
224+
225+
div.sphinxsidebar #searchbox input[type="submit"] {
226+
border-radius: 0 var(--admonition-radius) var(--admonition-radius) 0;
227+
color: white;
228+
background: var(--colour-sphinx-blue);
229+
}
230+
221231
div.footer {
222232
background-color: var(--colour-sphinx-blue);
223233
color: #ccc;

0 commit comments

Comments
 (0)