diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index 32d828955c929eaf374aaa674a8ee672a759b12f..a049bc67155ad636701af6ebd39439e78781a79b 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -107,6 +107,8 @@ $body-overlay-color: rgba(0, 0, 0, 0.3) !default // Footer $footer-color: $main-color !default $footer-background-color: color-contrast($main-background-color, 3%) !default +$footer-logo-height: $header-logo-height !default +$footer-logo-height-md: $footer-logo-height !default // Hero $hero-height: 375px !default @@ -157,10 +159,10 @@ $definition-border-color-hovered: color-contrast($definition-border-color, 100%) // Block pages $block-pages-card-background: color-contrast($main-background-color, 10%) !default -$block-pages-card-page-background: white !default +$block-pages-card-page-background: invert($main-color) !default $block-pages-card-page-color: $main-color !default $block-pages-card-page-background-hover: color-contrast($main-background-color, 100%) !default -$block-pages-card-page-color-hover: white !default +$block-pages-card-page-color-hover: invert($main-color) !default // Block timeline $block-timeline-horizontal-background: black !default diff --git a/assets/sass/_theme/blocks/pages.sass b/assets/sass/_theme/blocks/pages.sass index d2769543a55a8d14501e79900b904a74b6046658..46b20c588e164c1b356d0c56d4b82cfa049918dc 100644 --- a/assets/sass/_theme/blocks/pages.sass +++ b/assets/sass/_theme/blocks/pages.sass @@ -59,7 +59,7 @@ a color: $block-pages-card-page-color .more - @include link + @include link($block-pages-card-page-color) @extend .small text-decoration-color: $block-pages-card-page-color text-decoration-line: underline diff --git a/assets/sass/_theme/blocks/partners.sass b/assets/sass/_theme/blocks/partners.sass index e0bb9add3c7c76e1c049fca7768ff11ea4a84224..823181d6716779872611351d8db0a7fe48040193 100644 --- a/assets/sass/_theme/blocks/partners.sass +++ b/assets/sass/_theme/blocks/partners.sass @@ -1,4 +1,4 @@ .block-partners .organizations @include in-page-with-aside - @include grid(4, xl) + @include grid(3, xl) diff --git a/assets/sass/_theme/design-system/footer.sass b/assets/sass/_theme/design-system/footer.sass index 1310cf10177fe961c4032114c4cb145aa78781dd..c59eee1dc9c9b9dbac8d3c2c7be28cfcaeed6a52 100644 --- a/assets/sass/_theme/design-system/footer.sass +++ b/assets/sass/_theme/design-system/footer.sass @@ -6,13 +6,13 @@ footer[role="contentinfo"] address font-size: px2rem(14) line-height: px2rem(26) - .logo img - height: 60px + height: $footer-logo-height max-width: 100% width: auto - + @include media-breakpoint-up(md) + height: $footer-logo-height-md .content @include grid(3, md) margin-bottom: $spacing1 diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass index 93662da34b1d6d29d08325ae40589ca2e95c0392..56e7058fdec34039865c2cf5409ad712436f1df6 100644 --- a/assets/sass/_theme/design-system/typography.sass +++ b/assets/sass/_theme/design-system/typography.sass @@ -74,9 +74,6 @@ blockquote, .blockquote font-size: px2rem(18) font-style: normal -ul, ol - padding: 0 - address font-style: normal diff --git a/assets/sass/_theme/sections/organizations.sass b/assets/sass/_theme/sections/organizations.sass index aecc02ea2c13ecb932ae0468f2960359f474f8f2..f0d6a7c2879ecc69dfb501e43aa6483fef8c46df 100644 --- a/assets/sass/_theme/sections/organizations.sass +++ b/assets/sass/_theme/sections/organizations.sass @@ -1,5 +1,12 @@ .organization @include article + .media + aspect-ratio: 1/1 + img + width: 100% + height: 100% + object-fit: contain + object-position: center .organizations @include grid(2)