Skip to content

Commit 66824ab

Browse files
committed
Update custom.css
1 parent 3e29927 commit 66824ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

assets/css/custom.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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: 36px;
269-
height: 36px;
268+
width: 2.25rem; /* 36px / 16px = 2.25rem */
269+
height: 2.25rem;
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 350px;
279-
max-width: 400px;
280-
min-width: 250px;
278+
flex: 0 1 21.875rem; /* 350px / 16px = 21.875rem */
279+
max-width: 25rem; /* 400px / 16px = 25rem */
280+
min-width: 15.625rem; /* 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: 240px;
307+
max-width: 15rem; /* 240px / 16px = 15rem */
308308
width: 60%;
309309
height: auto;
310310
margin-bottom: 1rem;

0 commit comments

Comments
 (0)