Improve the search field styling in the `sphinx13` theme (#12591)

This commit is contained in:
Tim Hoffmann 2024-07-21 00:08:15 +02:00 committed by GitHub
parent dabacdf5f8
commit a79768847f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -218,6 +218,16 @@ div.sphinxsidebar #searchbox {
margin: 12px 0 20px 0; margin: 12px 0 20px 0;
} }
div.sphinxsidebar #searchbox input[type="text"] {
border-radius: var(--admonition-radius) 0 0 var(--admonition-radius);
}
div.sphinxsidebar #searchbox input[type="submit"] {
border-radius: 0 var(--admonition-radius) var(--admonition-radius) 0;
color: white;
background: var(--colour-sphinx-blue);
}
div.footer { div.footer {
background-color: var(--colour-sphinx-blue); background-color: var(--colour-sphinx-blue);
color: #ccc; color: #ccc;