From 04530d34498086eb8cc0038e3217b1cc71d48f03 Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Thu, 14 Jul 2011 04:14:24 -0300 Subject: [PATCH] fix css position --- src/web/static/css/style.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/web/static/css/style.css b/src/web/static/css/style.css index 50f0fdf..5858620 100644 --- a/src/web/static/css/style.css +++ b/src/web/static/css/style.css @@ -62,11 +62,21 @@ background-image: url('../images/pattern.gif'); #wrap { min-width: 470px; max-width: 960px; -margin-top: 100px; +margin-top: 40px; +padding-top: 55px; margin-right: auto; margin-bottom: 0px; margin-left: auto; background-color: white; +border-radius: 10px; +background: #e0e0e0; /* Old browsers: generate by http://www.colorzilla.com/gradient-editor/ */ +background: -moz-linear-gradient(top, #e0e0e0 0%, #ffffff 46%); /* FF3.6+ */ +background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0e0e0), color-stop(46%,#ffffff)); /* Chrome,Safari4+ */ +background: -webkit-linear-gradient(top, #e0e0e0 0%,#ffffff 46%); /* Chrome10+,Safari5.1+ */ +background: -o-linear-gradient(top, #e0e0e0 0%,#ffffff 46%); /* Opera11.10+ */ +background: -ms-linear-gradient(top, #e0e0e0 0%,#ffffff 46%); /* IE10+ */ +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ +background: linear-gradient(top, #e0e0e0 0%,#ffffff 46%); /* W3C */ } #header { @@ -92,7 +102,7 @@ height: 45px; margin: 0px; margin-top: 5px; display: block; -float: right; +float: left; } #navbar { @@ -133,6 +143,7 @@ float: right; #maincontent { padding-top: 10px; +padding-bottom: 10px; } .align-left { @@ -301,6 +312,7 @@ border: 1px solid #888a85; border-radius: 4px; box-shadow: 0 1px 4px gray inset; background: white; +float: right; z-index: 3; } @@ -393,7 +405,6 @@ line-height: 14px; margin: 0; position: absolute; right: -1px; -text-shadow: 0 1px 0 gray; text-align: center; bottom: -1px; z-index: 2; -- libgit2 0.21.2