File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 text-align : center;
33}
44: root {
5+ --paper : oklch (7 0 0 );
6+ --ink : color-mix (in oklab, var (--color ) 5% , black);
57 --font : 100% / 1.5 system-ui;
68 --space : clamp (6px , 6px + 2vw , 15px );
79 --line : 1px solid;
@@ -13,13 +15,20 @@ body {
1315 color : var (--ink );
1416 font : var (--font );
1517}
16-
18+ a {
19+ padding : var (--space );
20+ border : var (--line );
21+ max-width : fit-content;
22+ }
1723img ,
1824svg {
1925 width : 100% ;
2026 object-fit : cover;
2127}
22-
28+ main {
29+ max-width : var (--container );
30+ margin : 0 auto calc (var (--space ) * 4 ) auto;
31+ }
2332footer {
2433 bottom : 0 ;
2534 text-align : center;
@@ -40,14 +49,15 @@ article {
4049 text-align : left;
4150 display : grid;
4251 grid-template-columns : var (--space ) 1fr var (--space );
43-
52+ > * {
53+ grid-column : 2 / 3 ;
54+ }
4455 > img {
4556 grid-column : span 3 ;
46- height : 300 px ;
57+ height : auto ;
4758 width : 100% ;
4859 object-fit : cover;
4960 }
5061}
5162
5263
53-
You can’t perform that action at this time.
0 commit comments