https://issues.apache.org/bugzilla/show_bug.cgi?id=50923
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 Oct 2011 12:26:04 +0000 (12:26 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 Oct 2011 12:26:04 +0000 (12:26 +0000)
Documentation: Use default color, but lightcyan background for code tags.
Based on a suggestion by sebb.
Properties table (e.g. config/systemprops.html) needs the same handling as attributes table.

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

webapps/docs/tomcat-docs.xsl

index 003ff63..80bae09 100644 (file)
@@ -84,8 +84,8 @@
             td#mainBody {width: 100%;}
         </style>
         <style type="text/css">
-            code {color:rgb(0,128,128);padding:0 0.1em;}
-            code.attributeName {color:rgb(0,0,0);}
+            code {background-color:rgb(224,255,255);padding:0 0.1em;}
+            code.attributeName, code.propertyName {background-color:transparent;}
         </style>
     </head>
 
       <xsl:for-each select="property">
         <tr>
           <td align="left" valign="center">
-            <code><xsl:value-of select="@name"/></code>
+            <code class="propertyName"><xsl:value-of select="@name"/></code>
           </td>
           <td align="left" valign="center">
             <xsl:apply-templates/>