Re: How to make css customisations in yelp



On Tue, 2006-01-24 at 11:46 +0000, Don Scorgie wrote:
> Hi,
> 
> On Mon, 2006-01-23 at 17:53 +0000, Matthew East wrote:
> > Hi,
> > 
> > I wanted to make some distro-specific customisations to the css in Yelp
> > recently, so I tentatively modified data/default.css and copied it
> > to /usr/share/yelp/default.css on my system. However, none of the
> > changes took effect.
> > 
> > Does anyone know how to do such customisations?
> > 
> 
> Yelp currently generates the css within its xslt transform code (along
> with gnome-doc-utils).  The current custom css declarations for yelp can
> be found in /usr/share/yelp/xslt/*2html.xsl (depending on what you want
> to customise).  More general docbook css can be found in 
> /usr/share/xml/gnome/xslt/docbook/html/db2html-css.xsl

Yelp also has yelp-common.xsl, which is imported by all of
the *2html.xsl files in Yelp.  Pretty much the sole purpose
of this file is to set common CSS, including all the fancy
dynamic color stuff, for all the document types.

--
Shaun





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]