generated from SU-SWS/stanford_starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* THUB-26: initial commit * THUB-26: fixup to teasers * THUB-26: fixed image * fixup of comments and spacing
- Loading branch information
Showing
4 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ | |
@import 'main-nav/index'; | ||
@import 'masthead/index'; | ||
@import 'search/index'; | ||
@import 'teaser/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@charset "UTF-8"; | ||
|
||
// Teaser Roll Up | ||
|
||
@import 'basic-page-teaser'; |