-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
THUB-21 | @jdwjdwjdw | Person node and teaser adjustments #8
Changes from all commits
07efe59
21758f2
a3a6afa
06843f0
041f5d0
d44216d
9a07212
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@charset "UTF-8"; | ||
|
||
.content { | ||
.layout--section-person-header .su-quote__media.flex-2-of-12 .field-media-image { | ||
border-radius: unset; | ||
} | ||
|
||
.su-person-content { | ||
.main-region { | ||
.block__title { | ||
@include thub-heading--badge; | ||
@include type-c; | ||
} | ||
|
||
.node-stanford-person-su-person-affiliations { | ||
a { | ||
@include thub-button--gradient; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
// .node-stanford-person-su-person-education h2.block__title, | ||
// .node-stanford-person-su-person-research h2, | ||
// .node-stanford-person-su-person-affiliations h2 { | ||
// @include thub-heading--badge; | ||
// @include type-c; | ||
// } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@charset "UTF-8"; | ||
|
||
.ptype-stanford-entity, | ||
.paragraph--type--stanford-entity { | ||
|
||
.ds-entity--stanford-person { | ||
max-width: 400px; | ||
|
||
.su-card { | ||
border: none; | ||
box-shadow: none; | ||
|
||
.su-person-photo { | ||
padding: 0 0 0 7rem; | ||
} | ||
|
||
.su-person-photo img, | ||
.su-person-photo picture { | ||
border-radius: 0; | ||
} | ||
|
||
section.su-card__contents { | ||
padding: 2rem 3rem 3.2rem 3.2rem; | ||
text-align: left; | ||
|
||
h2, | ||
h3 { | ||
a { | ||
@include thub-type-d; | ||
|
||
background: $thub-gradient-lagunita-to-ochre; | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
|
||
&:hover, | ||
&:focus, | ||
&:active { | ||
background: $thub-color-ochre-dark; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rebeccahongsf I see an underline on hover on my person teaser. Can you pull and refresh? |
||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@charset "UTF-8"; | ||
|
||
// Person Roll Up | ||
|
||
@import 'person-node'; | ||
@import 'person-teasers'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jenbreese should the Person Teaser span full width for single column/responsive? 🤔
For the screenshot, my screen width was 640px
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rebeccahongsf No, Kerri wanted the person teaser only to have the max width of 400. I forgot to put in the jira ticket to the PR. I'm sorry about that. https://stanfordits.atlassian.net/browse/THUB-21