Bug #1842

RCP: 0.7.8beta: XTZ page number header CSS style

Ajouté par Serge Heiden il y a environ 9 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:01/09/2016
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible:TXM 0.7.8

Description

Currently, the default edition encodes the page header numbers with :

<p style="color:red" align="center">- 1 -</p>

In order to be able to tune the edition styles, it would be better to transfert the header style in the default TXM.css and use a CSS element class instead.

Solution

1. replace <p style="color:red" align="center">- 1 -</p> by :

<p class="page-number-header">- 1 -</p>

2. add to TXM.css :

p.page-number-header { color:red; margin-left: auto; margin-right: auto; width: 1.4cm; }

3. Copy $HOME/TXM/css/TXM.css to $HOME/TXM/corpora/CORPUS/HTML/CORPUS/default/css

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Statut changé de New à Closed

#2 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF