File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 --space : clamp (6px , 6px + 2vw , 15px );
88 --line : 1px solid rgb (201 , 198 , 198 );
99}
10- /* ====== Base Elements ======
11- General rules for basic HTML elements in any context */
10+
11+
1212body {
1313 background : var (--paper );
1414 color : var (--ink );
2323h2 , p {
2424 margin : var (--space );
2525}
26+ main {
27+ max-width : 900px ;
28+ margin : 0 auto calc (var (--space ) * 4 ) auto;
29+ }
30+
2631a {
27- padding : var (--space );
28- margin : var (--space );
32+ display : block;
33+ padding : 10px ;
34+ margin : 0 auto;
2935 border : var (--line );
3036 max-width : fit-content;
3137 border-radius : 5px ;
3541 width : 100% ;
3642 object-fit : cover;
3743}
38- /* ====== Site Layout ======
39- Setting the overall rules for page regions
40- https://www.w3.org/WAI/tutorials/page-structure/regions/
41- */
42- main {
43- max-width : 900px ;
44- margin : 0 auto calc (var (--space ) * 4 ) auto;
45- }
44+
45+
4646footer {
4747 padding : var (--space );
4848 margin : var (--space );
@@ -55,8 +55,14 @@ article {
5555 border-radius : 5px ;
5656 padding-bottom : var (--space );
5757 text-align : left;
58+ gap : 20px ;
5859}
5960.firstrow {
6061 display : grid;
61- grid-column : 1fr ;
62+ grid-template-columns : 1fr ;
63+ }
64+ .secondrow {
65+ display : grid;
66+ grid-template-columns : 1fr 1fr ;
67+ gap : 20px ;
6268}
You can’t perform that action at this time.
0 commit comments