Right now, typogrify is adding the span tags to the html that drupal outputs, but it's not loading a css file to show off typographic refinements yet. CSS should probably be informed by the example page, here http://static.mintchaos.com/projects/typogrify/
Comments
Comment #1
Tim Gambell commentedHow to properly add CSS files: http://www.lullabot.com/articles/how_to_properly_add_css_files
Comment #2
Tim Gambell commentedHere is the CSS from the typogrify examples page:
Typogrify.module's CSS file should look good in Garland. People using other themes should roll their own custom CSS rules using the typogrify CSS selectors. How will this look in the Garland theme?
Comment #3
Tim Gambell commentedAdded CSS. Please review code or install and test.
Does it work?
Does it break anything?
Can't seem to get the theme function to import a stylesheet correctly. Currently using a hack. Any thoughts?
Code is available on CVS now, and should be available from the project page when the packaging script gets around to it, sometime tomorrow (July 10, 2007).
Comment #4
Tim Gambell commentedA bug in this implementation (the one I was referring to when I said "Currently using a hack.") has been filed at http://drupal.org/node/159961
Comment #5
Tim Gambell commentedAs noted at http://drupal.org/node/159961 it looks like the correct way for a module to add css is to say:
See http://api.drupal.org/api/HEAD/function/drupal_add_css for reference. Will implement asap.
We should allow people to turn this stylesheet off from the admin interface (but it should default to on).
Comment #6
Tim Gambell commentedPatched. Let me know how this works for you.
Comment #7
Tim Gambell commentedComment #8
(not verified) commented