fix(theme/Posts): better styling

This commit is contained in:
taskylizard 2024-01-17 12:52:19 +00:00
parent 26d2f76569
commit f7341c65c7
No known key found for this signature in database
GPG Key ID: 1820131ED1A24120

View File

@ -18,10 +18,10 @@ const formatDate = (raw: string): string => {
<p>Everything from Monthly Updates to fmhy updates.</p> <p>Everything from Monthly Updates to fmhy updates.</p>
We also have a We also have a
<a href="/feed.rss" title="RSS feed" class="VPBadge tip"> <a href="/feed.rss" target="_blank" title="RSS feed">
<div class="i-carbon-rss" /> <div class="i-carbon-rss vertical-top" />
RSS feed </a RSS feed.
>. </a>
</section> </section>
<template v-for="year in Object.keys(posts).reverse()" :key="year"> <template v-for="year in Object.keys(posts).reverse()" :key="year">
<h2>{{ year }}</h2> <h2>{{ year }}</h2>
@ -58,7 +58,7 @@ const formatDate = (raw: string): string => {
padding-right: 10px; padding-right: 10px;
vertical-align: middle; vertical-align: middle;
color: var(--vp-badge-tip-text); color: var(--vp-badge-tip-text);
background-color: var(--vp-custom-block-info-bg); background-color: transparent;
border-color: var(--vp-custom-block-tip-outline); border-color: var(--vp-custom-block-tip-outline);
} }
</style> </style>