File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ section.galleries,
8585
8686.site-brand__icon {
8787 display : inline-flex;
88- width : 1.2rem ;
88+ width : 1.2rem ; /* already using rem units - will scale */
8989 height : 1.2rem ;
9090}
9191
@@ -265,8 +265,8 @@ section.galleries {
265265.footer-action img ,
266266.footer-action svg {
267267 display : block;
268- width : 36 px ;
269- height : 36 px ;
268+ width : 2.25 rem ; /* 36px / 16px = 2.25rem */
269+ height : 2.25 rem ;
270270}
271271
272272.card {
@@ -275,9 +275,9 @@ section.galleries {
275275 var (--surface-1 );
276276 border : none;
277277 box-shadow : 0 18px 40px rgba (11 , 20 , 40 , 0.12 );
278- flex : 0 1 350 px ;
279- max-width : 400 px ;
280- min-width : 250 px ;
278+ flex : 0 1 21.875 rem ; /* 350px / 16px = 21.875rem */
279+ max-width : 25 rem ; /* 400px / 16px = 25rem */
280+ min-width : 15.625 rem ; /* 250px / 16px = 15.625rem */
281281 padding : 1.2rem 1.2rem ;
282282 box-sizing : border-box;
283283 color : var (--text-1 );
@@ -304,7 +304,7 @@ section.galleries {
304304}
305305
306306.card-logo {
307- max-width : 240 px ;
307+ max-width : 15 rem ; /* 240px / 16px = 15rem */
308308 width : 60% ;
309309 height : auto;
310310 margin-bottom : 1rem ;
You can’t perform that action at this time.
0 commit comments