Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit 59220a3

Browse files
authored
Merge pull request #940 from comicrelief/361_school_lookup
feat(SR payin update): Update audience images and style audience page
2 parents 56c9614 + c91e325 commit 59220a3

14 files changed

Lines changed: 29 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Comic Relief Pattern Lab [![NPM version][npm-image]][npm-url] [![Build Status][concourse-image]][concourse-url]
22
> A Node-based project to supply Sass components and a styleguide generator.
33
4-
## The idea
4+
## The idea
55
To have a centralised hub supply common styling across Comic Relief products.
66

77
## Quicklinks

sass/themes/payin/sportrelief/components/cards/_cards.scss

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
.card {
1515
height: 350px;
1616
margin: 0 5% 20px;
17+
border-radius: 4%;
1718

1819
@include breakpoint($screen-md) {
1920
max-width: span(4 of 12);
@@ -25,15 +26,15 @@
2526
}
2627

2728
&--school {
28-
background: url($image-path + "nursery-school-university.jpg") 0 0/cover no-repeat;
29+
background: url($image-path + "nursery-school.jpg") 0 0/cover no-repeat;
2930
}
3031

3132
&--work {
3233
background: url($image-path + "workplace-organisation.jpg") 0 0/cover no-repeat;
3334
}
3435

35-
&--leisure {
36-
background: url($image-path + "gym-leisure-sports.jpg") 0 0/cover no-repeat;
36+
&--youth {
37+
background: url($image-path + "youth-university.jpg") 0 0/cover no-repeat;
3738
}
3839

3940
a {
@@ -49,14 +50,22 @@
4950

5051
.cards__content {
5152

52-
h3 {
53-
color: $colour-white;
53+
.cards__title {
54+
background-color: $colour-white;
55+
opacity: 0.9;
5456
position: absolute;
55-
bottom: 0;
57+
bottom: -15px;
58+
width:100%;
59+
}
60+
h3 {
61+
color: $colour-black;
62+
font-family: $montserrat;
63+
@include font-size($h4-font-size);
64+
font-weight: bold;
5665
left: auto;
5766
right: auto;
58-
padding:0 30px 20px;
59-
text-align: left;
67+
padding:20px 30px 20px;
68+
text-align: center;
6069
}
6170

6271
}
Binary file not shown.
-12.2 KB
Loading
Binary file not shown.
481 KB
Loading
-6.2 KB
Loading
361 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
footer[role=contentinfo] {
2+
background-color: $colour-SR20-light-blue;
3+
}

sass/themes/payin/sportrelief/components/promo-header/_promo-header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.promo-header {
2-
background-color: $colour-black-pearl;
2+
background-color: $colour-SR20-light-blue;
33

44
.promo-header__content {
55
top: 0;

0 commit comments

Comments
 (0)