Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Jul 9, 2024
2 parents cbacc8e + ed6045f commit f4b0e6e
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
@import 'main-nav/index';
@import 'masthead/index';
@import 'search/index';
@import 'teaser/index';
57 changes: 57 additions & 0 deletions src/scss/components/teaser/_basic-page-teaser.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
@charset "UTF-8";

.ptype-stanford-entity,
.paragraph--type--stanford-entity {

// Card display
.ds-entity--stanford-page {
.su-card {
border: none;
box-shadow: none;

.image {
img,
figure {
display: block;
min-height: 320px;
width: 100%;
object-fit: cover;
}
}

section.su-card__contents {
padding: 4rem 0 0 0;

h2,
h3 {
a {
@include thub-type-d;
@include link-icon(arrow-right, 18px, right);

background: $thub-gradient-lagunita-to-ochre;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

&::after {
background-color: $thub-color-ochre-dark;
}

&:hover,
&:focus,
&:active {
background: $thub-color-black;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

&::after {
background-color: $thub-color-black;
}
}
}
}
}
}
}
}
5 changes: 5 additions & 0 deletions src/scss/components/teaser/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@charset "UTF-8";

// Teaser Roll Up

@import 'basic-page-teaser';

0 comments on commit f4b0e6e

Please sign in to comment.