From d71890526b97b9747ed082a4cd451396fa8ff622 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Thu, 7 Nov 2013 16:35:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8=E9=87=8C?= =?UTF-8?q?=E9=9D=A2=E8=B6=85=E5=87=BA=E7=9A=84=E9=83=A8=E5=88=86=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_courses.html.erb | 4 ++-- public/stylesheets/application.css | 9 +++++++++ .../themes/redpenny-master/stylesheets/application.css | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index 763802c4a..89990307f 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -29,7 +29,7 @@ - + - +
高校课程实践社区当前位置 : 当前位置 :
<%=link_to "forge.trustie.net/course", :controller => 'projects', :action => 'course' %><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > <%=link_to @project.name, nil %>(<%= @course.time %><%= @course.term %>)

<%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > <%=link_to @project.name, nil %>

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index c72ff2f8a..a863cab03 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -20,6 +20,14 @@ h4 {border-bottom: 1px dotted #bbb;} margin-bottom: 10px; } +.top-content-list{ + width: 430px; + white-space: nowrap; + overflow: hidden; + -o-text-overflow: ellisis; + text-overflow: ellipsis; +} + /*added by bai*/ .top-course-content{ background-color: rgb(181,227, 251); @@ -570,6 +578,7 @@ ul.context_projects li {list-style-type:none; font-weight:ligher; color:#7e7e7e; } + .top_description{ overflow: hidden; height: 65px; diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css index bf7533fdb..a3a363ceb 100644 --- a/public/themes/redpenny-master/stylesheets/application.css +++ b/public/themes/redpenny-master/stylesheets/application.css @@ -1454,6 +1454,7 @@ div.pagination a { border-image: none; /*border-radius: 6px;*/ } + div.pagination span { float: left; padding: 0px 14px;