add wide screen configuration (#157)

add wide screen configuration by adding a `max_width` config in `_config.yml`
This commit is contained in:
Zirui Zhuang 2020-12-27 10:56:42 +08:00 committed by GitHub
parent 7886538992
commit b73662bf9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,10 @@ last_updated: false # set to true if you want to display last updated in the foo
navbar_fixed: true
footer_fixed: true
# Dimensions
max_width: 800px
# TODO: add layout settings (single page vs. multi-page)
# -----------------------------------------------------------------------------

View File

@ -3,9 +3,7 @@
* To adjust anything, simply edit the variables below and rebuild the theme.
******************************************************************************/
// Dimensions
$max-content-width: 800px;
// Colors
$red-color: #FF3636 !default;

View File

@ -3,6 +3,9 @@
---
@charset "utf-8";
// Dimensions
$max-content-width: {{site.max_width}};
@import
"variables",
"themes",