Fix for background image repetition for various page heights
This commit is contained in:
parent
d8b0fcbc50
commit
00736bddd1
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
@import url(../../base/css/display.css);
|
||||
|
||||
html,
|
||||
body,
|
||||
a:active {
|
||||
background-color:#C3D6DF;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
@import url(../../base/css/display.css);
|
||||
|
||||
html,
|
||||
body,
|
||||
a:active {
|
||||
background-color:#F0F2F5;
|
||||
|
|
Loading…
Reference in New Issue
Block a user