From 2b61eebf51425dc01e2da9bd6b196cabf2af8dbb Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Thu, 19 Jul 2012 13:54:00 -0400 Subject: [PATCH] Added some style for the university blurbs and made the course boxes a little higher --- lms/static/sass/_courses.scss | 8 ++++++++ lms/static/sass/shared/_course_object.scss | 10 +++++----- lms/templates/university_profile/base.html | 10 ++++------ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/lms/static/sass/_courses.scss b/lms/static/sass/_courses.scss index b4e20efd46..246a7d1083 100644 --- a/lms/static/sass/_courses.scss +++ b/lms/static/sass/_courses.scss @@ -79,4 +79,12 @@ } } } + + section.message { + border-top: 1px solid rgb(220,220,220); + @include clearfix; + margin-top: 20px; + padding-top: 60px; + @include columns(2 20px); + } } diff --git a/lms/static/sass/shared/_course_object.scss b/lms/static/sass/shared/_course_object.scss index 7400a48966..ca99e13bf9 100644 --- a/lms/static/sass/shared/_course_object.scss +++ b/lms/static/sass/shared/_course_object.scss @@ -47,7 +47,7 @@ .inner-wrapper { border: 1px solid rgba(255,255,255, 1); height: 100%; - height: 180px; + height: 200px; overflow: hidden; position: relative; } @@ -132,7 +132,7 @@ .info { background: rgb(255,255,255); - height: 180px + 130px; + height: 220px + 130px; left: 0px; position: absolute; top: 0px; @@ -140,7 +140,7 @@ width: 100%; .cover-image { - height: 180px; + height: 200px; overflow: hidden; width: 100%; @@ -153,7 +153,7 @@ .desc { @include box-sizing(border-box); - height: 100px; + height: 120px; overflow: hidden; padding: 10px 10px 12px 10px; position: relative; @@ -197,7 +197,7 @@ @include box-shadow(0 1px 16px 0 rgba($blue, 0.4)); .info { - top: -130px; + top: -150px; } .meta-info { diff --git a/lms/templates/university_profile/base.html b/lms/templates/university_profile/base.html index a2bb7ff230..d5f8e2ff27 100644 --- a/lms/templates/university_profile/base.html +++ b/lms/templates/university_profile/base.html @@ -3,17 +3,15 @@
<%block name="university_header"/> -
-
-
- <%block name="university_description" /> -
-
%for course in courses: <%include file="../course.html" args="course=course" /> %endfor
+ +
+ <%block name="university_description" /> +