[dokuwiki] Re: syntax hilighting

Galen Johnson wrote:

>Galen Johnson wrote:
>
>  
>
>Apparently, I'm a complete idiot...I can't get this to work...period. 
>I've set up a file called code.css...within this file is only the
>snippets for the default code class as it is defined in the styles.css
>file...I've also tried adding my own class like you described above...
>(.code.sas .br0  { color: #66cc66; } ) and (.code sas .br0  { color:
>#66cc66; } note the space instead of the '.')
>
>=G=
>  
>
OK...I am an idiot and have it sort of working...what I see when I view
the style info by mousing over it is ...
> pre.code sas > span.kw2.

However, when I click on the text:

Style Information - http://www.trantor.org/dokuwiki/doku.php/wiki:playground

http://www.trantor.org/dokuwiki/lib/styles/style.css

.code .kw2    (line 31)
{
    color: rgb(0, 0, 0);
    font-weight: bold;
}

http://www.trantor.org/dokuwiki/lib/tpl/sidebar/code.css

.code .kw2    (line 8)
{
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.code.sas .kw2    (line 29)
{
    color: rgb(0, 0, 255);
}

Isn't there some way to make only the appropriate class take
affect...what I'm seeing now is the correct color but it is retaining
the font attributes from the previous definition.  Shouldn't the
.code.sas be the dominant tag not the cruft from the others?

=G=
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: