View Single Post
Old 04-01-2014, 04:06 AM   #78
bertrand47
Member
bertrand47 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
Bonjour et merci pour tes conseils.
J'ai procédé à l'opération .zip, j'avais déjà vu ce procédé. J'ai le META-INF, mais pas de OEBPS, j'ai un stylesheet.css, à côté du mimetype, qui doit correspondre:

Code:
.calibre {
    display: block;
    font-size: 1em;
    padding: 0;
    margin: 0 5pt
    }
.calibre1 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1.29167em;
    font-weight: bold;
    line-height: 130%;
    text-align: center;
    text-indent: 0;
    padding: 0;
    margin: 3cm 0 0.21cm
    }
.calibre2 {
    display: block;
    line-height: 1.2;
    padding: 0;
    margin: 0
    }
.calibre3 {
    padding: 0;
    margin: 0
    }
.calibre4 {
    display: block;
    padding: 0;
    margin: 0
    }
.P-P {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    line-height: 140%;
    orphans: 1;
    text-align: justify;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 0 0 0.247cm
    }
.P-P1 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1.66667em;
    font-weight: bold;
    line-height: 130%;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 2cm 0 0.21cm
    }
.P-P2 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1.29167em;
    font-weight: bold;
    line-height: 1.2;
    orphans: 1;
    text-align: center;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 0 0 0.25cm
    }
.P-P3 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 0.75em;
    font-style: italic;
    font-weight: normal;
    line-height: 1.2;
    orphans: 1;
    page-break-after: auto;
    text-align: right;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 1cm 0 1.499cm
    }
.P-P4 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    font-style: normal;
    font-weight: bold;
    line-height: 130%;
    text-align: center;
    text-indent: 0;
    padding: 0;
    margin: 2cm 0 4.001cm
    }
.P-P5 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 0.75em;
    font-style: italic;
    font-weight: normal;
    line-height: 1.2;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: right;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 1cm 0 1.499cm
    }
.P-P6 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    font-weight: bold;
    line-height: 130%;
    text-align: center;
    text-indent: 0;
    padding: 0;
    margin: 2cm 0 4.001cm
    }
.P-P7 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    font-style: italic;
    line-height: 140%;
    orphans: 1;
    text-align: justify;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 0 0 0.247cm
    }
.P-P8 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    font-style: italic;
    font-weight: normal;
    line-height: 1.2;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 0.6cm 0 1cm
    }
.P-P9 {
    background-color: transparent;
    color: #000;
    display: block;
    font-family: "Times New Roman";
    font-size: 1em;
    font-style: normal;
    line-height: 140%;
    orphans: 1;
    text-align: justify;
    text-indent: 0;
    widows: 1;
    padding: 0;
    margin: 0 0 0.247cm
    }
.S-T {
    line-height: 1.2;
    padding: 0;
    margin: 0
    }
.S-T1 {
    background-color: transparent;
    font-family: "Times New Roman", serif;
    padding: 0;
    margin: 0
    }
.S-T2 {
    font-style: normal;
    line-height: 1.2;
    padding: 0;
    margin: 0
    }
.S-T3 {
    font-style: italic;
    padding: 0;
    margin: 0
    }
.S-T4 {
    font-style: normal;
    padding: 0;
    margin: 0
    }
page_styles.css me semble décevant :

Code:
@page {
    margin-bottom: 5pt;
    margin-top: 5pt
    }

Last edited by bertrand47; 04-01-2014 at 10:21 AM.
bertrand47 is offline   Reply With Quote