mturk       2004/11/29 04:25:14

  Modified:    jk/xdocs style.css style.xsl
  Log:
  Change the style for source like example in apache documentation.
  IMO it looks much nicer.
  
  Revision  Changes    Path
  1.5       +9 -0      jakarta-tomcat-connectors/jk/xdocs/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/style.css,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- style.css 18 Nov 2004 19:09:00 -0000      1.4
  +++ style.css 29 Nov 2004 12:25:14 -0000      1.5
  @@ -3,6 +3,15 @@
       font-size: smaller;
       color: #ffffff; 
   }
  +div.example {

  +    background-color: #e5ecf3;

  +    color: #000;

  +    padding: 0.5em;

  +    margin: 1em 2em 1em 1em;

  +}
  +pre {

  +    font-family: "Courier New", Courier, monospace;

  +}
   em.screen {
       font-weight: normal;
       font-style: normal;
  
  
  
  1.8       +4 -37     jakarta-tomcat-connectors/jk/xdocs/style.xsl
  
  Index: style.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/style.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- style.xsl 25 Nov 2004 10:10:26 -0000      1.7
  +++ style.xsl 29 Nov 2004 12:25:14 -0000      1.8
  @@ -234,42 +234,9 @@
       <xsl:variable name="void">
         <xsl:value-of select="$relative-path"/><xsl:value-of 
select="$void-image"/>
       </xsl:variable>
  -    <div align="left">
  -      <table cellspacing="4" cellpadding="0" border="0">
  -        <tr>
  -          <td bgcolor="{$source-color}" width="1" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -          <td bgcolor="{$source-color}" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -          <td bgcolor="{$source-color}" width="1" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -        </tr>
  -        <tr>
  -          <td bgcolor="{$source-color}" width="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -          <td bgcolor="#ffffff" height="1"><pre>
  -            <xsl:value-of select="."/>
  -          </pre></td>
  -          <td bgcolor="{$source-color}" width="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -        </tr>
  -        <tr>
  -          <td bgcolor="{$source-color}" width="1" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -          <td bgcolor="{$source-color}" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -          <td bgcolor="{$source-color}" width="1" height="1">
  -            <img src="{$void}" width="1" height="1" vspace="0" hspace="0" 
border="0"/>
  -          </td>
  -        </tr>
  -      </table>
  +    <div class="example"><pre>
  +        <xsl:value-of select="."/>
  +        </pre>
       </div>
     </xsl:template>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to