Skip to content

Commit

Permalink
D8CORE-7212 Update "Teaser" paragraph type styles (#298)
Browse files Browse the repository at this point in the history
* Update teaser styles

* Remove commented out code
  • Loading branch information
jdwjdwjdw authored Feb 28, 2024
1 parent 3d5182d commit 86123cd
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 11 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@
}

.su-card__contents {
@include modular-spacing("padding", 1);
padding: 3rem;

h2 {
@include type-c;
@include grid-media-max("sm") {
@include modular-spacing("margin-top", 1);
}
}

h3 {
font-size: 1.4em;

margin-left: 0;
margin-right: 0;
@include grid-media-max("sm") {
@include modular-spacing("margin-top", 1);
}
}

a {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions modules/stanford_courses/lib/scss/course-vertical-teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
}
}

h3 {
font-size: 1.4em;
}

a {
color: $su-color-bright-red;
font-weight: $su-font-bold;
Expand Down
Loading

0 comments on commit 86123cd

Please sign in to comment.