This commit is contained in:
James J Porter 2017-05-08 20:07:54 +00:00 committed by GitHub
commit e0afecfe5b

View file

@ -59,6 +59,14 @@ CSS file to your new theme::
Don't forget to import your ``pygment.css`` file from your main CSS file.
One you have deicded which style you like, you can find a list of pregenerated css
files for each in `this github repo <https://github.com/richleland/pygments-css>`_.
Then go ahead drop your chosen stylesheet into the ``static/css`` directory of your custom
theme and you're free to link it in your templates or import it into other stylesheets.
To get an idea of how to do this, check out the `samples
<https://github.com/getpelican/pelican/tree/master/samples>`_. Of course, you can also change
the pygments stylesheet to your heart's desire if none of the default themes satisfy you.
How do I create my own theme?
=============================