Skip to content

Commit bcc9915

Browse files
committed
limit content width
1 parent fa32ebc commit bcc9915

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

assets/main.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ $main-color-light: #cfa090;
1515
// $background-color: #707070 !default;
1616
// $background-color: #1e1e2e !default;
1717
$background-color: #272b36 !default;
18-
$content-width: 85%;
18+
$content-proportion: 85%;
19+
$content-width: 120vh;
1920

2021
$fade-delay-0: 0ms !default;
2122
$fade-delay-1: 200ms !default;
@@ -57,7 +58,8 @@ $base-font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans
5758
margin-top: 10px;
5859
margin-bottom: 0px;
5960

60-
width: $content-width;
61+
width: $content-proportion;
62+
max-width: $content-width;
6163

6264
opacity: 0;
6365
animation: warpIn ease 1s $fade-delay-0;
@@ -105,7 +107,8 @@ $base-font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans
105107
margin-left: auto;
106108
margin-right: auto;
107109

108-
width: $content-width;
110+
width: $content-proportion;
111+
max-width: $content-width;
109112

110113
opacity: 0;
111114
animation: warpIn ease 1s $fade-delay-2;
@@ -125,7 +128,8 @@ $base-font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans
125128
margin-left: auto;
126129
margin-right: auto;
127130

128-
width: $content-width;
131+
width: $content-proportion;
132+
max-width: $content-width;
129133

130134
opacity: 0;
131135
animation: warpIn ease 1s $fade-delay-1;

0 commit comments

Comments
 (0)