File tree Expand file tree Collapse file tree 1 file changed +18
-21
lines changed Expand file tree Collapse file tree 1 file changed +18
-21
lines changed Original file line number Diff line number Diff line change 1
1
: root {
2
2
--content-width : 960px ;
3
- font-size : 20 px ;
3
+ font-size : 16 px ;
4
4
}
5
5
6
6
: root [data-applied-mode = "system" ], : root [data-applied-mode = "default" ], : root {
@@ -63,34 +63,31 @@ html, body {
63
63
padding : 0.25em 1.25em ;
64
64
}
65
65
66
- /* sync media query with content-width (mobile) */
67
- @media only screen and (max-width : 960px ) {
68
- .grid-container {
69
- display : grid;
70
- grid-auto-flow : row;
71
- overflow : clip;
72
- background-color : var (--mantle-color );
73
- }
74
- }
66
+ .grid-container {
67
+ display : grid;
68
+ grid-auto-flow : row;
69
+ background-color : var (--mantle-color );
70
+ padding-left : 2vw ;
71
+ padding-right : 2vw ;
72
+ min-height : 100vh ;
75
73
76
- /* sync media query with content-width (desktop) */
77
- @media only screen and (min-width : 960px ) {
78
- .grid-container {
79
- display : grid;
80
- grid-auto-flow : row;
81
- max-width : var (--content-width );
74
+ /* sync media query with content-width (mobile) */
75
+ /* @media only screen and (max-width: 960px) {
76
+ margin-left: 2vw;
77
+ margin-right: 2vw;
78
+ } */
79
+
80
+ /* sync media query with content-width (desktop) */
81
+ @media only screen and (min-width : 960px ) {
82
82
margin-left : auto;
83
83
margin-right : auto;
84
- padding-left : 2vw ;
85
- padding-right : 2vw ;
86
- min-height : 100vh ;
87
- background-color : var (--mantle-color );
84
+ max-width : var (--content-width );
88
85
}
86
+
89
87
}
90
88
91
89
92
90
.gridCell {
93
91
padding-left : 2vw ;
94
92
padding-right : 2vw ;
95
- /* height: 50%; */
96
93
}
You can’t perform that action at this time.
0 commit comments