PeWu / topola-viewer

Topola Genealogy Viewer – interactive genealogy visualization
https://pewu.github.io/topola-viewer
Apache License 2.0
201 stars 49 forks source link

option for a local Cascading Style Sheet? #174

Open emyoulation opened 3 weeks ago

emyoulation commented 3 weeks ago

In the Discourse forum, Gramps user states that the font selection does not appeal to them. Could you add a locally stored overlay to your cascade of stylesheets if it exists? (Adding a CSS editor is beyond scope of reasonable effort.)

Note that the Gramps User Directory should have a 'css' subfolder. The program could look in there for a CSS of a specific name and document where the master CSS file is stored. Motivated users could copy the Topola master stylesheet to the local CSS folder and edit it.

Or maybe it could create the local file with a /* */ comment in the CSS of a URL where Topola's master CSS could be found for reference.

emyoulation commented 3 weeks ago

Note: Link to Python script to poll Gramps for directory locations of various items (including USER_CSS):

https://gramps.discourse.group/t/gramps-thumbnails/5690/8