Gallery css directly into gen_rst.py