Skip to content

Commit

Permalink
fixed display of events on home
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Stone committed Sep 26, 2023
1 parent 9a6020e commit 883ecc8
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions _sass/template/components/_component--upcoming-events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,81 @@
}
}

.subevents {
@include grid-child($cols:12);
width: 100vw;
max-width: 1296px; //1240 standard max + padding
box-sizing: border-box;
margin-left: -28px;
padding-left: 28px;
padding-right: 28px;
background-color: color(neutral, XXB);
grid-row: 4;
margin-bottom: -.75rem !important;
li { border-bottom: none; }
}

.subevent-link {
@include grid-child($cols:12);
text-decoration: none;
}

.subevent-link:hover,
.subevent-link:hover small {
text-decoration: underline;
color: color(green, XX);
}

.subevent-title {
grid-column: 1 / -1;
grid-row: 4;
@include typestyle($sans-sm-reg);
@include respond-to(s){
grid-column: 4 / -1;
grid-row: 2;
// min-height: bl(10);
}
}

.subevent-date {
grid-column: 1 / -1;
grid-row: 1;
margin-bottom: 0;
@include respond-to(s){
grid-column: 1 / 4;
}
}

.subevent-time {
grid-column: 1 / -1;
grid-row: 2;
@include typestyle($sans-xs-reg);
@include respond-to(s){
@include typestyle($sans-sm-reg);
grid-column: 1 / 4;
}
}

.subevent-type {
grid-column: 1 / -1;
grid-row: 3;
margin-bottom: 0;
@include respond-to(s){
grid-column: 4 / -1;
grid-row: 1;
}
}

.subevent-series {
grid-column: 1 / -1;
grid-row: 5;
@include stack(xxs);
@include respond-to(s){
grid-column: 4 / -1;
grid-row: 3;
}
}

.upcoming-events--more {
grid-column: 1 / -1;
}
Expand Down

0 comments on commit 883ecc8

Please sign in to comment.