From c87c0b76072ebe711106c6d81a87de2753218ca5 Mon Sep 17 00:00:00 2001 From: liweijian <415794089@qq.com> Date: Fri, 24 Jul 2015 17:46:31 +0800 Subject: [PATCH] change banner style and team pic --- resources/css/homing.css | 27 +++++++++++++++++---------- resources/index.html | 26 +++++++++++++++----------- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/resources/css/homing.css b/resources/css/homing.css index 498cb42..d247d98 100644 --- a/resources/css/homing.css +++ b/resources/css/homing.css @@ -60,9 +60,7 @@ dd span { .wrapper { display : block; position : relative; - width : 1130px; - margin-left : auto; - margin-right : auto; + width : 100%; } .wrapper:before, @@ -175,7 +173,6 @@ dd span { #banner { background : #D8DBE3; margin-top : 60px; - height : 515px; } #banner .unslider-arrow { @@ -189,12 +186,12 @@ dd span { } #banner .unslider-arrow.prev { - left : -35px; + left : 10px; background-image : url('../images/inc_left.png'); } #banner .unslider-arrow.next { - right : -35px; + right : 10px; background-image : url('../images/inc_right.png'); } @@ -202,17 +199,27 @@ dd span { #banner .slider { position : relative; overflow : auto; + width: 100%!important; + height: 100%!important; +} + +#banner .slider ul { + height: 100%; } #banner .slider ul li { float : left; + width : 25%!important; } #banner .dots { - display : block; - position : relative; - text-align : center; - top : -100px; + display: block; + text-align: center; + top: auto; + position: absolute; + bottom: 100px; + width: 100%; + } #banner .dot { diff --git a/resources/index.html b/resources/index.html index cfe208e..a745f22 100644 --- a/resources/index.html +++ b/resources/index.html @@ -30,10 +30,10 @@