fixed background colour

This commit is contained in:
2026-04-14 21:17:21 +12:00
parent 3faf5f09a1
commit 010eef4560

View File

@@ -15,11 +15,6 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
<head> <head>
<BaseHead title={title} description={description} /> <BaseHead title={title} description={description} />
<style> <style>
main {
width: calc(100% - 2em);
max-width: 100%;
margin: 0;
}
.hero-image { .hero-image {
width: 100%; width: 100%;
} }
@@ -34,7 +29,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
max-width: calc(100% - 2em); max-width: calc(100% - 2em);
margin: auto; margin: auto;
padding: 1em; padding: 1em;
color: rgb(var(--gray-dark)); background: var(--main-background-colour);
} }
.title { .title {
margin-bottom: 1em; margin-bottom: 1em;
@@ -44,6 +39,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
} }
.title h1 { .title h1 {
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
color: var(--text-color);
} }
.date { .date {
margin-bottom: 0.5em; margin-bottom: 0.5em;