mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +01:00
Adjustments to media post
This commit is contained in:
parent
85f966bfc9
commit
5fae5d8cf5
1 changed files with 14 additions and 2 deletions
|
@ -24,6 +24,18 @@
|
||||||
border-radius: calc(var(--item-radius) / 2);
|
border-radius: calc(var(--item-radius) / 2);
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
border: var(--hairline-width) dashed var(--bg-color);
|
border: var(--hairline-width) dashed var(--bg-color);
|
||||||
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
opacity: 0.8;
|
||||||
|
mix-blend-mode: luminosity;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
box-orient: vertical;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: box;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
@ -78,9 +90,9 @@
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:is(:hover, :focus) img {
|
:not(.filtered, .has-spoiler) &:is(:hover, :focus) img {
|
||||||
/* Less delay here to make it feel more responsive */
|
/* Less delay here to make it feel more responsive */
|
||||||
animation: position-object 5s ease-in-out 0.3s 5;
|
animation: position-object 5s ease-in-out 0.1s 5;
|
||||||
animation-duration: var(--anim-duration, 5s);
|
animation-duration: var(--anim-duration, 5s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue