You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/04/13 12:51:50 UTC

svn commit: r528436 - in /lenya/trunk/src/pubs/default: modules/homepage/xslt/homepage2xhtml.xsl resources/shared/css/homepage.css resources/shared/css/news.css

Author: andreas
Date: Fri Apr 13 03:51:49 2007
New Revision: 528436

URL: http://svn.apache.org/viewvc?view=rev&rev=528436
Log:
Improved news overview layout (avoid overlapping)

Modified:
    lenya/trunk/src/pubs/default/modules/homepage/xslt/homepage2xhtml.xsl
    lenya/trunk/src/pubs/default/resources/shared/css/homepage.css
    lenya/trunk/src/pubs/default/resources/shared/css/news.css

Modified: lenya/trunk/src/pubs/default/modules/homepage/xslt/homepage2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/modules/homepage/xslt/homepage2xhtml.xsl?view=diff&rev=528436&r1=528435&r2=528436
==============================================================================
--- lenya/trunk/src/pubs/default/modules/homepage/xslt/homepage2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/modules/homepage/xslt/homepage2xhtml.xsl Fri Apr 13 03:51:49 2007
@@ -39,11 +39,11 @@
         <ci:include src="cocoon:/news-header_{$language}.xml"/>
       </head>
       <body>
+        <ci:include src="cocoon:/news-include_{$language}.xml"/>
         <div id="body">
           <xsl:if test="$rendertype = 'edit'">
             <xsl:attribute name="bxe_xpath">/xhtml:html/xhtml:body</xsl:attribute>
           </xsl:if>
-          <ci:include src="cocoon:/news-include_{$language}.xml"/>
           <xsl:apply-templates select="xhtml:body/node()"/>
         </div>
       </body>

Modified: lenya/trunk/src/pubs/default/resources/shared/css/homepage.css
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/resources/shared/css/homepage.css?view=diff&rev=528436&r1=528435&r2=528436
==============================================================================
--- lenya/trunk/src/pubs/default/resources/shared/css/homepage.css (original)
+++ lenya/trunk/src/pubs/default/resources/shared/css/homepage.css Fri Apr 13 03:51:49 2007
@@ -1 +1,5 @@
-/* Put your doctype-specific CSS here */
\ No newline at end of file
+/* Put your doctype-specific CSS here */
+
+div#body {
+  margin-right: 300px;
+}
\ No newline at end of file

Modified: lenya/trunk/src/pubs/default/resources/shared/css/news.css
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/resources/shared/css/news.css?view=diff&rev=528436&r1=528435&r2=528436
==============================================================================
--- lenya/trunk/src/pubs/default/resources/shared/css/news.css (original)
+++ lenya/trunk/src/pubs/default/resources/shared/css/news.css Fri Apr 13 03:51:49 2007
@@ -23,9 +23,10 @@
 
 
 div#news {
+  font-family: Verdana, Arial, Sans-serif;
   clear: both;
   float: right;
-  width: 30%;
+  width: 250px;
   border: solid 1px #BB9999;
   margin: 0px 10px 10px 10px;
   padding: 10px;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org