summaryrefslogtreecommitdiff
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
parentd8b0fcbc50248e493dfda288fe538ea58ef66acf (diff)
Fix for background image repetition for various page heights
-rw-r--r--classes/Design.php8
-rw-r--r--theme/base/css/display.css4
-rw-r--r--theme/default/css/display.css1
-rw-r--r--theme/identica/css/display.css1
4 files changed, 6 insertions, 8 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) {
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 99f2d9ece..e1b92edce 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -12,9 +12,9 @@ img { display:block; border:0; }
a abbr { cursor: pointer; border-bottom:0; }
table { border-collapse:collapse; }
ol { list-style-position:inside; }
-html { font-size: 87.5%; background-color:#fff; }
+html { font-size: 87.5%; height:100%; }
body {
-background-color:#fff;
+background-color:#FFFFFF;
color:#000;
font-family:sans-serif;
font-size:1em;
diff --git a/theme/default/css/display.css b/theme/default/css/display.css
index 935116a74..881e264da 100644
--- a/theme/default/css/display.css
+++ b/theme/default/css/display.css
@@ -9,7 +9,6 @@
@import url(../../base/css/display.css);
-html,
body,
a:active {
background-color:#C3D6DF;
diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css
index 6845fda5f..ad57a0f0e 100644
--- a/theme/identica/css/display.css
+++ b/theme/identica/css/display.css
@@ -9,7 +9,6 @@
@import url(../../base/css/display.css);
-html,
body,
a:active {
background-color:#F0F2F5;