useblocks / sphinx-simplepdf

A simple PDF builder for Sphinx documentations
https://sphinx-simplepdf.readthedocs.io
MIT License
36 stars 15 forks source link

Flexibility to change unordered lists bullet color #42

Closed sachin-suresh-rapyuta closed 1 year ago

sachin-suresh-rapyuta commented 1 year ago

Is there a way to handle bullet colors of unordered lists? And also to make it look a little big.

The default unordered lists look like the below:

image

danwos commented 1 year ago

There is no config parameter inside Sphinx-SimplePDF for this kind of detailed style manipulation You must write your own CSS rules

To do so, please add html_css_files = ["custom.css"] to your conf.py file and then a custom.css to your _static folder. This way you are able to use CSS to change the styles of all needed elements.

I'm not a CSS expert, so I can't say out of the box, what the needed CSS rule should look like.

sachin-suresh-rapyuta commented 1 year ago

Let me try that out. Thanks @danwos.