On Friday 15 October 2004 22:16, Eric Niebler wrote: > Eric Niebler wrote: > > Vladimir Prus wrote: > >> the tips and notes are way to visible. > > > > I'll play with this when I get a chance, but it could be a few days. > > I had some down time while waiting for a compile to finish, so I just > banged this out. New CSS is at > http://zigzag.lvk.cs.msu.su/~ghost/boost_docs/boostbook.css. Let me know > what you think.
I'd still like to avoid the text caption. I've played and arrived at this:
div.tip .title, div.note .title, div.warning .title^M
{^M
display: none;
font: bold 100% sans-serif;^M
margin-top: 0pc;^M
}^M
div.tip h3 + p:before^M
{^M
content: url(images/tip.png) " ";^M
float: left;
margin-right: 0.5em;
clear: left;
}^M
Which hides the text and inlines the image in the text. See attachment. Of
course, I'd like the last two lines to be indented too, but don't know how.
Anyway, I think this look is OK, too. What would you say?
- Volodya
<<attachment: tip.png>>
