On 2011-04-03, daspostloch wrote: > Hi all, > almost always i use self-defined admonitions, i.e.,
... > .. admonition:: Linux users > You can... ... > So my next step was to pass a class option to the admonition: > .. admonition:: Linux users... > :class: my_yellow > You can... Do you know that might not require special classes (if you stick to a fixed set of self-defined admonitions) but can use the auto-added class: <div class="admonition-linux-users admonition"> A rule div.admonition-linux-users: { background: <linux users background> or simiar would make for nice semantic styling. (But I agree that this might not be what you are after...) Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.