summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-18 01:39:37 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-18 01:39:37 +0000
commit00736bddd199b2a43820367c3476b9e9ec84c0db (patch)
tree110316f2f7aea290ef388922c72a7cab8bb35979 /classes
parentd8b0fcbc50248e493dfda288fe538ea58ef66acf (diff)
Fix for background image repetition for various page heights
Diffstat (limited to 'classes')
-rw-r--r--classes/Design.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/Design.php b/classes/Design.php
index 5b28bf014..da4b670be 100644
--- a/classes/Design.php
+++ b/classes/Design.php
@@ -69,12 +69,12 @@ class Design extends Memcached_DataObject
__FILE__);
}
- $css = 'html, body { background-color: #' . $bgcolor->hexValue() . '} ' . "\n";
+ $css = 'body { background-color: #' . $bgcolor->hexValue() . ' }' . "\n";
$css .= '#content, #site_nav_local_views .current a { background-color: #';
$css .= $ccolor->hexValue() . '} '."\n";
- $css .= '#aside_primary { background-color: #'. $sbcolor->hexValue() . '} ' . "\n";
- $css .= 'html body { color: #'. $tcolor->hexValue() . '} '. "\n";
- $css .= 'a { color: #' . $lcolor->hexValue() . '} ' . "\n";
+ $css .= '#aside_primary { background-color: #'. $sbcolor->hexValue() . ' }' . "\n";
+ $css .= 'html body { color: #'. $tcolor->hexValue() . ' }'. "\n";
+ $css .= 'a { color: #' . $lcolor->hexValue() . ' }' . "\n";
if (!empty($this->backgroundimage) &&
$this->disposition & BACKGROUND_ON) {