Added the ability to specify images.
The blog title can now be set to be an image. If not it will default to the text. If no text it will just be "Blog". A Post has now been given a default post image that will be used for all posts for their openGraph sharing. This can later be expanded to allow a blog post to have a desired image.
This commit is contained in:
@ -35,6 +35,9 @@
|
||||
|
||||
.blog_list
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
order: 5;
|
||||
|
||||
.blog_title
|
||||
@ -43,6 +46,13 @@
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.blog_title_image
|
||||
{
|
||||
width: 23rem;
|
||||
align-self: center;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.blog_item
|
||||
{
|
||||
margin-bottom: 30px;
|
||||
@ -51,6 +61,16 @@
|
||||
{
|
||||
margin: 0px;
|
||||
color: var(--accent-color);
|
||||
|
||||
a:link, a:visited
|
||||
{
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
p
|
||||
@ -140,7 +160,7 @@
|
||||
order: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 70px;
|
||||
margin-top: 185px;
|
||||
margin-right: 70px;
|
||||
position:sticky;
|
||||
top: 150px;
|
||||
|
||||
Reference in New Issue
Block a user