From 97775532f98c605038a070c9f1f7f6005723872f Mon Sep 17 00:00:00 2001
From: Kyle Fiedler <kfiedler@thoughtbot.com>
Date: Tue, 24 Apr 2012 14:06:00 -0400
Subject: [PATCH] Added better styles for titles and removed some white spaces

---
 static/css/application.css                 | 4 +++-
 templates/sass/courseware/_courseware.scss | 2 +-
 templates/video.html                       | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/static/css/application.css b/static/css/application.css
index 5e31deab950..c555a685f4b 100644
--- a/static/css/application.css
+++ b/static/css/application.css
@@ -134,7 +134,7 @@ input, select {
   display: table;
   width: 100%; }
 
-h1.top-header, div.course-wrapper section.course-content h1, div.info-wrapper section.updates > h1, div.profile-wrapper section.course-info header, div.gradebook-wrapper section.gradebook-content h1, div.question-list-header {
+h1.top-header, div.info-wrapper section.updates > h1, div.profile-wrapper section.course-info header, div.gradebook-wrapper section.gradebook-content h1, div.question-list-header {
   background: #f3f3f3;
   border-bottom: 1px solid #e3e3e3;
   margin: -22.652px -22.652px 22.652px;
@@ -2659,6 +2659,8 @@ body.courseware {
 
 div.course-wrapper ul, div.course-wrapper ol {
   list-style: none; }
+div.course-wrapper section.course-content h1 {
+  margin: 0 0 22.652px; }
 div.course-wrapper section.course-content p {
   margin-bottom: 22.652px; }
 div.course-wrapper section.course-content p:empty {
diff --git a/templates/sass/courseware/_courseware.scss b/templates/sass/courseware/_courseware.scss
index 57d1f7e6e21..22235568547 100644
--- a/templates/sass/courseware/_courseware.scss
+++ b/templates/sass/courseware/_courseware.scss
@@ -19,7 +19,7 @@ div.course-wrapper {
     @extend .content;
 
     h1 {
-      @extend .top-header;
+      margin: 0 0 lh();
     }
 
     p {
diff --git a/templates/video.html b/templates/video.html
index d1f192b9547..563bfd51296 100644
--- a/templates/video.html
+++ b/templates/video.html
@@ -1,4 +1,4 @@
-% if name is not UNDEFINED and name != None: 
+% if name is not UNDEFINED and name != None:
   <h1> ${name} </h1>
 % endif
 
-- 
GitLab