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