db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susan Cline <home4...@pacbell.net>
Subject Re: Font size for the derby tutorial is small ... is there a way to increase it?
Date Thu, 02 Mar 2006 22:21:35 GMT
--- "Jean T. Anderson" <jta@bristowhill.com> wrote:
> Jean T. Anderson wrote:
> > Susan Cline wrote:
> > 
> >>Hi,
> >>
> >>Other than using the browser settings, is there a way in forrest to increase
the font size 
> >>of the code block sections in:
> >>
> >>http://db.apache.org/derby/papers/DerbyTut/ij_intro.html

[snip]
> 
> Try it now and see how you like it -- you may need to reload the page in
> your browser.
> 
> incidently, this is one of those things that is really trivial to change.
> 
> -jean
> 
> 
> > The longer answer ... I didn't like the forrest-provided <source> style
> > for the DerbyTut because it didn't have enough contrast with the
> > surrounding text. So I added a "code-block" style to the forrest
> > skinconf.xml:
> > 
> >     p.code-block {
> >       margin-left: 2em;
> >       padding: .5em;
> >       background-color: #f0f0f0;
> >       font-family: Monospace, Courier;
> >       font-size: smaller;
> >       white-space:pre;
> >     }
> > 
> > You use the code-block style like this in the source xml:
> > 
> >   <p class="code-block">create table derbyDB(num int, addr varchar(40));
> >   insert into derbyDB values (1956,'Webster St.');
> >   select * from derbyDb;
> >   </p>
[snip] 
> >  -jean

Thanks Jean!  I feel like I just got glasses :-)

If I would like to add a new style to the forrest skinconf.xml, is it okay to do so?  I'm
not sure
I'll need it now, but just wanted to know for general reference.

Susan


Mime
View raw message