renaming some css selectors for clarity and standarizing some spaces
authorSeth Woodworth <seth@sethish.com>
Tue, 19 Mar 2013 00:03:07 +0000 (20:03 -0400)
committerSeth Woodworth <seth@sethish.com>
Tue, 19 Mar 2013 00:03:07 +0000 (20:03 -0400)
karmaworld/assets/css/global.css
karmaworld/templates/courses/course_detail.html

index 2a1768eef62f12b0361bf64e609e276e900ae8ba..762e7495d0aa58c08139a4fdb04f22c5420cf34c 100644 (file)
@@ -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;
 }
index 2538a5216364198456f04a75487730a3ffcfca29..631a6dc8f009dbe6f98ebac8b9bc1db104e4ea31 100644 (file)
@@ -47,7 +47,7 @@
 
       <div class="row">
         <div id="course_meta" class="twelve columns">
-          <div class="activity_details_context">
+          <div class="course_details">
             {{ course.instructor_name }} | {{ course.school.name }}
           </div><!-- /activity_details_context -->
         </div><!-- /course_meta -->
               {% endif %}
 
 
-              <div class="activity_details_callout_copy">
+              <div class="note_preview">
                 {{ note.text|slice:":500" }} &hellip;
               </div>