On Saturday, January 11, 2014 2:21:49 PM UTC-8, Shankar Swamy wrote:
>
> If I say [[San Francisco|SF.Data]] in a tiddler and display it, it will
> show as a hyperlink labelled: "San Francisco", and when you click on it, it
> will open the tiddler named "SF.Data".
> The format of the link "San Francisco" is, I see under Firebug, this field
> is controlled by the class "tiddlyLinkExisting"). What I would like to do
> is change how "San Francisco" is displayed in tiddler. And, I would like
> to this on a per-tiddler basis. So I do not want to change the Stylesheet.
>
You can *add* CSS definitions to StyleSheet without affecting other
content. For your use case, something like this:
[[StyleSheet]]
.myClass a { color:red !important; font-size:200%; ... }
Then, in tiddler content, enclose the link (or any portion of the tiddler
content), like this:
{{myClass{SomeTiddlerTitle}}}
Note that the CSS rule only applies to "a" elements (links) that occur
within the {{myClass{...}}} wrapped content. Any links occurring outside
the wrapper are displayed using the normal CSS rule.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
EVERY DONATION IS 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
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.