You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/04/27 06:43:18 UTC

[lucy-commits] svn commit: r1096993 - in /incubator/lucy/site/trunk: content/lucy/css/lucy.css templates/basic.html

Author: marvin
Date: Wed Apr 27 04:43:17 2011
New Revision: 1096993

URL: http://svn.apache.org/viewvc?rev=1096993&view=rev
Log:
Wrap the entire web page template using a div with a fixed width of 1060
pixels.  This hack is justified because the current fluid layout used by the
main Apache site (which we cloned) is a little sloppy.  It's possible to get
elements lined up under a fixed width; it would be much harder to fix things
so they start staying aligned under the fluid layout.

Modified:
    incubator/lucy/site/trunk/content/lucy/css/lucy.css
    incubator/lucy/site/trunk/templates/basic.html

Modified: incubator/lucy/site/trunk/content/lucy/css/lucy.css
URL: http://svn.apache.org/viewvc/incubator/lucy/site/trunk/content/lucy/css/lucy.css?rev=1096993&r1=1096992&r2=1096993&view=diff
==============================================================================
--- incubator/lucy/site/trunk/content/lucy/css/lucy.css (original)
+++ incubator/lucy/site/trunk/content/lucy/css/lucy.css Wed Apr 27 04:43:17 2011
@@ -16,3 +16,9 @@
 
 @import url('http://www.apache.org/css/style.css');
 
+#rigid_wrapper {
+    width: 1060px;
+    margin-left: auto;
+    margin-right: auto;
+}
+

Modified: incubator/lucy/site/trunk/templates/basic.html
URL: http://svn.apache.org/viewvc/incubator/lucy/site/trunk/templates/basic.html?rev=1096993&r1=1096992&r2=1096993&view=diff
==============================================================================
--- incubator/lucy/site/trunk/templates/basic.html (original)
+++ incubator/lucy/site/trunk/templates/basic.html Wed Apr 27 04:43:17 2011
@@ -8,6 +8,8 @@
 
   <body>
 
+    <div id="rigid_wrapper">
+
     <div id="page" class="container_16">
 
       <div id="header" class="grid_8">
@@ -50,5 +52,7 @@
       </p>
     </div> <!-- copyright -->
 
+    </div> <!-- rigid_wrapper -->
+
   </body>
 </html>