Skip to content

Commit b73662b

Browse files
authored
add wide screen configuration (alshedivat#157)
add wide screen configuration by adding a `max_width` config in `_config.yml`
1 parent 7886538 commit b73662b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

_config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ last_updated: false # set to true if you want to display last updated in the foo
2424

2525
navbar_fixed: true
2626
footer_fixed: true
27+
28+
# Dimensions
29+
max_width: 800px
30+
2731
# TODO: add layout settings (single page vs. multi-page)
2832

2933
# -----------------------------------------------------------------------------

_sass/_variables.scss

-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
* To adjust anything, simply edit the variables below and rebuild the theme.
44
******************************************************************************/
55

6-
// Dimensions
76

8-
$max-content-width: 800px;
97

108
// Colors
119
$red-color: #FF3636 !default;

assets/css/main.scss

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
---
44
@charset "utf-8";
55

6+
// Dimensions
7+
$max-content-width: {{site.max_width}};
8+
69
@import
710
"variables",
811
"themes",

0 commit comments

Comments
 (0)