1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-05 10:27:32 +00:00

adjust postcard header

This commit is contained in:
Damillora 2019-11-26 02:41:31 +07:00
parent c22b9fff6b
commit 387cf4217c
2 changed files with 5 additions and 2 deletions

View File

@ -213,6 +213,9 @@ footer {
} }
/* 5. Post Card */ /* 5. Post Card */
.post-background {
height: 18rem;
}
.post-card .excerpt { .post-card .excerpt {
max-height: 5rem; max-height: 5rem;
} }

View File

@ -24,10 +24,10 @@ with a `no-image` class so we can style it accordingly.
} }
} }
</style> </style>
<div class="h-64 responsive-{{slug}}-img bg-cover bg-center bg-yuika-blue-500"> <div class="post-background responsive-{{slug}}-img bg-cover bg-center bg-yuika-blue-500">
{{else}} {{else}}
<div class="h-64 no-image"> <div class="post-background no-image">
{{/if}} {{/if}}