Skip to content

Commit 7a33352

Browse files
committed
fix: Fix a couple of styling issues
1 parent 2e55ca0 commit 7a33352

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

apps/spuxx-astro/src/components/blog/Card.astro

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,18 @@ const { post } = Astro.props;
1111

1212
<style>
1313
.article-card {
14-
background: var(--gradient-quote-background);
14+
background: var(--spx-color-surface);
1515
border-radius: 8px;
1616
padding: 1rem;
1717
text-decoration: none;
1818
}
1919

2020
.article-card:hover {
21-
--gradient-quote-background: linear-gradient(
22-
135deg,
23-
rgb(73, 128, 130, 0.6),
24-
rgb(103, 82, 219, 0.5),
25-
rgb(231, 94, 255, 0.4)
26-
);
2721
transform: translateY(-3px) scale(1.01);
2822
}
2923

3024
.article-card * {
31-
color: var(--color-text-highlight) !important;
3225
margin: 0;
3326
}
3427

35-
.article-card p {
36-
color: var(--color-text-subtle) !important;
37-
}
3828
</style>

apps/spuxx-astro/src/styles/global.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ a.spx-button {
3737
text-decoration: none;
3838
}
3939

40+
a:has(h2),
41+
a.article-card {
42+
color: inherit !important;
43+
}
44+
4045
.spx-app {
4146
pre.astro-code {
4247
padding: 0.5rem;

0 commit comments

Comments
 (0)