File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 48
48
main {
49
49
margin : var (--margin ) 0 ;
50
50
51
- display : masonry;
52
- grid-template-columns : repeat (auto-fill, minmax (15rem , 1fr ));
53
- gap : 2rem ;
54
-
55
51
max-width : 1300px ;
56
52
margin-inline : auto;
57
53
padding-inline : var (--margin );
54
+
55
+ display : grid;
56
+ grid-template-columns : repeat (auto-fill, minmax (15rem , 1fr ));
57
+ gap : 2rem ;
58
+ }
59
+
60
+ @supports (display : masonry) {
61
+ main {
62
+ display : masonry;
63
+ }
58
64
}
59
65
60
66
* {
63
69
64
70
h1 ,
65
71
h2 {
66
- font-weight : 200 ;
72
+ font-weight : 400 ;
67
73
}
68
74
69
75
p {
157
163
color : # 616161 ;
158
164
font-size : smaller;
159
165
line-height : 1.7 ;
160
- display : masonry ;
166
+ display : grid ;
161
167
grid-template-columns : repeat (auto-fill, minmax (15rem , 1fr ));
162
168
gap : 1rem ;
163
169
padding : var (--margin );
164
170
background : # 0001 ;
165
171
}
166
172
173
+ @supports (display : masonry) {
174
+ footer {
175
+ display : masonry;
176
+ }
177
+ }
178
+
167
179
footer ul ,
168
180
footer li {
169
181
list-style : none;
You can’t perform that action at this time.
0 commit comments