Add back the nice fade-in

This commit is contained in:
shamoon committed 2026-07-06 20:13:41 -07:00
1 parent 3755070e1f
commit 872465ee8a
3 files changed
+60

No files matched your search

@@ -1,3 +1,23 @@
i-bs { i-bs {
cursor: move; cursor: move;
} }
.fade.show {
animation: pngx-entry-fade 160ms ease-out;
}
@keyframes pngx-entry-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.fade.show {
animation: none;
}
}
@@ -2,6 +2,26 @@
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
.fade.show {
animation: pngx-entry-fade 160ms ease-out;
}
@keyframes pngx-entry-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.fade.show {
animation: none;
}
}
.doc-img-container { .doc-img-container {
position: relative; position: relative;
} }
@@ -2,6 +2,26 @@
font-size: 90%; font-size: 90%;
} }
.fade.show {
animation: pngx-entry-fade 160ms ease-out;
}
@keyframes pngx-entry-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.fade.show {
animation: none;
}
}
.doc-img { .doc-img {
object-fit: cover; object-fit: cover;
object-position: top left; object-position: top left;