pymc-labs / CausalPy

A Python package for causal inference in quasi-experimental settings
https://causalpy.readthedocs.io
Apache License 2.0
829 stars 52 forks source link

Improve visual appearance of tables in docs #375

Open drbenvincent opened 5 days ago

drbenvincent commented 5 days ago

Under the new theme tables look like this Screenshot 2024-06-26 at 13 20 12

and when the mouse hovers over a row, we get a highlight like this Screenshot 2024-06-26 at 13 19 50

I think this is far from optimal. It would be good see what someone is capable of doing with custom css.

HarisMughal commented 5 days ago

@drbenvincent can I work on this? How about making it match the CausalPy theme (blue and green) or just gray?

drbenvincent commented 5 days ago

Hi @HarisMughal. Feel free to give it a go! I think a coloured highlight makes sense. If the current one is a theme option, maybe it makes sense to change that colour site wide?

The white/grey is good as a default row colour. But the lines/space between cells is very thin at the moment.