mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(post-entry): enhance hover effects and transition timing for entries
This commit is contained in:
@@ -50,12 +50,14 @@
|
|||||||
padding: var(--gap);
|
padding: var(--gap);
|
||||||
background: var(--entry);
|
background: var(--entry);
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
transition: transform 0.1s;
|
transition: transform 0.25s ease;
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-entry:active {
|
.post-entry:hover,
|
||||||
transform: scale(0.96);
|
.post-entry:focus-within {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
border-color: var(--tertiary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-entry .entry-cover {
|
.tag-entry .entry-cover {
|
||||||
|
|||||||
Reference in New Issue
Block a user