On Tuesday, April 1, 2014 7:24:28 PM UTC-7, Shankar wrote:
>
> I vaguely remember there is a way to specify CSS style inside a tiddler - 
> NOT @@color(#00FF); some text here @@.  That change would be effective only 
> within that tiddler.  I would like to specify all  *.tiddlyLinkExisting*in 
> one color and 
> *.tiddlyLinkNonExisting* in another color, inside a particular tiddler.  
> And these colors are different from the all others used for the same 
> outside of this tiddler.
>

You can embed an CSS stylesheet directly into tiddler content like this:
<html><style>
#tiddlerNameOfTiddler .viewer .tiddlyLinkExisting {background:lightgreen;}
#tiddlerNameOfTiddler .viewer .tiddlyLinkNonExisting {background:lightblue;}
</style></html>
GettingStarted exists
NotHere does not exist

Note the way the CSS rules use "#tiddlerNameofTiddler" to ensure the rule 
is specific to only a given tiddler.  Also note how ".viewer" is used to 
limit the styles to only the *content* of the tiddler so any links within 
the tiddler's title/subtitle (e.g., the username of the tiddler author), 
will not be affected by the style change.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to