[sword-devel] CSS in Xiphos

Cyrille lafricain79 at gmail.com
Sun May 6 11:21:38 MST 2018



Le 06/05/2018 à 18:38, Karl Kleinpaste a écrit :
> On 05/06/2018 11:50 AM, Cyrille wrote:
>> I have no change in the intro with this entry for KonVb or linvb. The
>> intro is before the chapter 1 of Matthew (by instance).
>
> You need to create style.css in your module's DataPath directory, or
> .xiphos/default-style.css, to contain the CSS controls you wish to
> affect introduction. Per my example before, this...
>
> .introMaterial { background-color:yellow ; color:black }
>
> ...works fine.
>
> And of course you need to be running X4.1.0 for .introMaterial to be
> available at all. The engine does not (yet) provide any introduction
> CSS class, and so this is a new Xiphos thing, which will remain unless
> the engine starts providing it directly.   
Ah ok I'm still on 4.0.7
>
> Xiphos' default CSS control for .introMaterial is to italicize.
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20180506/052468f8/attachment.html>


More information about the sword-devel mailing list