You can also use the ThemedTiddlerPlugin that looks for a theme field
set on a tiddler.
You can get it here
http://whatfettle.com/2008/07/ThemedTiddlerPlugin/

This is good to use if you want to change the structure of the tiddler
as well as the style of it.

Another option is to use my AddClassPlugin, which adds a class to a
tiddler so that you can apply CSS only to the tiddlers that have that
class. This is how the stickynotes[1] space works.
You can get it from
http://colmbritton.tiddlyspace.com/#AddClassPlugin

Then you just need to add
Class: <div class='editor' macro='edit classname'></div>
to your editTemplate and you can now add any class you want to a
tiddler

Hope that helps,
Colm

[1] - http://stickynotes.tiddlyspace.com

On Nov 13, 5:37 pm, Alex Hough <[email protected]> wrote:
> you can set the format of a tiddller using its tag [1] . eg
>
> div[tags~="welcome"].tiddler .viewer {
> background-color: #ffccaa;
>
> }
>
> ALex
>
> [1]http://tiddlywiki.com/#AnotherExampleStyleSheet
>
> On 13 November 2010 15:40, PMario <[email protected]> wrote:
>
> > TaggedTemplateTweak may be of interest.
> >http://www.tiddlytools.com/#TaggedTemplateTweakInfo
>
> > have a look at StyleSheetColor and StyleSheetLayout shadow tiddlers.
>
> > -m
>
> > On Nov 13, 3:27 pm, Yakov <[email protected]> wrote:
> > > TW allows wide use of CSS. It's almost as simple as in common web-
> > > pages (yet some things like style of macros need some tweaking).
>
> > > But TW also has rich hypertext structure based on tags, fields,
> > > sections and slices. My question is: what additional tools there are
> > > to make CSS based on these things.. and tiddler title.
>
> > > Some examples which may show this is of some interest:
>
> > > - "title" class allows to define the style of the titles of tiddlers;
> > > but are there any possibilities to change the style of a title of one
> > > distinct tiddler? (1)
>
> > > - style based on tags seems just a right thing because it makes an
> > > accent while reading (2)
>
> > > - let's imagine that there are some tiddlers with any kind of code. It
> > > is natural to see it in monospace. But it is also natural to _edit_
> > > them in monospace. The "editor" class makes it possible to chage the
> > > font of all tiddlers' editor view, like this
>
> > > .editor { font-family: monospace; }
>
> > > but it would be better to get this only in those tiddlers that are
> > > marked with the "code" tag. (3)
>
> > > Actually, title-based and tag-based CSS is desired most of all; fields
> > > are somewhat with not easy access, sections seem to be a bit eclectic
> > > for CSS ("!" section doesn't wrap all the "!!" sections below it) and
> > > style of slices can be made based on the table CSS. On the other hand,
> > > the necessity of adding "{{myClass{ }}}" or "@@someCSS @@" to the
> > > title is a bit strange since this alters the name of the section too;
> > > the same thing with the slices.
>
> > > Afterall, I must admit, some things that I've mentioned are about very
> > > deep customization and are not that necessary (like the style of
> > > slices) while the others are still of big interest (like tag-based
> > > style).
>
> > > So, any ideas/existing solutions/comments?
>
> > > PS Yeap, fields are of some interest anyway: for instance, some style
> > > based on the "author" field value or on the "date modified" (for
> > > emphasizing that a tiddler is hot/very old/time doesn't matter).
>
> > > PPS I also imply that solutions for style defining can be used for
> > > navigation/aggregation later as mechanisms of rendering this things
> > > are quite similar, as I understand.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<tiddlywiki%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/tiddlywiki?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to