]> granicus.if.org Git - docbook-dsssl/commitdiff
minor additions to stylesheet for docbook-xsl generated reference docs
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 9 Feb 2009 12:10:48 +0000 (12:10 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 9 Feb 2009 12:10:48 +0000 (12:10 +0000)
xsl/docsrc/reference.css

index 6813e8d5261ec800d0c4ac7a9d23846d5784ec8e..fe735f3a5b45321df8b6474770913f5ce9370a91 100644 (file)
@@ -6,19 +6,36 @@ div.legalnotice {
   font-size: 80%;
 }
 
-div.note {
-  border-left: solid #d5dee3 20px;
-  border-right: solid #d5dee3 20px;
+div.note, div.tip, div.warning {
   margin-left: 5%;
   margin-right: 10%;
   padding: 5px;
 }
 
-div.note p {
+div.note, div.tip {
+  border-left: solid #d5dee3 20px;
+  border-right: solid #d5dee3 20px;
+}
+
+div.note, div.tip {
+  border-left: solid palegreen 20px;
+  border-right: solid palegreen 20px;
+}
+
+div.warning {
+  border-left: solid yellow 20px;
+  border-right: solid yellow 20px;
+}
+
+div.note p, div.tip p, div.warning p {
   margin-top: 0px;
   margin-bottom: 4px;
 }
 
+div.note h3, div.tip h3, div.warning h3 {
+  margin-top: 0;
+}
+
 div.informalexample {
   background-color: #d5dee3;
   border-top-width: 2px;
@@ -44,6 +61,8 @@ pre.programlisting, pre.synopsis {
   border-bottom-color: #d3d3d3;
   padding: 4px;
   margin: 0em;
+  margin-top: 6px;
+  margin-bottom: 6px;
 }
 
 div.informalexample pre {
@@ -57,4 +76,4 @@ div.informalexample pre {
 /* Parameter and PI titles */
   div.refnamediv h2 {
   font-size: 2em; 
-}
\ No newline at end of file
+}