[sword-devel] CSS in Xiphos
Cyrille
lafricain79 at gmail.com
Sun May 13 00:43:08 MST 2018
Well, now it's ok with 4.1, but I don't find how to change the font of
the bible text!!
I did:
body { -webkit-column-count: 2 ; margin-top: 0.1cm ; text-align: justify
; font-family: "Ubuntu" ; color:red }
All is ok (color, column, text-align, only the font is not recognize (I
tried different possibilities of fonts).
Thanks for help.
Br Cyrille
Le 06/05/2018 à 19:21, Cyrille a écrit :
>
>
> 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/20180513/b9a62adf/attachment-0001.html>
More information about the sword-devel
mailing list