diff --git a/modules/stanford_profile_styles/dist/css/component/paragraph/card.css b/modules/stanford_profile_styles/dist/css/component/paragraph/card.css index b222ddbc..3a9a6e01 100644 --- a/modules/stanford_profile_styles/dist/css/component/paragraph/card.css +++ b/modules/stanford_profile_styles/dist/css/component/paragraph/card.css @@ -1 +1 @@ -.su-card .su-card__contents h2{font-size:1.5625em;letter-spacing:-.012em}.su-card .su-card__contents h3{font-size:1.4em}.su-card .su-card__contents h4{font-size:1em}.su-card .su-card__contents .su-font-splash{font-size:1.4em} \ No newline at end of file +.su-card .su-card__contents h2{font-size:1.5625em;letter-spacing:-.012em}.su-card .su-card__contents h3{font-size:1.4em}.su-card .su-card__contents h4{font-size:1em}.su-card .su-card__contents>div:not(.su-card__button).su-font-splash{font-size:1.4em}@media only screen and (min-width:0){.su-card .su-card__contents>div:not(.su-card__button).su-font-splash{margin-bottom:1.07rem}}@media only screen and (min-width:768px){.su-card .su-card__contents>div:not(.su-card__button).su-font-splash{margin-bottom:1.2rem}}@media only screen and (min-width:1500px){.su-card .su-card__contents>div:not(.su-card__button).su-font-splash{margin-bottom:1.27rem}} \ No newline at end of file diff --git a/modules/stanford_profile_styles/lib/scss/component/paragraph/card/_card.scss b/modules/stanford_profile_styles/lib/scss/component/paragraph/card/_card.scss index ae6667d2..b7da609a 100644 --- a/modules/stanford_profile_styles/lib/scss/component/paragraph/card/_card.scss +++ b/modules/stanford_profile_styles/lib/scss/component/paragraph/card/_card.scss @@ -14,8 +14,15 @@ @include type-e; } - .su-font-splash { - font-size: 1.4em; + // Overwrite conflicting decanter styles for splash font card headline + >div { + &:not(.su-card__button) { + &.su-font-splash { + @include modular-spacing('margin-bottom', -1); + + font-size: 1.4em; + } + } } } }