Skip to content

Commit

Permalink
Merge pull request #188 from BCcampus/headings
Browse files Browse the repository at this point in the history
completes #146
  • Loading branch information
bdolor authored Apr 4, 2019
2 parents 880dc21 + dafbb53 commit 87d7c72
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
3 changes: 3 additions & 0 deletions resources/assets/styles/common/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ a {

.text-blue-navy {
color: $color-blue-navy;
font-size: 1.5875em;
line-height: 1.2em;
font-weight: bold;
}

.text-blue-light {
Expand Down
9 changes: 5 additions & 4 deletions resources/assets/styles/layouts/_pages.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.bkgd-blue-navy {
h2, p {
color: $color-white;
color: $color-white;
font-weight:400;
h1, h2{
font-weight: lighter;
}
}

}
2 changes: 1 addition & 1 deletion resources/views/partials/collection-guides.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@endphp
<section class="bkgd-blue-navy d-flex flex-row flex-wrap full-width py-3 mt-3 text-center text-white">
<div class="col-12">
<h4 class="text-center">Getting Started</h4>
<h3 class="text-center">Getting Started</h3>
</div>
@foreach(\App\Controllers\App::getLatestAdditions($args) as $book)
<article class="col-md-3 mb-2" itemscope itemtype="http://schema.org/Article">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/collection-search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$bkgd = (is_page_template(['views/template-oer.blade.php', 'views/template-find-oer.blade.php'])) ? 'bkgd-blue-navy' : 'bkgd-grey-light';
@endphp
<section class="{{$bkgd}} full-width py-4 px-5 mb-3">
<h3 class="text-center text-blue-navy">Search the B.C. Open Textbook Collection</h3>
<h2 class="text-center text-blue-navy">Search the B.C. Open Textbook Collection</h2>
<form class='form-group input-group mb-0' action='{{$link}}' method='get' role="search">
<label for="find-oer-1" class="sr-only">Search the BC Open Textbook Collection</label>
<input type='text' class='form-control' placeholder='Search...' name='search' id='find-oer-1' aria-label="Search open textbook collection" aria-describedby="find-oer-2"/>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/collection-stats.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@php($link=get_home_url().'/open-textbook-stats/')
<section class="bkgd-blue-navy d-flex flex-row flex-wrap full-width my-3">
<div class="col-12 py-3 text-white text-left">
<h4 class="text-center">Open Education at BCcampus</h4>
<h3 class="text-center">Open Education at BCcampus</h3>
At BCcampus, we’re using open technologies to facilitate, evaluate, and create open educational resources to share across the province and around the world; saving millions of student-dollars through hundreds of open textbooks adopted in thousands of classrooms:
</div>
<span class="col-md-3 text-center text-white"><a href="{{$link}}" class="stats-icons">
Expand Down
8 changes: 4 additions & 4 deletions resources/views/partials/front-page-cards.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<article class="homepage-cards-item col-md-6 mb-2 pl-0 py-3" itemscope itemtype="http://schema.org/Article">
<a href="{{ get_permalink($get_left_card_id) }}" class="img-link">
<div class="featured-cards row-fluid d-flex" style="background-image: url({{\App\Controllers\App::getThumbUrl($get_left_card_id)}});">
<h4 itemprop="name" class="blue-bkgd-special text-inverse col-sm mt-auto text-center m-0 p-2">{!!get_the_title($get_left_card_id)!!}
</h4>
<h3 itemprop="name" class="blue-bkgd-special text-inverse col-sm mt-auto text-center m-0 p-2">{!!get_the_title($get_left_card_id)!!}
</h3>
</div>
</a>
<div class="row-fluid min-height-md">
Expand All @@ -27,8 +27,8 @@
<article class="homepage-cards-item col-md-6 mb-2 pr-0 py-3" itemscope itemtype="http://schema.org/Article">
<a href="{{ get_permalink($get_right_card_id) }}" class="img-link">
<div class="featured-cards row-fluid d-flex" style="background-image: url({{\App\Controllers\App::getThumbUrl($get_right_card_id)}});">
<h4 itemprop="name" class="blue-bkgd-special text-inverse col-sm mt-auto text-center m-0 p-2">{!!get_the_title($get_right_card_id)!!}
</h4>
<h3 itemprop="name" class="blue-bkgd-special text-inverse col-sm mt-auto text-center m-0 p-2">{!!get_the_title($get_right_card_id)!!}
</h3>
</div>
</a>
<div class="row-fluid min-height-md">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/front-page-hero.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="d-flex flex-row flex-wrap full-width pt-4">
<div class="col-md-6 bkgd-blue-navy p-4">
<h2>{!! get_the_title($get_hero_page_id) !!}</h2>
<h1 class="m-0">{!! get_the_title($get_hero_page_id) !!}</h1>
<p class="py-3">{{\App\Controllers\App::getPostExcerpt($get_hero_page_id)}}</p>
<a class="btn btn-primary" aria-label="Read more about {!! get_the_title($get_hero_page_id) !!}" href="{{\App\Controllers\App::maybeGuid($get_hero_page_id, get_post_field('post_name', $get_hero_page_id))}}" role="button">Learn More</a>
</div>
Expand Down

0 comments on commit 87d7c72

Please sign in to comment.