Skip to content

Commit

Permalink
Merge branch '2.x' into a11y/CHEMH-253--italics-fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwjdwjdw authored Oct 30, 2023
2 parents 4c767c5 + f8a2632 commit ef1abb5
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions src/scss/components/banner/_banner--halfpill-title.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,17 @@
// max-width: 557px;

.su-card__contents {
// h2 badge
@include chemh-heading--badge;


color: $su-color-white;
padding: 0;

@include grid-media-max('sm') {
padding: 3rem 0 0 0;
width: 400px;
}

h1 {
@include chemh-heading--badge;
@include type-a;

color: $su-color-white;
Expand Down
31 changes: 26 additions & 5 deletions src/scss/components/events/_event-card.scss
Original file line number Diff line number Diff line change
@@ -1,38 +1,47 @@
@charset "UTF-8";

.ds-entity--stanford-event {
container-type: inline-size;
}

.su-event-card {
@include chemh--shadow-custom-button-default;
border-bottom-left-radius: 6rem;
padding-top: 0;

// Whole card hover and focus
&:hover,
&:focus,
&:focus-within,
&:active {
@include chemh--shadow-news-card-hover;

.su-event-card__footer {
a {
background-color: $chemh-color-red;
}
}
}

&.su-card {

.su-event-list-item__date {
background: black;
width: fit-content;
padding: 0.8rem 3rem;
max-width: unset;

.su-event-list-item__date__seperator {
@include grid-media-max('sm') {
min-width: auto;
}

color: #fff;
font-weight: 900;
margin-right: 2rem;
margin-left: 2rem;
}

.su-event-start-month,
.su-event-start-date,
.su-event-end-month,
Expand All @@ -41,6 +50,18 @@
color: #fff;
}
}

@container (max-width: 270px) {
.su-event-list-item__date {
padding: 0.8rem 1rem;
font-size: 1.6rem;

.su-event-list-item__date__seperator {
margin-right: 1rem;
margin-left: 1rem;
}
}
}

.su-event-list-item__details {
.event-list-item__type {
Expand Down
1 change: 1 addition & 0 deletions src/scss/components/local-footer/_local-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
padding: unset;
position: unset;
width: unset;
text-decoration: underline;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@

&.su-list-unstyled>li {
@include centered-column;

margin-bottom: 4.5rem;

.su-news-vertical-teaser {
margin-bottom: 0;
}
}
}

Expand Down

0 comments on commit ef1abb5

Please sign in to comment.