Update class name and center align list title

This commit is contained in:
Avijit 🚀
2021-05-29 14:08:53 +02:00
parent 2dad0d21c7
commit 5c7078c10f
2 changed files with 5 additions and 5 deletions

View File

@@ -6,9 +6,9 @@
{{- partial "header.html" . -}}
<main id="content">
<div class="container all-posts">
<div class="container list-posts">
<h2 class="all-posts-title">All Posts</h2>
<h2 class="list-title">All Posts</h2>
<h2 class="posts-year">2021</h2>
<h4 class="posts-month">March</h4>

View File

@@ -128,15 +128,15 @@ html {
margin-top: 50px;
}
.all-posts .all-posts-title {
.list-posts .list-posts-title {
text-align: right;
}
.all-posts .posts-year {
.list-posts .posts-year {
margin-top: 40px;
}
.all-posts .post-title {
.list-posts .post-title {
margin: 10px 0;
}