Show note field on manga page with matching site style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Timo Montalto 2026-04-17 10:36:51 +02:00
parent cf69d98694
commit c1783bfa5b
2 changed files with 12 additions and 0 deletions

View File

@ -167,6 +167,15 @@ li.post {
stroke: var(--maincolor); stroke: var(--maincolor);
} }
.manga-card-note {
border-left: 3px solid var(--maincolor);
color: #777;
font-size: 0.88rem;
font-style: italic;
margin: 0.5rem 0 0;
padding: 0.15rem 0.55rem;
}
@media screen and (min-width: 820px) { @media screen and (min-width: 820px) {
.manga-hero { .manga-hero {
grid-template-columns: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr) auto;

View File

@ -107,6 +107,9 @@
</span> </span>
{{ end }} {{ end }}
</div> </div>
{{ with .note }}
<p class="manga-card-note">{{ . }}</p>
{{ end }}
</div> </div>
</article> </article>
{{ end }} {{ end }}