Xxe/publidoc.css
changeset 59 49750b96058f
child 60 14211f9b064a
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Xxe/publidoc.css	mar. déc. 20 19:20:03 2011 +0100
@@ -0,0 +1,56 @@
+/* $Id$ */
+
+publidoc:before {
+  display: block;
+  background-color: #993333;
+  padding: 3ex 1ex 3ex 1ex;
+  color: silver;
+  font-family: sans-serif;
+  font-size: 100%;
+  font-weight: bold;
+  content: " id = " text-field(attribute, id, columns, 10, color, white, font-size, 120%)
+           "  " icon(diamond) "  type = " label(attribute, type, color, white, font-size, 120%)
+           set-attribute-button(attribute, type, icon, icon(pop-sw))
+           "  " icon(diamond) "  media = " label(attribute, media, color, white, font-size, 120%)
+           set-attribute-button(attribute, media, icon, icon(pop-sw))
+           "  " icon(diamond) "  lang = " label(attribute, "xml:lang", color, white, font-size, 120%)
+           set-attribute-button(attribute, "xml:lang", icon, icon(pop-sw));
+}
+
+publidoc {
+  color: black;
+  background-color: white;
+  font-family: sans-serif;
+  font-size: 120%;
+}
+
+/* ======= Head level ======= */
+
+/* head { */
+/*   display: block; */
+/* } */
+
+/* ====== Section level ===== */
+
+section:before {
+  display: block;
+  margin: 2ex 10px 0 1ex;
+  background-color: silver;
+  color: gray;
+  font-family: sans-serif;
+  font-weight: bold;
+  content: row(cell(content(" " insert-before-button() collapser()), width, 90%),
+               cell(content(insert-after-button() " "), width, 10%, text-align, right));
+}
+
+section {
+  display: block;
+  collapsible: yes;
+  collapsed: no;
+}
+
+/* ======= Block level ====== */
+
+p {
+  display: block;
+}