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