Skip to content

Commit

Permalink
css: update styles for video on homepage, two-col-linked-list, and pa…
Browse files Browse the repository at this point in the history
…ge headers on top level pages
  • Loading branch information
poojagunturu96 committed Oct 13, 2023
1 parent c1ce82d commit 92acf53
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
15 changes: 13 additions & 2 deletions src/scss/components/_campaign-section-video.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@

.campaign-video--container {
@include make-container;
padding: 0;
max-width: 1136px;
// padding: 0;
// max-width: 1136px;

.video {
margin: auto;
// padding: 0 $spacing-3;
@include make-col(12);

@include breakpoint(lg) {
@include make-col(10);
padding: 0 $spacing-5;
}
}
}

.transcript a {
Expand Down
12 changes: 12 additions & 0 deletions src/scss/components/_campaign-section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@

&.video {
background-color: $color-primary;

&:before {
padding-top: percentage(5/4);

@include breakpoint(sm) {
padding-top: percentage(225/256);
}

@include breakpoint(lg) {
padding-top: percentage(9/16);
}
}
}

&.video-group {
Expand Down
3 changes: 2 additions & 1 deletion src/scss/components/_page-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
}
}

.page-header--has-menu {
.page-header--has-menu,
.page-header--has-image {
margin-bottom: 0;

.page-header__content {
Expand Down
10 changes: 8 additions & 2 deletions src/scss/components/_two-col-linked-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,16 @@
}

p {
margin-top: $spacing-3;
text-transform: none;
font-size: $typescale-2;
font-weight: $font-weight-normal;
letter-spacing: initial;
text-transform: none;
margin-top: $spacing-3;

@include breakpoint(lg) {
font-size: $typescale-3;
padding-right: $spacing-9;
}
}
}
}

0 comments on commit 92acf53

Please sign in to comment.