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

Perfect, thanks. I had just assumed that default.css would be called by
the xsl stylesheets, but I'll take a closer look at those files you
mention.

Matt
-- 
mdke ubuntu com
gnupg pub 1024D/0E6B06FF

Attachment: signature.asc
Description: This is a digitally signed message part



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