readthedocs / readthedocs-sphinx-search

Deprecated: Enable search-as-you-type feature for docs hosted by RTD.
https://readthedocs-sphinx-search.readthedocs.io/
MIT License
33 stars 16 forks source link

Empty search results have styles inlined #48

Closed YuriSizov closed 4 years ago

YuriSizov commented 4 years ago

Over at Godot Docs we have an issue setting up our custom dark theme with this extensions because there are inlined styles, which is making them harder to override. The specific issue is with empty search results, setup here:

https://github.com/readthedocs/readthedocs-sphinx-search/blob/383b0e316ef9538bd24e26e554022d82c84ad495/sphinx_search/static/js/rtd_sphinx_search.js#L473

image

I would appreciate if you've changed those three inlined rules to a stylesheet class.