« MediaWiki:Epub.css » : différence entre les versions

La bibliothèque libre.
Contenu supprimé Contenu ajouté
simplification + ajout des classes sc et sct
tentative pour forcer Calibre à ne pas souligner les abbr
Ligne 25 : Ligne 25 :
.references {font-size: 80%; line-height: normal;}
.references {font-size: 80%; line-height: normal;}
.alineanegatif {text-indent:-2em;padding-left:2em;margin-top: 6px;margin-bottom:6px;display:block;}
.alineanegatif {text-indent:-2em;padding-left:2em;margin-top: 6px;margin-bottom:6px;display:block;}
.abbr {border:none;}


/* Texte en petites majuscules */
/* Texte en petites majuscules */

Version du 25 septembre 2019 à 08:22

/*
	Pour déployer les modifications il faut purger le cache de Wsexport via cette URL: http://tools.wmflabs.org/wsexport/tool/book.php?refresh=true&lang=fr
*/

@page { margin-top: 0.8em;margin-bottom: 0.8em;}
body { margin-left:0.5em;margin-right:0.5em;text-align:justify;}
p { text-indent: 1em;margin-top: 6px;margin-bottom:6px;display:block;line-height:120%;}
h1 { text-align: center;margin-top:72px;margin-bottom:48px;}
h2 { text-align: center;margin-top:48px;margin-bottom:32px;}
h3 { font-size: 1.66667em;color: #365f91;text-align: center;line-height:3;padding-top:36px;padding-bottom:24px;}
h4 { text-align: center;margin-top:24px;margin-bottom:18px;}

img.sgc-1 {height: 100%; max-width: 100%;text-align:center;}
.center {text-align: center;text-indent: 0;}
.right {text-align: right;text-indent: 0;}
.i {font-style:italic;}
.b {font-weight:bold;}
.lettrine {font-size:1.35em;font-weight:bold;}
.sup {font-size: 0.875em;line-height: normal;vertical-align: super}
.maj {text-transform: uppercase;}
.poem { margin-bottom: 0em; margin-top: 0em; line-height: 1.6em; margin-left: 2.5em; text-indent: 0em;}
.poem p { margin-top: 0em ! important; margin-bottom: 0em ! important; text-indent: 0em !important; }
.poem dd{ margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; margin-left:1em; }
.poem dl{ margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0;}
.references {font-size: 80%; line-height: normal;}
.alineanegatif {text-indent:-2em;padding-left:2em;margin-top: 6px;margin-bottom:6px;display:block;}
.abbr {border:none;}

/* Texte en petites majuscules */
.sc, .sct, .romain, .personnage {font-variant:small-caps;}
.stc{letter-spacing:.1em;word-spacing:.1em;}

/* Pour les chiffres romains */
.romain {text-transform:lowercase;}
 
/* Texte avec une majuscule à la première lettre de chaque mot */
.personnage
{
  text-transform:lowercase;
  text-transform:capitalize;
  font-weight:bold;
  color:#04040C;
}
 
.lignecapitale:first-line
{
font-variant:small-caps;
font-size:120%;
text-align: justify;
}