Xxe/Css/publidoc.css
changeset 108 f8bc5e00b17f
parent 106 91000116e5d2
child 111 44de27e5c6cf
--- a/Xxe/Css/publidoc.css	sam. mai 26 07:40:53 2012 +0200
+++ b/Xxe/Css/publidoc.css	dim. mai 27 12:47:54 2012 +0200
@@ -420,23 +420,42 @@
 /* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
 
 media {
-  text-align: center;
+  margin-top: .5em;
+  margin-bottom: 1em;
+  padding: 10px;
+  border: 1px dashed #7f7f7f;
+}
+
+media image, media audio {
+  display: block;
+  color: #7f7f7f;
+  font-family: sans-serif;
+}
+media image:after, media audio:after {
+  content: " " insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
 }
 
 image {
-  display: block;
-  margin: .5em;
-  content: concatenate("image('Images/", attr(id), ".png', -200, -200, smooth)");
+  content: concatenate("image('Images/", attr(id), ".png', -64, -64, smooth)");
+  vertical-align: middle;
+}
+media image {
+  content: "Image : "
+           concatenate("image('Images/", attr(id), ".png', -200, -200, smooth)");
+}
+
+media audio {
+  content: "Audio : " text-field(attribute, id, color, black);
 }
 
 caption {
   font-style: italic;
   font-size: 93%;
 }
+caption:after {
+  content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+}
 
-audio {
-    content: attr(id);
-}
 
 /* Inline level ============================================================ */