Adding your own CSS is very easy: just enter your CSS definitions into a tiddler tagged with "$:/tags/Stylesheet". The CSS will automatically be applied as soon as you finish editing the tiddler, so you can instantly see the results and make adjustments as needed.
The opacity CSS property takes a decimal value between 0.0 and 1.0. For example, to use a tiddler background with 50% opacity, you define it like this:
.tc-tiddler-body { opacity:0.5; }
However.... the opacity value will affect not only the background of the element, but all child elements it contains as well, which will also be 'faded' by 50%, making the content less readable.
Fortunately, there is a more isolated way to get a semi-transparent background, without affecting the child content: use the 'background-color' property with an "rgba(...)" color function, like this:
.tc-tiddler-body { background-color: rgba(0,0,0,0.5); }
rgba(...) takes four parameters: the first three are separate R, G, and B decimal color values (0-255). The last parameter is the "alpha" value, which is a number between 0.0 and 1.0, just like the opacity property. The color values determine the 'hue' of the transparency. The alpha value determines how 'see through' the color is, where 0 is completely transparent (invisible) and 1.0 is a solid RGB color. Thus, if you wanted a semi-transparent blue "glow" for the background, you could use something like rgba(0,0,255,0.5).
note: the CSS class you want to adjust for the tiddler is ".tc-tiddler-body" (as shown in the example).
That should do it. Let me know if you get stuck.
enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals
YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions: