diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-08-23 19:05:35 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-08-23 19:05:35 +0800 |
commit | a829aa621530036d518a5ccc0391c0c330dabf6a (patch) | |
tree | 3a652e84ab664ae2c993d6d97f70092185950c3b | |
parent | 9ecb45bd4e0e07750609347f220acd0455763b64 (diff) |
feat: support to configure the page content width (#52)
-rw-r--r-- | _sass/yat.scss | 2 | ||||
-rw-r--r-- | assets/css/main.scss | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/_sass/yat.scss b/_sass/yat.scss index 7329c56..5d1a631 100644 --- a/_sass/yat.scss +++ b/_sass/yat.scss @@ -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; diff --git a/assets/css/main.scss b/assets/css/main.scss index 8926243..8b7bcb4 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -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"; |