Beautified the hover of related post.
This commit is contained in:
parent
6aac3f95fe
commit
fa43f92370
2 changed files with 4 additions and 3 deletions
|
@ -54,7 +54,7 @@
|
||||||
{{ post.date | date: POST_DATE }}
|
{{ post.date | date: POST_DATE }}
|
||||||
<i class="unloaded">{{ post.date | date_to_xmlschema }}</i>
|
<i class="unloaded">{{ post.date | date_to_xmlschema }}</i>
|
||||||
</span>
|
</span>
|
||||||
<h3 class="pt-0 mt-2 mb-3" data-toc-skip>{{ post.title }}</h3>
|
<h3 class="pt-0 mt-1 mb-3" data-toc-skip>{{ post.title }}</h3>
|
||||||
<div class="text-muted small">
|
<div class="text-muted small">
|
||||||
<p>{{ post.content | markdownify | strip_html | truncate: 200 | replace: '&', '&' }}</p>
|
<p>{{ post.content | markdownify | strip_html | truncate: 200 | replace: '&', '&' }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -101,8 +101,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#related-posts .card:hover {
|
#related-posts .card:hover {
|
||||||
-webkit-transform: translate3d(0, -8px, 0);
|
-webkit-transform: translate3d(0, -3px, 0);
|
||||||
transform: translate3d(0, -8px, 0);
|
transform: translate3d(0, -3px, 0);
|
||||||
|
filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.08));
|
||||||
}
|
}
|
||||||
|
|
||||||
#related-posts .card h3 {
|
#related-posts .card h3 {
|
||||||
|
|
Loading…
Reference in a new issue