diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index 12c878771e30aac844f6b02969c6087469e29b47..b69d6a60a9650c79adf5065e84f48b6178f343f9 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -311,8 +311,8 @@ $persons-avatar-background-color: $color-background-alt !default // Program $program-essential-font-size: $meta-size !default $program-essential-font-size-md: $meta-size-md !default -$program-share-font-size: $h5-size !default -$program-share-font-size-md: $h5-size-md !default +$program-share-font-size: $meta-size !default +$program-share-font-size-md: $meta-size-md !default $program-zindex-toc: $zindex-toc !default // Layout posts list (ne concerne pas les blocks posts) diff --git a/assets/sass/_theme/design-system/hero.sass b/assets/sass/_theme/design-system/hero.sass index 4df15867c9585737badec5c36e55f568ec6a1620..5f65118e3cd7b65d768edb2ce7799c023de88769 100644 --- a/assets/sass/_theme/design-system/hero.sass +++ b/assets/sass/_theme/design-system/hero.sass @@ -69,31 +69,3 @@ margin-top: calc(-#{$spacing3} - #{$spacing2}) width: col(3) - // In what case ? - // p - // margin-bottom: 0 - // a - // color: $hero-color - // text-decoration-color: rgba($hero-color, 0.3) - // &:hover - // text-decoration-color: $hero-color - - - // > div:first-of-type - // > div - // margin-top: $spacing1 - // @include media-breakpoint-up(xl) - // margin-top: px2rem(70) - - // > div + div - // margin-top: auto - // .container - // padding-bottom: $spacing1 - // padding-top: $spacing1 - // & + .document-nav - // margin-top: 0 - // > div - // position: relative - // z-index: 1 - // picture - // position: relative diff --git a/assets/sass/_theme/sections/programs.sass b/assets/sass/_theme/sections/programs.sass index 9591fd95de1074e093d567938b264b5d38ecfa63..fdb840b8ef6058d535430fd987d4980ef0f0dc3a 100644 --- a/assets/sass/_theme/sections/programs.sass +++ b/assets/sass/_theme/sections/programs.sass @@ -36,10 +36,11 @@ ol.programs font-size: $program-share-font-size-md .dropdown-menu background: $hero-color + border-radius: px2rem(4) padding: 0 position: absolute width: 100% - bottom: 100% + bottom: 0% .share display: flex li @@ -48,8 +49,9 @@ ol.programs text-align: center a display: block - color: invert($hero-color) + color: $hero-background-color .buttons + @include meta margin-top: $spacing1 @include media-breakpoint-up(md) bottom: 2.25rem @@ -61,6 +63,7 @@ ol.programs align-items: center justify-content: space-between width: 100% + border-radius: px2rem(4) a[download] @include button-icon(download) color: $hero-background-color