We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 00736bdd authored by Sarven Capadisli's avatar Sarven Capadisli

Fix for background image repetition for various page heights

parent d8b0fcbc
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment