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;