From 96d9c62834c174839355356c11d58509e2740663 Mon Sep 17 00:00:00 2001 From: Jen Breese Date: Tue, 29 Jun 2021 10:34:00 -0700 Subject: [PATCH] D8CORE-4236: fixing the event date aligment on cards and lists of card or default list (#124) --- .../dist/css/component/node/stanford_page.css | 2 +- .../lib/scss/component/node/stanford_page.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/stanford_profile_styles/dist/css/component/node/stanford_page.css b/modules/stanford_profile_styles/dist/css/component/node/stanford_page.css index a0cfc4e1..b612b379 100644 --- a/modules/stanford_profile_styles/dist/css/component/node/stanford_page.css +++ b/modules/stanford_profile_styles/dist/css/component/node/stanford_page.css @@ -1 +1 @@ -.su-page-components div[data-react-columns="12"].ptype-stanford-card,.su-page-components div[data-react-columns="12"].ptype-stanford-cta-list,.su-page-components div[data-react-columns="12"].ptype-stanford-entity,.su-page-components div[data-react-columns="12"].ptype-stanford-gallery,.su-page-components div[data-react-columns="12"].ptype-stanford-image-cta,.su-page-components div[data-react-columns="12"].ptype-stanford-lists,.su-page-components div[data-react-columns="12"].ptype-stanford-media-caption,.su-page-components div[data-react-columns="12"].ptype-stanford-stories,.su-page-components div[data-react-columns="12"].ptype-stanford-wysiwyg{max-width:980px}@media only screen and (min-width:992px) and (max-width:1199px){.su-page-components div[data-react-columns="12"].ptype-stanford-card,.su-page-components div[data-react-columns="12"].ptype-stanford-cta-list,.su-page-components div[data-react-columns="12"].ptype-stanford-entity,.su-page-components div[data-react-columns="12"].ptype-stanford-gallery,.su-page-components div[data-react-columns="12"].ptype-stanford-image-cta,.su-page-components div[data-react-columns="12"].ptype-stanford-lists,.su-page-components div[data-react-columns="12"].ptype-stanford-media-caption,.su-page-components div[data-react-columns="12"].ptype-stanford-stories,.su-page-components div[data-react-columns="12"].ptype-stanford-wysiwyg{margin-left:auto;margin-right:auto;max-width:880px}}.su-page-components div[data-react-columns="12"].ptype-stanford-card img{width:100%}@media (max-width:991px){.jumpstart-ui--three-column .left-region .menu--main,.jumpstart-ui--two-column .left-region .menu--main{display:none}}@media only screen and (min-width:1200px){.jumpstart-ui--three-column>.left-region+.main-region,.jumpstart-ui--two-column>.left-region+.main-region{padding-left:80px}}@media only screen and (min-width:0){.node-stanford-page-su-page-banner{margin-bottom:5.12rem}}@media only screen and (min-width:768px){.node-stanford-page-su-page-banner{margin-bottom:5.76rem}}@media only screen and (min-width:1500px){.node-stanford-page-su-page-banner{margin-bottom:6.08rem}}.ptype-stanford-gallery h2{margin:0;text-align:center}.ptype-stanford-entity .su-person-photo{margin:0 auto;padding:30px;max-width:300px}.ptype-stanford-entity .su-person-photo img,.ptype-stanford-entity .su-person-photo picture{border-radius:50%}.ptype-stanford-entity .su-entity-headline h2{margin:0;text-align:center}@media only screen and (min-width:0){.ptype-stanford-entity .su-entity-item>div{margin-bottom:5.12rem}}@media only screen and (min-width:768px){.ptype-stanford-entity .su-entity-item>div{margin-bottom:5.76rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .su-entity-item>div{margin-bottom:6.08rem}}.ptype-stanford-entity .su-entity-item a{color:#b1040e}.ptype-stanford-entity .su-entity-item a:active,.ptype-stanford-entity .su-entity-item a:focus,.ptype-stanford-entity .su-entity-item a:hover{color:#2e2d29;text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-person{text-align:center}@media only screen and (min-width:576px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-card{display:-webkit-box;display:-ms-flexbox;display:flex}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-person-photo{width:25%;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:3rem}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-card__contents{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:auto}}@media only screen and (min-width:992px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div{margin:0;width:calc(33% - 40px)}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child{width:100%}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:nth-last-child(2),.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(2):last-child{width:calc(50% - 40px)}}@media only screen and (min-width:992px) and (min-width:0){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:5.12rem}}@media only screen and (min-width:992px) and (min-width:768px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:5.76rem}}@media only screen and (min-width:992px) and (min-width:1500px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:6.08rem}}.ptype-stanford-entity .su-entity-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin:0 0 3rem;color:#2e2d29;display:inline-block;font-weight:700}@media only screen and (min-width:768px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin-bottom:3.6rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin-bottom:3.8rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{background-color:#b1040e}@media only screen and (min-width:0){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.07rem}}@media only screen and (min-width:768px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.2rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.27rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a{text-decoration:none;color:#2e2d29}@supports ((-webkit-mask-repeat:no-repeat) or (mask-repeat:no-repeat)){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{margin-right:.3em;margin-left:.4em;height:1.2rem;width:1.2rem;display:inline-block;content:"";-webkit-mask:url(../../../assets/svg/caret-right.svg) no-repeat 0 0;mask:url(../../../assets/svg/caret-right.svg) no-repeat 0 0;-webkit-mask-size:contain;mask-size:contain;background-color:#006cb8;-webkit-transition:-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out;transition:-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out;transition:transform .2s ease-in-out,mask-image .2s ease-in-out;transition:transform .2s ease-in-out,mask-image .2s ease-in-out,-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#2e2d29;-webkit-transform:translateX(.2em);transform:translateX(.2em)}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{background-color:#b1040e}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover{text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#b1040e}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics ul{list-style:none;margin:0;padding:0}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics ul li{display:inline-block}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{font-size:1.8rem;line-height:1.3;color:#b1040e;font-weight:400;text-decoration:none}@media (max-width:767px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{font-size:1.6rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover{color:#b1040e;text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics li:not(:last-of-type):after{content:",";padding-right:5px}.ptype-stanford-lists .su-list-headline h2{margin:0;text-align:center}.ptype-stanford-lists .su-list-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:3.4rem;width:100%;max-width:100%;-webkit-box-flex:0;-ms-flex:none;flex:none}@media only screen and (min-width:768px){.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:5.8rem}}@media only screen and (min-width:1500px){.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:6.1rem}}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list__item-date+.su-news-list__item .media{margin-top:0}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-vertical-teaser.su-card{margin-bottom:inherit}.ptype-stanford-lists:not([data-react-columns="12"]) .su-event-list-item{display:block}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list img,.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list picture{display:none}@media (min-width:1200px){.ptype-stanford-lists:not(.flex-12-of-12) .stanford-news--list div:first-child .su-news-list{padding-top:0}}.ptype-stanford-lists[data-react-columns="4"] .su-news-list__header,.ptype-stanford-lists[data-react-columns="6"] .su-news-list__header{-ms-grid-columns:1fr;grid-template-columns:1fr}.ptype-stanford-lists[data-react-columns="4"] .stanford-people-grid .flex-container,.ptype-stanford-lists[data-react-columns="6"] .stanford-people-grid .flex-container{display:unset}@media (min-width:992px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3rem;padding-left:1.5rem}}@media only screen and (min-width:992px) and (min-width:768px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3.6rem;padding-left:1.8rem}}@media only screen and (min-width:992px) and (min-width:1500px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3.8rem;padding-left:1.9rem}}.ds-entity--stanford-event-series .su-card{font-size:1em}.ds-entity--stanford-event-series .su-card .su-event-series-dek{display:none}.ds-entity--stanford-event-series .su-card a{color:#2e2d29;text-decoration:none}.ds-entity--stanford-event-series .su-card a:focus,.ds-entity--stanford-event-series .su-card a:hover{color:#b1040e;text-decoration:underline} \ No newline at end of file +.su-page-components div[data-react-columns="12"].ptype-stanford-card,.su-page-components div[data-react-columns="12"].ptype-stanford-cta-list,.su-page-components div[data-react-columns="12"].ptype-stanford-entity,.su-page-components div[data-react-columns="12"].ptype-stanford-gallery,.su-page-components div[data-react-columns="12"].ptype-stanford-image-cta,.su-page-components div[data-react-columns="12"].ptype-stanford-lists,.su-page-components div[data-react-columns="12"].ptype-stanford-media-caption,.su-page-components div[data-react-columns="12"].ptype-stanford-stories,.su-page-components div[data-react-columns="12"].ptype-stanford-wysiwyg{max-width:980px}@media only screen and (min-width:992px) and (max-width:1199px){.su-page-components div[data-react-columns="12"].ptype-stanford-card,.su-page-components div[data-react-columns="12"].ptype-stanford-cta-list,.su-page-components div[data-react-columns="12"].ptype-stanford-entity,.su-page-components div[data-react-columns="12"].ptype-stanford-gallery,.su-page-components div[data-react-columns="12"].ptype-stanford-image-cta,.su-page-components div[data-react-columns="12"].ptype-stanford-lists,.su-page-components div[data-react-columns="12"].ptype-stanford-media-caption,.su-page-components div[data-react-columns="12"].ptype-stanford-stories,.su-page-components div[data-react-columns="12"].ptype-stanford-wysiwyg{margin-left:auto;margin-right:auto;max-width:880px}}.su-page-components div[data-react-columns="12"].ptype-stanford-card img{width:100%}@media (max-width:991px){.jumpstart-ui--three-column .left-region .menu--main,.jumpstart-ui--two-column .left-region .menu--main{display:none}}@media only screen and (min-width:1200px){.jumpstart-ui--three-column>.left-region+.main-region,.jumpstart-ui--two-column>.left-region+.main-region{padding-left:80px}}@media only screen and (min-width:0){.node-stanford-page-su-page-banner{margin-bottom:5.12rem}}@media only screen and (min-width:768px){.node-stanford-page-su-page-banner{margin-bottom:5.76rem}}@media only screen and (min-width:1500px){.node-stanford-page-su-page-banner{margin-bottom:6.08rem}}.ptype-stanford-gallery h2{margin:0;text-align:center}.ptype-stanford-entity .su-person-photo{margin:0 auto;padding:30px;max-width:300px}.ptype-stanford-entity .su-person-photo img,.ptype-stanford-entity .su-person-photo picture{border-radius:50%}.ptype-stanford-entity .su-entity-headline h2{margin:0;text-align:center}@media only screen and (min-width:0){.ptype-stanford-entity .su-entity-item>div{margin-bottom:5.12rem}}@media only screen and (min-width:768px){.ptype-stanford-entity .su-entity-item>div{margin-bottom:5.76rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .su-entity-item>div{margin-bottom:6.08rem}}.ptype-stanford-entity .su-entity-item a{color:#b1040e}.ptype-stanford-entity .su-entity-item a:active,.ptype-stanford-entity .su-entity-item a:focus,.ptype-stanford-entity .su-entity-item a:hover{color:#2e2d29;text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-person{text-align:center}@media only screen and (min-width:576px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-card{display:-webkit-box;display:-ms-flexbox;display:flex}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-person-photo{width:25%;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:3rem}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child .ds-entity--stanford-person .su-card__contents{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:auto}}@media only screen and (min-width:992px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div{margin:0;width:calc(33% - 40px)}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:last-child{width:100%}.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:first-child:nth-last-child(2),.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(2):last-child{width:calc(50% - 40px)}}@media only screen and (min-width:992px) and (min-width:0){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:5.12rem}}@media only screen and (min-width:992px) and (min-width:768px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:5.76rem}}@media only screen and (min-width:992px) and (min-width:1500px){.ptype-stanford-entity[data-react-columns="12"] .su-entity-item>div:nth-child(n+4){margin-top:6.08rem}}.ptype-stanford-entity .su-entity-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin:0 0 3rem;color:#2e2d29;display:inline-block;font-weight:700}@media only screen and (min-width:768px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin-bottom:3.6rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2{margin-bottom:3.8rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{background-color:#b1040e}@media only screen and (min-width:0){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.07rem}}@media only screen and (min-width:768px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.2rem}}@media only screen and (min-width:1500px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2:after{margin-left:1.27rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a{text-decoration:none;color:#2e2d29}@supports ((-webkit-mask-repeat:no-repeat) or (mask-repeat:no-repeat)){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{margin-right:.3em;margin-left:.4em;height:1.2rem;width:1.2rem;display:inline-block;content:"";-webkit-mask:url(../../../assets/svg/caret-right.svg) no-repeat 0 0;mask:url(../../../assets/svg/caret-right.svg) no-repeat 0 0;-webkit-mask-size:contain;mask-size:contain;background-color:#006cb8;-webkit-transition:-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out;transition:-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out;transition:transform .2s ease-in-out,mask-image .2s ease-in-out;transition:transform .2s ease-in-out,mask-image .2s ease-in-out,-webkit-transform .2s ease-in-out,-webkit-mask-image .2s ease-in-out}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#2e2d29;-webkit-transform:translateX(.2em);transform:translateX(.2em)}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:after{background-color:#b1040e}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover{text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:focus:after,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents>h2 a:hover:after{background-color:#b1040e}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics ul{list-style:none;margin:0;padding:0}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics ul li{display:inline-block}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{font-size:1.8rem;line-height:1.3;color:#b1040e;font-weight:400;text-decoration:none}@media (max-width:767px){.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a{font-size:1.6rem}}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:active,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:focus,.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics a:hover{color:#b1040e;text-decoration:underline}.ptype-stanford-entity .ds-entity--stanford-publication .su-card__contents .su-publication-topics li:not(:last-of-type):after{content:",";padding-right:5px}.ptype-stanford-lists .su-list-headline h2{margin:0;text-align:center}.ptype-stanford-lists .su-list-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:3.4rem;width:100%;max-width:100%;-webkit-box-flex:0;-ms-flex:none;flex:none}@media only screen and (min-width:768px){.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:5.8rem}}@media only screen and (min-width:1500px){.ptype-stanford-lists:not([data-react-columns="12"]) .views-row,.ptype-stanford-lists:not([data-react-columns="12"]) .views-view-grid .views-row>div{margin-bottom:6.1rem}}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list__item-date+.su-news-list__item .media{margin-top:0}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-vertical-teaser.su-card{margin-bottom:inherit}.ptype-stanford-lists:not([data-react-columns="12"]) .su-event-list-item{display:block}.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list img,.ptype-stanford-lists:not([data-react-columns="12"]) .su-news-list picture{display:none}@media (min-width:1200px){.ptype-stanford-lists:not(.flex-12-of-12) .stanford-news--list div:first-child .su-news-list{padding-top:0}}.ptype-stanford-lists[data-react-columns="4"] .su-news-list__header,.ptype-stanford-lists[data-react-columns="6"] .su-news-list__header{-ms-grid-columns:1fr;grid-template-columns:1fr}.ptype-stanford-lists[data-react-columns="4"] .stanford-people-grid .flex-container,.ptype-stanford-lists[data-react-columns="6"] .stanford-people-grid .flex-container{display:unset}.ptype-stanford-lists .su-event-list-item__date{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width:992px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3rem;padding-left:1.5rem}}@media only screen and (min-width:992px) and (min-width:768px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3.6rem;padding-left:1.8rem}}@media only screen and (min-width:992px) and (min-width:1500px){.container-1-items .ptype-stanford-lists .field--name-su-list-view,.container-2-items .ptype-stanford-lists .field--name-su-list-view,.container-3-items .ptype-stanford-lists .field--name-su-list-view{padding-right:3.8rem;padding-left:1.9rem}}.ds-entity--stanford-event-series .su-card{font-size:1em}.ds-entity--stanford-event-series .su-card .su-event-series-dek{display:none}.ds-entity--stanford-event-series .su-card a{color:#2e2d29;text-decoration:none}.ds-entity--stanford-event-series .su-card a:focus,.ds-entity--stanford-event-series .su-card a:hover{color:#b1040e;text-decoration:underline} \ No newline at end of file diff --git a/modules/stanford_profile_styles/lib/scss/component/node/stanford_page.scss b/modules/stanford_profile_styles/lib/scss/component/node/stanford_page.scss index 98166c7a..1eebc6ec 100755 --- a/modules/stanford_profile_styles/lib/scss/component/node/stanford_page.scss +++ b/modules/stanford_profile_styles/lib/scss/component/node/stanford_page.scss @@ -320,6 +320,11 @@ } } } + + .su-event-list-item__date { + align-items: center; + display: flex; + } } @include grid-media-min('lg') {