File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ $inactive-toggle-text-color: var(--io-inactive-toggle-text-color);
38
38
$button-background-color : var (--io-button-background-color );
39
39
$button-hover-background-color : var (--io-button-hover-background-color );
40
40
41
+ $on-monitor : 1366px !default ;
42
+ $on-big-monitor : 1600px !default ;
43
+
41
44
html {
42
45
height : 100% ;
43
46
}
@@ -53,6 +56,14 @@ body {
53
56
flex-grow : 1 ;
54
57
justify-content : center ;
55
58
59
+ @media screen and (min-width : $on-monitor ) {
60
+ max-width : 900px ;
61
+ }
62
+
63
+ @media screen and (min-width : $on-big-monitor ) {
64
+ max-width : 1200px ;
65
+ }
66
+
56
67
.home {
57
68
display : flex ;
58
69
flex-grow : 1 ;
88
99
}
89
100
90
101
#toggle-full-width {
91
- @media not screen and ( min-width : $on-laptop ) {
102
+ @include media-query ( $on-laptop ) {
92
103
display : none ;
93
104
}
94
105
}
@@ -99,7 +110,7 @@ body {
99
110
flex-direction : row ;
100
111
}
101
112
102
- @media not screen and ( min-width : $on-laptop ) {
113
+ @include media-query ( $on-laptop ) {
103
114
flex-direction : column ;
104
115
}
105
116
@@ -126,7 +137,7 @@ body {
126
137
border-style : solid ;
127
138
border-width : 1px ;
128
139
129
- @media not screen and ( min-width : $on-laptop ) {
140
+ @include media-query ( $on-laptop ) {
130
141
overflow : auto ;
131
142
}
132
143
You can’t perform that action at this time.
0 commit comments