@font-face { font-family: myriad; font-weight: normal; font-style: normal; src: url('fonts/MyriadPro-Regular.otf'); } @font-face { font-family: myriad; font-weight: normal; font-style: italic; src: url('fonts/MyriadPro-It.otf'); } @font-face { font-family: myriad; font-weight: bold; font-style: normal; src: url('fonts/MyriadPro-Bold.otf'); } @font-face { font-family: myriad; font-weight: bold; font-style: italic; src: url('fonts/MyriadPro-BoldIt.otf'); } /* Style du corps du livre */ body { margin-left: 5%; margin-right: 5%; margin-top: 5%; margin-bottom: 5%; text-align: justify;} /* Style des niveaux titres (HEADINGS) */ h1 { font-size: 2.5em; text-align: center; font-weight: normal; font-family: myriad; margin-top: 2em; margin-bottom: 2em;} h2 { font-size: 2.0em; text-align: center; font-weight: normal; font-family: myriad; margin-top: 2em; margin-bottom: 2em;} h3 { font-size: 1.75em; text-align: center; font-weight: bold; font-family: myriad; margin-top: 2em; margin-bottom: 2em;} h4 { font-size: 1.5em; text-align: center; font-weight: normal; font-family: myriad; margin-top: 1em; margin-bottom: 0.5em;} h5 { font-size: 1.25em; text-align: left; font-weight: normal; font-family: myriad; margin-top: 2em; margin-bottom: 1em;} h6 { font-size: 1em; text-align: center; font-weight: normal; font-family: myriad; margin-top: 1em; margin-bottom: 0em;} /* Pour éviter la bordure sur les images entourée d'hyperliens */ img { border: 0; } /* style du texte en indice ou en exposant */ sup, sub {font-size: 0.5em;} /* Tailles des images qui sont placées au fil du texte (INLINE) */ p img, h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { display: inline; height: 0.75em; margin-left: 0.15em; margin-right: 0.15em; } /* Style des paragraphes réguliers */ p { text-indent: 1em; margin-top: 1px; margin-bottom: 1px; text-align: justify; } /* Style du premier paragraphe d'une section (après un HEADING) */ p.premier { text-indent: 0em; } /* Mettre la classe no-indent dans le DIV en entête d'un fichier pour supprimer l'indentation des paragraphes */ .no-indent p { text-indent: 0; } /* autres classes de styles de paragraphes */ .italique { font-style:italic; } .gras { font-weight: bold; } .souligner { text-decoration: underline; } .droite { text-indent: 0; text-align: right; } .center { text-indent: 0; text-align: center; } .rouge { color: rgb(255,0,0); } /* Style des séparateurs astérisques (* * *) */ .sep { font-weight: bold; text-align: center; margin-top: 2em; margin-bottom: 2em; text-indent: 0; } /* Citations en début de chapitre */ .citation { float: right; text-indent: 0; text-align: justify; width: 75%; } .auteur { clear: both; text-align: right; margin-top: 1em; margin-bottom: 1em; text-indent: 0; } /* Listes */ ul, ol { list-style-position: outside; padding-left: 10%; } /* Encadrés */ .encadre { background-color: rgb(240,240,240); padding-top: 1em; padding-bottom: 1em; padding-left: 5%; padding-right: 5%; margin-top: 1.5em; margin-bottom: 1.5em; border-left: 1em solid rgb(100,100,100); } .encadre h4 {} .encadre li {} .encadre p {} /* Illustrations */ .container, .container2 { width: 100%; text-align: center; padding: 1em; margin-top: 1em; margin-bottom: 1em; } .container3 { width: 100%; text-align: left; padding: 1em; margin-top: 1em; margin-bottom: 1em; } .container img { margin-left: auto; margin-right: auto; width: 80%; } .container2 img, .container3 img { margin-left: auto; margin-right: auto; width: 40%; } .container p { text-align: center; text-indent: 0; font-size: 0.9em; } /* Lettrines */ .lettrine { display: block; float: left; font-size: 2.6em; margin-top: -0.2em; padding-right: 0.1em; height: 1em; font-weight: bold; color: rgb(150,150,150); font-family: myriad; } /* Annotations (footnotes) */ .footnotes { padding-top: 0.25em; border-top: 1px solid black; margin-top: 1em; } .footnotes p{ font-size:0.9em; text-align: left; text-indent: 0em; } /* Tableaux */ table { border : 1px solid black; border-collapse: collapse; margin-left: auto; margin-right: auto; width: 95%; margin-top: 1.5em; margin-bottom: 1.5em; } td ,th{ padding: 0.25em; text-align: left; vertical-align: top; } td p, th p { margin: 0; padding: 0; text-indent: 0; text-align: left; } th { font-weight: bold; } /* Images des pages couverture avant et arrière (Cover Image)*/ .CI { margin:0px; text-align: center; } .CI img{ width: 100%; margin-top: 0px; margin-left: auto; margin-right: auto; } /* Styles pour les paragraphes des la TABLE DES MATIÈRES */ .toc1{ text-indent: 0; text-align: left; font-weight: normal; font-family: myriad; margin-top: 0.5em; margin-bottom: 0.5em; font-size: 1.2em; } .toc2{ text-indent: 0; text-align: left; color: black; font-weight: normal; font-family: myriad; margin-top: 0.1em; margin-bottom: 0.1em; font-size: 1em; } .toc3{ text-indent: 0; text-align: left; color: black; font-weight: normal; font-family: myriad; margin-top: 0.1em; margin-bottom: 0.1em; font-size: 0.8em; margin-left: 2em; } /* Appliquer des styles particuliers, pour des livres particuliers */ /* EXEMPLE : .livre007 p { ... } */ /* Hyperliens */ a { color: inherit; text-decoration: none; } a:hover { text-decoration: underline; } /* autres... */ .acheve {font-weight: normal; text-align: center; font-size: 1.25em; margin-bottom: 1em;}