forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: css again
Date Mon, 22 Sep 2003 13:32:29 GMT
On Mon, Sep 22, 2003 at 09:07:28AM -0400, Rodent of Unusual Size wrote:
> argh.  i'm starting to get torqued at forrest for being such a maze
> of twisty little passages..
> 
> i want to make some changes to the page.css for a site, but nothing i
> change in the skins/css/page.css file gets propagated to the
> build/site/skin/page.css file.  in fact, i can't figure out how
> that gets created; it has stuff in it that only appears in a
> generated file in the tmp/ tree, with which it's identical -- but
> how the tmp/ file gets created i have no clew.

Which skin is your site using (specified in forrest.properties)?  Each
skin has a separate .css file.

Is the .css the only thing you want to modify, or do you need to tinker
with the HTML (adding class nodes or whatever)?

You can override the .css from your chosen skin quite easily.  Say you're
using the forrest-site skin.  The default .css is located in
src/resources/skins/forrest-site/css/page.css.  To override that, copy it
to $PROJECT/src/documentation/skins/forrest-site/css/page.css and make
your changes there.  Any files from the skin can be overridden in this
way.

If you want to make larger HTML modifications, then defining a completely
new skin may be easier:

http://xml.apache.org/forrest/your-project.html#new_skin

The build/tmp/context/ directory is generated at runtime, and contains
the site's contents reorganized in a standard format expected by the
servlet 2.x spec (WEB-INF/* directory) and Forrest's sitemap (skin in
skins/...).


--Jeff


> -- 
> #ken	P-)}
> 
> Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
> Author, developer, opinionist      http://Apache-Server.Com/
> 
> "Millennium hand and shrimp!"
> 
> 

Mime
View raw message