Externalisation de la CSS polices
authorPatrick PIERRE
lun., 27 janv. 2014 01:32:57 +0100
changeset 110 b4d1430ee1c6
parent 109 b18eca750b40
child 111 90c603b0f70f
Externalisation de la CSS polices
Pdf/BaladeNature/Css/balade_nature.css
Pdf/BaladeNature/Css/balade_nature_fonts.css
--- a/Pdf/BaladeNature/Css/balade_nature.css	dim. janv. 05 22:20:24 2014 +0100
+++ b/Pdf/BaladeNature/Css/balade_nature.css	lun. janv. 27 01:32:57 2014 +0100
@@ -1,23 +1,6 @@
 /* $Id$ */
 /* balade_nature */
 
-@font-face {
-  font-family: MinyaNouvelle;
-  font-weight: normal;
-  font-style: normal;
-  src: url('../Fonts/MinyaNouvelle.otf') format('opentype');
-}
-
-@font-face {
-  font-family: TimesNewRomanPSMT;
-  src: url("../Fonts/TimesNewRomanPSMT.otf") format("opentype");
-}
-
-@font-face {
-  font-family: TriplexLight;
-  src: url("../Fonts/TriplexLight.otf") format("opentype");
-}
-
 body {
   width: ${width}px;
   height: ${height}px;
@@ -27,7 +10,6 @@
 img { max-width: 100%; max-height: 100%; }
 
 
-
 /* ======= BLOCK LEVEL ====== */
 
 
@@ -36,6 +18,7 @@
 .pdocMedia {
   position: relative;
   margin: 0;
+  text-align: center;
 }
 
 .pdocMediaCaptionAbsolute {
@@ -49,6 +32,7 @@
 .pdocImage {
   max-width: 100%;
   max-height: 100%;
+  text-align: center;
 }
 
 .pdocImageHotspot {
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Pdf/BaladeNature/Css/balade_nature_fonts.css	lun. janv. 27 01:32:57 2014 +0100
@@ -0,0 +1,20 @@
+/* $Id$ */
+/* balade_nature */
+
+@font-face {
+  font-family: MinyaNouvelle;
+  font-weight: normal;
+  font-style: normal;
+  src: url("../Fonts/MinyaNouvelle.otf") format("opentype");
+}
+
+@font-face {
+  font-family: TimesNewRomanPSMT;
+  src: url("../Fonts/TimesNewRomanPSMT.otf") format("opentype");
+}
+
+@font-face {
+  font-family: TriplexLight;
+  src: url("../Fonts/TriplexLight.otf") format("opentype");
+}
+