From 6e7c27d96ec0691efa484115dfbf01bad51de429 Mon Sep 17 00:00:00 2001 From: Zaher Dirkey Date: Sun, 8 Sep 2013 20:01:16 +0300 Subject: [PATCH] Fix Gradients --- style.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index 7a1052e..0445f82 100644 --- a/style.css +++ b/style.css @@ -30,8 +30,8 @@ html { body { height: 100%; width: auto; - padding: 0px; - margin: 0px; + padding: 0em; + margin: 0em; font: $get(font_size)/1.3 Tahoma, Verdana, Arial, sans-serif; background: $color(back); color: $get(fore); @@ -151,7 +151,7 @@ embed, iframe, object { position: relative; background: $color(base); $if(gradients)< - background: linear-gradient(to bottom, $color(base, -10) 0%,$color(base, 40) 5%, $color(base, 20) 10%, $color(base, -20) 100%); + background: linear-gradient(to bottom, $color(base, 10) 1%, $color(base, 25) 10%, $color(base) 40%); > z-index: 999; text-decoration: none; @@ -163,7 +163,7 @@ $if(gradients)< #logo-header{ overflow: auto; height: auto; - padding: 0.5em 0 0; + padding: 0.5em 1em; display: table; } @@ -213,8 +213,10 @@ $if(gradients)< /** main content */ -#main { /*do not put padding or margin*/ +#main { /*do not put padding or margin or border width */ background: $color(canvas_back); + margin: 0em; + padding: 0em; } #inside {