Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions assets/sass/_theme/configuration/sections.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ $persons-avatar-background-color: var(--color-background-alt) !default
// Organization
$organization-background-color: $color-background-alt !default // Use sass variable color-background To avoid dark logo on darkmode background-alt color

// Project
$project-infos-color-text: $color-text !default
$project-infos-color-text-alt: $color-text-alt !default

// Program
$program-essential-font-size: $meta-size !default
$program-essential-font-size-desktop: $meta-size-desktop !default
Expand Down
45 changes: 1 addition & 44 deletions assets/sass/_theme/sections/projects.sass
Original file line number Diff line number Diff line change
Expand Up @@ -151,52 +151,9 @@
width: columns(7)

.projects__page
.hero
.content
align-items: stretch
.hero-text
align-items: start
display: flex
flex-direction: column
gap: $spacing-3
.project-infos
--color-text: #{$project-infos-color-text}
--color-text-alt: #{$project-infos-color-text-alt}
@include meta
display: flex
gap: $spacing-3
> ul
display: flex
column-gap: $spacing-3
flex-wrap: wrap
li
white-space: nowrap
@include media-breakpoint-up(sm)
.hero
.project-infos
width: columns(8)
@include media-breakpoint-up(md)
.hero
.project-infos
width: columns(6)
.dropdown-share
button
width: columns(2)
@include media-breakpoint-up(desktop)
.hero
.content
align-items: stretch
.project-infos
width: columns(4)
figure
width: columns(6)
.hero-text
gap: $spacing-3
width: columns(6)
// Safe space for dropdown share button wich is in a absolute position
position: relative
padding-bottom: calc(#{$spacing-5} + #{$spacing-2})
.dropdown-share
position: absolute
bottom: 0
right: 0
width: columns(6)
1 change: 1 addition & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ params:
single:
meta:
options:
share: true
year: true
navigation:
reversed: false
Expand Down
1 change: 0 additions & 1 deletion layouts/_partials/projects/single/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
"sizes" site.Params.image_sizes.sections.projects.hero_single
"meta" ( partial "projects/single/meta.html" . )
"context" .
"share" $share
) }}
Loading