File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 26
26
padding-left: 40px;
27
27
padding-right: 40px; */
28
28
padding : 20px 40px ;
29
- margin-bottom : 60px ;
29
+ /* margin-bottom: 60px; */
30
30
/* height: 80px; */
31
31
}
32
32
36
36
}
37
37
38
38
article {
39
- margin-bottom : 60px ;
39
+ /* margin-bottom: 60px; */
40
40
}
41
41
42
42
.post-header {
@@ -333,21 +333,23 @@ nav p {
333
333
/* CSS GRID APPROACH */
334
334
.container {
335
335
display : grid;
336
- /* grid-template-rows: 1fr 1fr 1fr; */
337
- grid-template-columns : 825fr 300fr ;
338
- row-gap : 25px ;
336
+ /* NO GRID TEMPLATE ROWS
337
+ we just allow css grid to auto adjust row heights according to their content */
338
+ grid-template-columns : 1fr 300px ;
339
+ row-gap : 60px ;
339
340
column-gap : 75px ;
341
+ align-items : start;
340
342
}
341
343
342
344
.main-header {
343
345
grid-column : 1 / -1 ;
344
- grid-row : 1 / 2 ;
346
+ margin-bottom : 0 ;
345
347
}
346
348
347
349
.copyright {
348
350
grid-column : 1 / -1 ;
349
351
}
350
352
351
353
.related-posts {
352
- align-self : start;
354
+ /* align-self: start; */
353
355
}
You can’t perform that action at this time.
0 commit comments