From 1f08a02f4acf791ff291f625c221ec415d37ab23 Mon Sep 17 00:00:00 2001 From: Linda <2294690300@qq.com> Date: Fri, 12 May 2017 09:31:57 +0800 Subject: [PATCH] =?UTF-8?q?edu=E9=A6=96=E9=A1=B5=E8=89=B2=E5=9D=97?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/welcome_helper.rb | 6 +++--- public/stylesheets/css/edu-index.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index 02a292f72..2306adb96 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -31,11 +31,11 @@ module WelcomeHelper when 2 "edu-index-bg-purple" when 3 - "edu-index-bg-purple" - when 4 "edu-index-bg-yellow" - when 5 + when 4 "edu-index-bg-orange" + when 5 + "edu-index-bg-green" end end diff --git a/public/stylesheets/css/edu-index.css b/public/stylesheets/css/edu-index.css index 728c3ed8b..1abeb692e 100644 --- a/public/stylesheets/css/edu-index.css +++ b/public/stylesheets/css/edu-index.css @@ -31,7 +31,7 @@ h3.edu-index-list-title{ font-size:16px; max-width:290px; text-align: center;} h3.edu-index-list-title a{ color:#fff;} .edu-index-list-user{ background:rgba(255,255,255,0.3); display:inline-block; padding:5px; border-radius:35px; margin-bottom:25px;} .edu-index-list-user img{ border-radius:100px; width:40px; height: 40px;} -a.edu-index-name{ max-width:140px; line-height:40px; color:#fff;} +a.edu-index-name{ max-width:140px; line-height:40px; color:#fff!important;} .edu-index-list-bottom li{ float: left; height: 50px; line-height: 50px; width:30%;} .edu-index-list-bottom { background:#fff; color:#acacac; padding:0 10px;} .edu-index-parter{ width:1240px; margin:40px auto 0;}