Translate FailsBlogrollCreative Commons |
Thursday, April 9. 2009GeSHi-Darstellung in Serendipity ändernTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Juri,
This is certainly true, however, people should be aware, that if the geshi plugin ever gets updated, they'll have to backport this change. Personally, although this was never adequately documented, the best way to handle this in my opinion is to add to the style.css for the theme you're using. You can tweak the base styles by adding a .geshi block, and customize individual language styles by adding block for the language name. Thanks for poking around in the geshi plugin and sharing your insights!
Thank you for your hint, David. You're absolutely right about the problem on plugin upgrade.
As I was searching for a way to change the appearance of the geshi plugin, i was not aware of the fact that a div with class="foo bar" will be affected by a css block ".bar{}". And since geshi plugin creates divs with class like "language geshi" I thought that I would need to create a css block for each language supported by geshi plugin. Will need to edit the article. |
QuicksearchCategorized FailsFails2Tagsterrorismus cron ibm alsa htc x41t opera windows pressefreiheit editor geshi xorg evdev deutschland freiheit music synchronisation bundestagswahl mobile webdav php html polizei thinkpad funambol Propaganda css vimperator vim hardware musik debian archlinux s9y fun privacy zensur firefox überwachung misc linux datenschutz politik politics software
Archived Fails |