]> granicus.if.org Git - apache/commitdiff
fix some style issues
authorAndré Malo <nd@apache.org>
Mon, 7 Oct 2002 15:17:25 +0000 (15:17 +0000)
committerAndré Malo <nd@apache.org>
Mon, 7 Oct 2002 15:17:25 +0000 (15:17 +0000)
- red solid border around warning areas
- <syntax> gets a <code> around
  (more shouldn't be used, because it breaks the flow too much)
- headings of warnings, notes & examples are left aligned

Based on a Proposal by: Tim Gerundt <tim@gerundt.de>

Added some linebreaks for better diffs... ;-)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97133 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/css/manual-print.css
docs/manual/style/css/manual.css
docs/manual/style/xsl/synopsis.xsl

index cf1b0a835cc8970b1a9118787220432b1fb211c8..26dfc19cff7ebbef67fc0bdc71196768f2b3c200 100644 (file)
@@ -179,7 +179,7 @@ div.example h3,
 div.note h3,
 div.warning h3 {
     margin: 0 0 0.5em 0;
-    text-align: center;
+    text-align: left;
     font-size: 11pt;
 }
 
index baa7a19d9691041673bf011e899402cf9f6ee424..1db80b09f85884efa86896fc37eb23305aa5f927 100644 (file)
@@ -236,7 +236,7 @@ div.example h3,
 div.note h3,
 div.warning h3 {
     margin: 0 0 0.5em 0;
-    text-align: center;
+    text-align: left;
     font-size: 13px;
 }
 
@@ -755,6 +755,10 @@ div.warning {
     margin: 1em 2em 1em 1em;
 }
 
+div.warning {
+    border: 1px solid #f00;
+}
+
 div.note p,
 div.warning p {
     margin: 0;
index 88bb69e5c67ccd5cbc3e4a584e7971fbc1af0255..3049a7c09b0d6d208ca8c1202e33784084019e00 100644 (file)
                         <xsl:if test="@type='section'">&gt;</xsl:if>
                       </a>
                     </li>
+
+<xsl:text>
+</xsl:text> <!-- insert linebreak -->
+
                   </xsl:if>
 
                   <xsl:if test="@location">
                         <xsl:if test="@type='section'">&gt;</xsl:if>
                       </a>
                     </li>
+
+<xsl:text>
+</xsl:text> <!-- insert linebreak -->
+
                   </xsl:if>
                 </xsl:for-each>
               </ul> <!-- /toc -->
               </a> 
             </th>
             <td>
-              <xsl:apply-templates select="syntax"/>
+              <code>
+                <xsl:apply-templates select="syntax"/>
+              </code>
             </td>
           </tr>