Can Glossaries be linked to some kind of css

Can Glossaries be linked to some kind of css

ryan wisedən -
Number of replies: 2
I was wondering how difficult it would be to tie glossaries to css and be able to choose what color and effect is applied to the various words.

Verbs in red, nounds in blue. Or a glossary of common misspellings which will automatically have strikethroughs in them.

Just a thought. Not critical, but I figured if it were easy to implement and other people would be able to use somthing like this...

Or maybe this already exists and I'm missing it.
Orta qiymət: -
In reply to ryan wise

Re: Can Glossaries be linked to some kind of css

Martin Dougiamasdən -
Core developers istifadəçinin şəkili Documentation writers istifadəçinin şəkili Moodle HQ istifadəçinin şəkili Particularly helpful Moodlers istifadəçinin şəkili Plugin developers istifadəçinin şəkili Testers istifadəçinin şəkili
Not possible now (one style for all) but it's a cool idea.

I've just added the glossary ID to the styles in 1.5 which will help somewhat. eg a link might have the style glossary12.
In reply to Martin Dougiamas

Re: Can Glossaries be linked to some kind of css

David Scotsondən -

Perhaps category names would work here e.g.

class="glossary category-noun"

for things in the "noun" category. I'm not sure how that would internationalize though.