httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/xsl manualpage.xsl
Date Wed, 09 Apr 2003 14:54:42 GMT
nd          2003/04/09 07:54:42

  Modified:    docs/manual/style/css manual.css
               docs/manual/style/xsl manualpage.xsl
  Log:
  if there's no sidebar, there's no need to squeeze the content.
  
  Revision  Changes    Path
  1.23      +5 -1      httpd-2.0/docs/manual/style/css/manual.css
  
  Index: manual.css
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/css/manual.css,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- manual.css	6 Apr 2003 18:01:33 -0000	1.22
  +++ manual.css	9 Apr 2003 14:54:42 -0000	1.23
  @@ -730,10 +730,14 @@
   }
   
   /* unsqueeze on some pages... */
  +body.no-sidebar div#page-content,
   body#index-page div#page-content {
  -    margin-left: 30px;
       margin-right: 0;
       padding-right: 0;
  +}
  +
  +body#index-page div#page-content {
  +    margin-left: 30px;
       padding-bottom: 1em;
   }
   
  
  
  
  1.3       +5 -0      httpd-2.0/docs/manual/style/xsl/manualpage.xsl
  
  Index: manualpage.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/manualpage.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- manualpage.xsl	11 Dec 2002 20:33:02 -0000	1.2
  +++ manualpage.xsl	9 Apr 2003 14:54:42 -0000	1.3
  @@ -16,6 +16,11 @@
   </xsl:text> <!-- insert line break -->
   
         <body id="manual-page">
  +        <!-- unsqueeze if there's no sidebar -->
  +        <xsl:if test="not(count(section) > 1 or seealso)">
  +          <xsl:attribute name="class">no-sidebar</xsl:attribute>
  +        </xsl:if>
  +
           <xsl:call-template name="top"/>          
   
           <div id="page-content">
  
  
  

Mime
View raw message