Skip to content

Commit

Permalink
Merge branch '2.x' into CHEMH-256--update-banner-heading-badge
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwjdwjdw authored Oct 25, 2023
2 parents 3906ae9 + f783393 commit 19daa6b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

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

0 comments on commit 19daa6b

Please sign in to comment.