summaryrefslogtreecommitdiff
path: root/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/editor_configs/xmlmind/addon/config/scons/css/image.imp')
-rw-r--r--doc/editor_configs/xmlmind/addon/config/scons/css/image.imp23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp
new file mode 100644
index 0000000..dd1d65f
--- /dev/null
+++ b/doc/editor_configs/xmlmind/addon/config/scons/css/image.imp
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2004-2009 Pixware.
+ *
+ * This file is part of the XMLmind XML Editor project.
+ * For conditions of distribution and use, see the accompanying legal.txt file.
+ *
+ * Display of images.
+ */
+
+mediaobject imagedata {
+ display: block; /* without this, a viewport specified as % will not work */
+ margin: 0 auto;
+}
+
+inlinemediaobject imagedata {
+ display: inline;
+}
+
+graphic,
+inlinegraphic,
+imagedata {
+ content: gadget("com.xmlmind.xmleditext.docbook.Graphic");
+}