From cbea234e407c72061f77da9b790b41af6ef78787 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 18 Mar 2013 20:03:07 -0400 Subject: [PATCH] renaming some css selectors for clarity and standarizing some spaces --- karmaworld/assets/css/global.css | 24 +++++++++++++++---- .../templates/courses/course_detail.html | 4 ++-- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 2a1768e..762e749 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -387,7 +387,7 @@ a.course_link, a.course_link:hover, a.school_link, a.school_link:hover, a.prof_l { font-family: "MuseoSlab-300"; font-size: 22px; - line-height: 125%; + line-height: .4em%; } a.activity_actor, a.activity_actor:hover @@ -407,10 +407,16 @@ a.activity_target:hover color: #f1592a; } +.course_details +{ + font-size: 14px; + line-height: 2em; +} + .activity_details_context, .activity_details_context a { font-size: 12px; - line-height: 2em; + line-height: 1em; } .activity_details_callout @@ -419,6 +425,14 @@ a.activity_target:hover margin: 15px 0 13px; } +.note_preview +{ + margin-top: 2em; + line-height: 125%; + font: 14px/1.4em "Georga", Serif; + font-style: italic; +} + .activity_details_callout_copy { line-height: 125%; @@ -652,8 +666,8 @@ p.text a { margin-top: 1em; text-align: center; - font-family: "MuseoSlab-500"; - font-size: 24px; + font-family: "MuseoSlab-300"; + font-size: 22px; } .doubleline @@ -672,6 +686,6 @@ hr.midrule { border: dotted black; border-width: 1px 0 0; - width: 60px; + width: 140px; margin: 2em auto; } diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index 2538a52..631a6dc 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -47,7 +47,7 @@
-
+
{{ course.instructor_name }} | {{ course.school.name }}
@@ -122,7 +122,7 @@ {% endif %} -
+
{{ note.text|slice:":500" }} …
-- 2.25.1