By jstuckle on
Well, I've searched and haven't been able to find anything, so I'll ask here.
Is there any documentation on standardized CSS classes and id's used by Drupal?
I'm assuming there are certain ones any theme should implement (either by default or overridden by the theme). And if so, is there a list anywhere? Or do I have to just go through the CSS files to find what I need?
Just trying to make my added html as compatible as possible with different themes.
TIA.
Comments
It depends on theme you use
If you use a Zen theme, for example, it has a lot of comments inside CSS.
Yes, I understand the Zen
Yes, I understand the Zen themes have a lot of comments. I was just wondering if there is a list somewhere of the common classes which should be implemented by all themes. That way the format will change to meet the theme, but still maintain their identity.
For instance, h1, h2, etc. tags are always defined, although they change with the theme. But what about warning or error messages, etc.? Lists of items (i.e. to be able to make them look similar to the menus)? Other classes?
If there isn't such a list, that's OK. I'm just trying to keep things simpler.
TIA.
There is
There is drupal6-reference.css inside Zen theme package. It contains a list of all Drupal core styles if that is what you're looking for.