Skip to content

Commit 43779f7

Browse files
committed
site: use consistent card borders
1 parent 1d99def commit 43779f7

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

docs/site/index.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,19 @@
344344
.backends-grid {
345345
display: grid;
346346
grid-template-columns: repeat(3, 1fr);
347-
gap: 1px;
348-
background: var(--border);
349-
border-radius: 16px;
350-
overflow: hidden;
347+
gap: 16px;
351348
}
352349
.backend-card {
353350
background: var(--bg-secondary);
354-
padding: 40px 32px;
355-
transition: background 0.2s;
351+
border: 1px solid var(--border);
352+
border-radius: 16px;
353+
padding: 32px;
354+
transition: all 0.2s;
355+
}
356+
.backend-card:hover {
357+
border-color: var(--border-hover);
358+
background: var(--bg-card-hover);
356359
}
357-
.backend-card:hover { background: var(--bg-card-hover); }
358360
.backend-icon {
359361
width: 48px; height: 48px;
360362
border-radius: 12px;
@@ -382,18 +384,20 @@
382384
.features-grid {
383385
display: grid;
384386
grid-template-columns: repeat(3, 1fr);
385-
gap: 1px;
386-
background: var(--border);
387-
border-radius: 16px;
388-
overflow: hidden;
387+
gap: 16px;
388+
/* remove background and border-radius/overflow */
389389
}
390390
.feature-card {
391391
background: var(--bg-secondary);
392+
border: 1px solid var(--border);
393+
border-radius: 16px;
392394
padding: 32px 28px;
393-
transition: background 0.2s;
394-
position: relative;
395+
transition: all 0.2s;
396+
}
397+
.feature-card:hover {
398+
border-color: var(--border-hover);
399+
background: var(--bg-card-hover);
395400
}
396-
.feature-card:hover { background: var(--bg-card-hover); }
397401
.feature-card .f-icon {
398402
font-size: 1.5rem;
399403
margin-bottom: 16px;

0 commit comments

Comments
 (0)