diff --git a/lms/static/sass/views/_program-marketing-page.scss b/lms/static/sass/views/_program-marketing-page.scss index 6e8149d151..c89abf4852 100644 --- a/lms/static/sass/views/_program-marketing-page.scss +++ b/lms/static/sass/views/_program-marketing-page.scss @@ -1,28 +1,15 @@ -#program-details-page { - font-size: 16px; - +#program-details-hero { .program_title { font-weight: bold; - margin-top: $baseline + margin-top: $baseline; } .logo { height: 100px; } - .section_title { - margin-bottom: $baseline; - color: theme-color("dark"); - } - - .thick_rule { - height: 4px; - border: 0; - background-color: theme-color('secondary'); - } - .main-banner { - color: white; + color: $white; margin-bottom: 1px; background-size: cover; background-repeat: no-repeat; @@ -50,7 +37,7 @@ button { background-color: transparent; - color: $white + color: $white; } iframe { @@ -70,13 +57,32 @@ .quick-nav { background-color: theme-color('light'); - margin-bottom: $baseline/2; .nav-item { font-size: 18px; color: $white; } } +} + +#program-details-page { + margin-top: $baseline; + font-size: $font-size-base; + + .logo { + height: 100px; + } + + .section_title { + margin-bottom: $baseline; + color: theme-color("dark"); + } + + .thick_rule { + height: 4px; + border: 0; + background-color: theme-color('secondary'); + } .program-info { .quote { diff --git a/lms/templates/courseware/program_marketing.html b/lms/templates/courseware/program_marketing.html index 7fbc53dd39..d6de91f064 100644 --- a/lms/templates/courseware/program_marketing.html +++ b/lms/templates/courseware/program_marketing.html @@ -41,11 +41,8 @@ endorser_position = endorser.get('position') or {} endorser_title = endorser_position.get('title') endorser_org = endorser_position.get('organization_name') or corporate_endorsement_name expected_learning_items = program['expected_learning_items'] -authoring_organizations = program['authoring_organizations'] min_hours_effort_per_week = program['min_hours_effort_per_week'] max_hours_effort_per_week = program['max_hours_effort_per_week'] -video_url = program['video'].get('src') if program['video'] else '' -banner_image = program.get('banner_image', {}).get('large', {}).get('url', '') %> <%block name="js_extra"> @@ -53,56 +50,72 @@ banner_image = program.get('banner_image', {}).get('large', {}).get('url', '') %block> <%block name="pagetitle">${program['title']}%block> +<%block name="marketing_hero"> + <% + banner_image = program.get('banner_image', {}).get('large', {}).get('url', '') + authoring_organizations = program['authoring_organizations'] + video_url = program['video'].get('src') if program['video'] else '' + %> +