diff --git a/src/components/Card.astro b/src/components/Card.astro index 3118ef2..804e406 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -28,7 +28,7 @@ const { pic, desc, date } = post.frontmatter;
{date}

{desc}

diff --git a/src/styles/index.css b/src/styles/index.css index e88a6a3..538e445 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -257,9 +257,10 @@ blockquote { margin: 2rem 0; padding: 1.25em 1.5rem; border-left: 3px solid var(--theme-text-light); - background-color: var(--theme-bg-offset); + /* background-color: var(--theme-bg-offset); */ border-radius: 0 0.25rem 0.25rem 0; line-height: 1.7; + font-style: italic; } img { @@ -413,4 +414,8 @@ h2.heading { margin-bottom: 1rem; font-weight: 700; line-height: 1; +} + +.card-desc{ + color: var(--theme-text-light-gray); } \ No newline at end of file diff --git a/src/styles/theme.css b/src/styles/theme.css index 1d41fb1..8e49cf4 100644 --- a/src/styles/theme.css +++ b/src/styles/theme.css @@ -46,6 +46,7 @@ --theme-divider: hsla(var(--color-gray-95), 1); --theme-text: hsla(var(--color-gray-10), 1); --theme-text-light: #333; + --theme-text-light-gray: #666; /* @@@: not used anywhere */ --theme-text-lighter: hsla(var(--color-gray-80), 1); --theme-bg: hsla(var(--color-base-white), 100%, 1); @@ -66,7 +67,9 @@ color-scheme: dark; --theme-accent: #e8a15a; --theme-text: #e7e9ea; + --theme-text-light: var(--theme-text); + --theme-text-light-gray: #ccc; --theme-divider: #555; --theme-bg: #21262b; --placeholder-gradient-start: #2c3e50;