[dokuwiki] Re: syntax hilighting
- From: Galen Johnson <gjohnson@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 31 Dec 2005 12:38:11 -0500
Chris Smith wrote:
> Galen Johnson wrote:
>
>> Hey Chris,
>> Thanks for all your help...I've decided the best way to overcome this is
>> by explicitly setting the style and weight.
>>
>> .code .kw2 { color: #000000; font-weight: bold; }
>> ...
>> ...
>> ...
>>
>> /* my code */
>> .code.sas .kw2 { color: #0000ff; font-style: normal; font-weight:
>> normal; }
>> ...
>> ...
>> ...
>>
>> It's ugly...but it works...
>>
>> =G=
>>
>>
>
> If you want to reset all of the GeSHi styles to something common ...
>
> .code.sas span { color: black; font-style: normal; font-weight: normal; }
>
> then you set your new rules (e.g. .code.sas .kw2) to whatever you want
> that class to be, knowing you don't need to worry about overriding any
> other style.
>
> Cheers,
>
> Chris
>
Thanks Chris, you read my mind...I couldn't get that to work initially
and I was looking for the answer...I was missing 'span'. CSS isn't that
hard...just a lot of stuff to find out about...and I learn best by
doing. If you ever have any sys admin questions I can help with...just
let me know (unix/linux...not that other OS).
=G=
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
Other related posts:
- » [dokuwiki] syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- » [dokuwiki] Re: syntax hilighting
- [dokuwiki] syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith
- [dokuwiki] Re: syntax hilighting
- From: Galen Johnson
- [dokuwiki] Re: syntax hilighting
- From: Chris Smith