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/05/11 03:00:53 UTC

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

Author: marvin
Date: Wed May 11 01:00:52 2011
New Revision: 1101707

URL: http://svn.apache.org/viewvc?rev=1101707&view=rev
Log:
Undo mods to a grid960 element.

The www.apache.org style.css file modifies an element inherited from the
grid960 system.  Cancel out that mod, restoring consistency to grid960.
Offload the style to a separate CSS class and assign multiple classes to the
DOM elements that require that style.

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=1101707&r1=1101706&r2=1101707&view=diff
==============================================================================
--- incubator/lucy/site/trunk/content/lucy/css/lucy.css (original)
+++ incubator/lucy/site/trunk/content/lucy/css/lucy.css Wed May 11 01:00:52 2011
@@ -22,12 +22,26 @@
 
 @import url('http://www.apache.org/css/style.css');
 
+/* Cancel out mod from style.css on an element inherited from the grid 960
+ * system.  The stylistic attributes will be assigned to a separate class
+ * below: lucy-white_box_3d. */
+.container_16 {
+    background: none;
+    border: none;
+}
+
 #lucy-rigid_wrapper {
     width: 1060px;
     margin-left: auto;
     margin-right: auto;
 }
 
+.lucy-white_box_3d {
+    background: #fff;
+    border-bottom: 2px solid #bbb;
+    border-top: 1px solid #ccc;
+}
+
 /* Styling for Apache-centric top navigation bar. */
 #lucy-top_nav_box #lucy-top_nav_bar {
     float: left;
@@ -79,9 +93,7 @@
 }
 
 #lucy-copyright {
-    background: transparent;
     margin-top: 20px;
     font-size: 15px;
-    border: 0px;
 }
 

Modified: incubator/lucy/site/trunk/templates/basic.html
URL: http://svn.apache.org/viewvc/incubator/lucy/site/trunk/templates/basic.html?rev=1101707&r1=1101706&r2=1101707&view=diff
==============================================================================
--- incubator/lucy/site/trunk/templates/basic.html (original)
+++ incubator/lucy/site/trunk/templates/basic.html Wed May 11 01:00:52 2011
@@ -10,7 +10,7 @@
 
     <div id="lucy-rigid_wrapper">
 
-    <div id="lucy-top" class="container_16">
+    <div id="lucy-top" class="container_16 lucy-white_box_3d">
 
       <div id="lucy-logo_box" class="grid_8">
         <img src="images/lucy_logo_150x100.png" alt="Apache Lucy™">
@@ -40,7 +40,7 @@
 
     <div class="clear" style="height:10px"></div>
 
-    <div id="lucy-main_content" class="container_16">
+    <div id="lucy-main_content" class="container_16 lucy-white_box_3d">
 
       <div class="clear"></div>
       {% block content %}<div id="content" class="grid_16"><div class="section-content">{{ content|markdown }}</div></div>{% endblock %}