← Prev in month ← Prev in thread

Different colored admonitions

From
Nelson, Dean <>
Date
2006-10-04T19:46:25+00:00
ID
Thread
Different colored admonitions
All,

 

I have this for my admonitions:

 

    <xsl:attribute-set name="admonition.properties">

        <xsl:attribute
name="keep-together.within-column">always</xsl:attribute>

        <xsl:attribute name="border">0.5pt solid
blue</xsl:attribute>

        <xsl:attribute
name="background-color">#FFEEFF</xsl:attribute>

    </xsl:attribute-set>

    <xsl:attribute-set
name="admonition.title.properties">

        <xsl:attribute name="keep-together.within-column">always</xsl:attribute>

        <xsl:attribute
name="background-color">#E0E0E0</xsl:attribute>

        <xsl:attribute
name="text-align">center</xsl:attribute>

        <xsl:attribute name="border">0.5pt solid
blue</xsl:attribute>

    </xsl:attribute-set>

 

What I want to do is make each admonition a different color. 

Tip/info =green

warning =red 

etc

 

I assume there is a template somewhere where I can slide it into my
customization layer?

 

Dean
← Prev in month ← Prev in thread