Skip to content

Commit 363f6bd

Browse files
Improve home page alignment
1 parent 38647b6 commit 363f6bd

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

src/styles/custom.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ code[dir="auto"] {
8787
padding: 0.25rem;
8888
}
8989

90-
@media (min-width: 50rem) {
91-
.card-grid {
92-
grid-template-columns: 1fr 1fr;
93-
gap: 1.5rem;
94-
}
95-
}
96-
9790
.social-icons a {
9891
color: var(--sl-color-text);
9992
}
@@ -102,6 +95,15 @@ code[dir="auto"] {
10295
color: var(--sl-color-white);
10396
}
10497

98+
.hero {
99+
/* align hero with link cards */
100+
display: grid;
101+
grid-template-columns: 1fr 1fr 1fr;
102+
gap: 1.5rem;
103+
}
104+
.hero .stack {
105+
grid-column: span 2;
106+
}
105107
.hero img {
106108
pointer-events: none;
107109
user-select: none;

0 commit comments

Comments
 (0)