Xxe/Css/publidoc.css
changeset 139 053afd50e85d
parent 127 efce69890bfd
child 156 29405a66e77b
--- a/Xxe/Css/publidoc.css	sam. sept. 29 12:55:42 2012 +0200
+++ b/Xxe/Css/publidoc.css	lun. oct. 01 19:12:55 2012 +0200
@@ -25,9 +25,9 @@
 }
 
 head > *:before {
- display: marker;
- color:  #7f7f7f;
- content: element-label() " :";
+  display: marker;
+  color:  #7f7f7f;
+  content: element-label() " :";
 }
 head > title:before { display: none; }
 head > shorttitle:before { display: none; }
@@ -47,8 +47,8 @@
 head > audio:before { content: insert-before-button() " Audio :"; }
 
 head > * {
- display: block;
- margin: 0 0 .8em 7.5em;
+  display: block;
+  margin: 0 0 .8em 7.5em;
 }
 
 head > *:after {
@@ -175,20 +175,20 @@
   content: collapser() " " insert-before-button() insert-after-button()
            " " add-attribute-button() " Topic";
 }
-topic[xml|id]:before {
+topic[id]:before {
   content: collapser() " " insert-before-button() insert-after-button()
            " " add-attribute-button() " Topic"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
+           " – ID = " text-field(attribute, "id", columns, 15, color, black);
 }
 topic[type]:before {
   content: collapser() " " insert-before-button() insert-after-button()
            " " add-attribute-button() " Topic"
            " – Type = " text-field(attribute, type, columns, 10, color, black);
 }
-topic[xml|id][type]:before {
+topic[id][type]:before {
   content: collapser() " " insert-before-button() insert-after-button()
            " Topic"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black)
+           " – ID = " text-field(attribute, "id", columns, 15, color, black)
            " – Type = " text-field(attribute, type, columns, 10, color, black);
 }
 
@@ -233,7 +233,7 @@
   content: add-attribute-button() " Topic"
            " – ID = " text-field(attribute, "id", columns, 15, color, white);
 }
-publidoc > topic[xml|id][type]:before {
+publidoc > topic[id][type]:before {
   content: add-attribute-button() " Topic"
            " – ID = " text-field(attribute, "id", columns, 15, color, white)
            " – Type = " text-field(attribute, type, columns, 10, color, white);
@@ -299,7 +299,7 @@
   margin-left: 1em;
 }
 
-section {
+header, section, footer {
   display: block;
 }
 section[type="box"] {
@@ -311,6 +311,10 @@
 section[type="ex"] { font-style: italic; }
 section[type="sign"] { text-align: right; }
 
+header, footer {
+  background-color: #fafafa;
+}
+
 section section {
   margin-left: 1em;
 }