Adjust style of blog home page

This commit is contained in:
Helen Chong 2024-06-24 13:48:28 +08:00
parent 5a422f6061
commit 68d14bd61c
1 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@ eleventyComputed:
{% endif %} {% endif %}
</a> </a>
</h2> </h2>
<p>{{ post.date | formatDate }}</p> <p class="blog__post--time">{{ post.date | formatDate }}</p>
<p>{{ post.data.desc }}</p> <p>{{ post.data.desc }}</p>
</li> </li>
{% endfor %} {% endfor %}
@ -69,10 +69,11 @@ eleventyComputed:
.blog__post--title { .blog__post--title {
font-size: clamp(1.55rem, 1rem + 3vw, 1.8rem); font-size: clamp(1.55rem, 1rem + 3vw, 1.8rem);
line-height: 1.3; line-height: 1.3;
margin-bottom: 0 !important;
} }
.blog__post time { .blog__post--time {
color: var(--clr-sub-heading); color: var(--clr-sub-heading);
font-weight: 600; font-weight: 700;
} }
</style> </style>