Skip to content

Commit

Permalink
wip posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivia206 committed Sep 19, 2024
1 parent 9ef30af commit c0cf0c9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
4 changes: 4 additions & 0 deletions assets/sass/_configuration.sass
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ $h1-weight: $heading-font-weight
$h2-font-family: $h1-font-family
$h2-size: pxToRem(35)
$h2-size-desktop: pxToRem(49)
$h3-font-family: $h1-font-family
$h3-size: pxToRem(25)
$h3-size-desktop: pxToRem(35)
$h3-weight: normal

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

Expand Down
36 changes: 33 additions & 3 deletions assets/sass/_style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ body:not(.page__home)
margin: 0

// Hero
body:not(.page__home, .projects__section)
body:not(.page__home, .projects__section, .projects__page)
.hero
.hero-text
width: 100%
Expand Down Expand Up @@ -195,6 +195,10 @@ footer#document-footer
.container
max-width: unset
width: auto
@include media-breakpoint-up(desktop)
.document-content
.project
flex-direction: row
@include media-breakpoint-up(xl)
display: flex
gap: var(--grid-gutter)
Expand All @@ -214,7 +218,6 @@ footer#document-footer
> .container
padding-left: 0
.project
flex-direction: row
&-content
width: columns(5)
.media
Expand All @@ -236,4 +239,31 @@ footer#document-footer
.project-description
display: flex
flex-direction: column
justify-content: space-between
justify-content: space-between

// Posts
.posts
.post
.media img
aspect-ratio: 448/312
time
color: var(--color-text)
.posts__page
.hero
@include media-breakpoint-up(desktop)
.content
flex-direction: column
max-width: columns(8)
padding-top: $spacing-1
&,
& > *
margin: auto
figure
margin-top: $spacing-4
width: columns(6)
img
aspect-ratio: 704/490
object-fit: cover
.breadcrumb
padding-right: 0
justify-content: center

0 comments on commit c0cf0c9

Please sign in to comment.