Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60094 - in website/public_html/beta: common style/css_0 style/css_0/theme_grape style/css_0/theme_grass
From: daniel_james_at_[hidden]
Date: 2010-03-03 03:10:12


Author: danieljames
Date: 2010-03-03 03:10:11 EST (Wed, 03 Mar 2010)
New Revision: 60094
URL: http://svn.boost.org/trac/boost/changeset/60094

Log:
Add an inner div to the header so that basic doesn't style the body.

Also lets the theme add a colour to the header so that it looks
okay if the background images fail to load.
Text files modified:
   website/public_html/beta/common/heading.html | 2 ++
   website/public_html/beta/style/css_0/header.css | 8 ++++++--
   website/public_html/beta/style/css_0/theme_grape/header.css | 11 +++++------
   website/public_html/beta/style/css_0/theme_grass/header.css | 11 +++++------
   4 files changed, 18 insertions(+), 14 deletions(-)

Modified: website/public_html/beta/common/heading.html
==============================================================================
--- website/public_html/beta/common/heading.html (original)
+++ website/public_html/beta/common/heading.html 2010-03-03 03:10:11 EST (Wed, 03 Mar 2010)
@@ -1,3 +1,4 @@
+<div class="heading-inner">
   <div id="heading-placard"></div>
 
   <h1 id="heading-title"><a href="/"><img src="/gfx/space.png" alt=
@@ -31,3 +32,4 @@
       <li id="map-section-tab">Index</li>
     </ul>
   </div>
+</div>
\ No newline at end of file

Modified: website/public_html/beta/style/css_0/header.css
==============================================================================
--- website/public_html/beta/style/css_0/header.css (original)
+++ website/public_html/beta/style/css_0/header.css 2010-03-03 03:10:11 EST (Wed, 03 Mar 2010)
@@ -22,12 +22,16 @@
 #heading {
   margin: 0em;
   border-bottom: #000000 solid 1px;
- height: 100px;
   width: 100%;
- overflow: hidden;
   font-family: sans-serif;
   font-size: 9.5pt;
 }
+#boost-common-heading-doc .heading-inner,
+#heading .heading-inner {
+ height: 100px;
+ overflow: hidden;
+}
+
 #boost-common-heading-doc *,
 #heading * {
   font-size: 100%;

Modified: website/public_html/beta/style/css_0/theme_grape/header.css
==============================================================================
--- website/public_html/beta/style/css_0/theme_grape/header.css (original)
+++ website/public_html/beta/style/css_0/theme_grape/header.css 2010-03-03 03:10:11 EST (Wed, 03 Mar 2010)
@@ -5,17 +5,16 @@
 */
 
 /* Heading, title and logo. */
-body {
- background-image: url(header-bg.png);
- background-repeat: repeat-x;
- background-position: top left;
+#heading,
+#boost-common-heading-doc {
+ background: #574D74 url(header-bg.png) repeat-x top left;
 }
 #heading *,
 #boost-common-heading-doc * {
   color: #FFFFFF;
 }
-#heading,
-#boost-common-heading-doc {
+#heading .heading-inner,
+#boost-common-heading-doc .heading-inner {
   background: url(header-fg.png) no-repeat top left;
   border: none;
   border-bottom: #000000 solid 1px;

Modified: website/public_html/beta/style/css_0/theme_grass/header.css
==============================================================================
--- website/public_html/beta/style/css_0/theme_grass/header.css (original)
+++ website/public_html/beta/style/css_0/theme_grass/header.css 2010-03-03 03:10:11 EST (Wed, 03 Mar 2010)
@@ -5,17 +5,16 @@
 */
 
 /* Heading, title and logo. */
-body {
- background-image: url(header-bg.png);
- background-repeat: repeat-x;
- background-position: top left;
+#heading,
+#boost-common-heading-doc {
+ background: #4F744D url(header-bg.png) repeat-x top left;
 }
 #heading *,
 #boost-common-heading-doc * {
   color: #FFFFFF;
 }
-#heading,
-#boost-common-heading-doc {
+#heading .heading-inner,
+#boost-common-heading-doc .heading-inner {
   background: url(header-fg.png) no-repeat top left;
   border: none;
   border-bottom: #000000 solid 1px;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk