Skip to content

Commit

Permalink
project index wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivia206 committed Sep 19, 2024
1 parent cbf474a commit 9ef30af
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 3 deletions.
5 changes: 5 additions & 0 deletions assets/sass/_configuration.sass
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ $h1-size: pxToRem(35)
$h1-font-family: $body-font-family
$h1-size-desktop: pxToRem(85)
$h1-weight: $heading-font-weight
$h2-font-family: $h1-font-family
$h2-size: pxToRem(35)
$h2-size-desktop: pxToRem(49)

$meta-font-family: $heading-font-family

// header
$header-background: $yellow
Expand Down
57 changes: 55 additions & 2 deletions assets/sass/_style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ main
.posts__page &
background-color: $green

body:not(.page__home)
.media,
figure
mix-blend-mode: multiply

// Yellow hero
.page__home,
.posts__page
Expand Down Expand Up @@ -164,7 +169,6 @@ footer#document-footer
justify-content: space-between
figure
max-width: pxToRem(192)
mix-blend-mode: multiply
@include media-breakpoint-down(desktop)
.block-gallery--grid
padding: 0
Expand All @@ -183,4 +187,53 @@ footer#document-footer
.hero-text
margin-top: var(--header-height)
padding-top: $spacing-4


// Projects
.projects__section
main
margin-top: var(--header-height)
.container
max-width: unset
width: auto
@include media-breakpoint-up(xl)
display: flex
gap: var(--grid-gutter)
.hero
flex: 1
> .container
padding-right: 0
.hero-text
margin-top: 0
width: columns(4)
@include media-breakpoint-down(xxl)
h1
font-size: pxToRem(75)
.document-content
flex: 1
padding-top: $spacing-6
> .container
padding-left: 0
.project
flex-direction: row
&-content
width: columns(5)
.media
width: columns(3)
.projects
.project
&-description
@include meta
.media img
aspect-ratio: 320/399
@include media-breakpoint-down(desktop)
.project-content .project-title
@include h2
@include media-breakpoint-up(desktop)
&.projects--list
.project
margin-bottom: $spacing-4
padding-bottom: $spacing-4
.project-description
display: flex
flex-direction: column
justify-content: space-between
8 changes: 7 additions & 1 deletion config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ params:
image_sizes:
design_system:
lightbox:
disabled: true
disabled: true
projects:
index:
layout: list
posts:
index:
layout: grid

0 comments on commit 9ef30af

Please sign in to comment.