--- a/Xxe/Css/publidoc.css jeu. janv. 12 18:17:05 2012 +0100
+++ b/Xxe/Css/publidoc.css sam. janv. 14 12:44:31 2012 +0100
@@ -322,8 +322,9 @@
p:before, speech:before, list:before,
blockquote:before, table:before, media:before {
display: marker;
- content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
- insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+ color: #7f7f7f;
+ content: insert-before-button(icon, icon(left-half-disc))
+ insert-after-button(icon, icon(right-half-disc));
}
p, speech, list, blockquote, table, media {
@@ -355,7 +356,25 @@
/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+list:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
+ command-button(command, "putAttribute", parameter, "type ordered", icon, icon(convert));
+}
+list[type="ordered"]:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
+ command-button(command, "removeAttribute", parameter, "type", icon, icon(convert));
+}
+list[type="glossary"]:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+}
+
list {
+ margin: .3em 0 .3em 36px;
+}
+list[type="glossary"] {
margin: .3em 0 .3em 24px;
}
@@ -368,21 +387,36 @@
}
list[type="ordered"] > item {
list-style-type: decimal;
+ list-style-position: inside;
}
item:after {
content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
}
+list:not([type="glossary"]) > item > p:before {
+ color: #7f7f7f;
+ content: insert-same-before-button(icon, icon(left-half-disc))
+ insert-same-after-button(icon, icon(right-half-disc));
+}
+list:not([type="glossary"]) > item > p {
+ display: inline;
+}
+list:not([type="glossary"]) > item > p:after {
+ color: #7f7f7f;
+ content: "\A";
+}
+
list[type="glossary"] > item > label {
font-weight: bold;
}
/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
+blockquote { color: #004080; }
+
attribution { font-style: italic; }
-
/* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
media {