Skip to content

Commit

Permalink
feat: support to configure the page content width (jeffreytse#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Aug 23, 2021
1 parent 121b668 commit 0a75abd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _sass/yat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $banner-text-color: lighten($white-color, 0%) !default;
$banner-background: rgba(0,0,0,0.8) !default;

// Width of the content area
$content-width: 920px !default;
// $content-width: 920px !default;

$on-palm: 600px !default;
$on-laptop: 800px !default;
Expand Down
2 changes: 2 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ $brand-color: map-get($brand-colors, "orangered");
$brand-color: {{ site.brand_color | default: '#ff5100' }};
}

$content-width: {{ site.content_width | default: '920px' }};

@import "yat";

0 comments on commit 0a75abd

Please sign in to comment.