From: Seth Woodworth Date: Tue, 19 Mar 2013 00:03:07 +0000 (-0400) Subject: renaming some css selectors for clarity and standarizing some spaces X-Git-Tag: release-20150131~483^2~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbea234e407c72061f77da9b790b41af6ef78787;p=oweals%2Fkarmaworld.git renaming some css selectors for clarity and standarizing some spaces --- 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" }} …