Refactor how we build badge_only.css #8247
Labels
Accepted
Accepted issue on our roadmap
Improvement
Minor improvement to code
Needed: design decision
A core team decision is required
Currently we embed https://github.com/readthedocs/readthedocs.org/blob/4083525f338130ade975b51076c776a2a5600e7e/media/css/badge_only.css on documentation pages that aren't our theme. This is so we can show the flyout to these users. We also ship a version of the flyout in the RTD theme itself. We should figure out a plan to making the flyout fully styled outside of the RTD theme, and let any theme override it.
This would allow us to fully ship the CSS for the flyout as part of RTD, and remove the dependency on the theme from the larger platform.
The text was updated successfully, but these errors were encountered: