55 lines
No EOL
964 B
CSS
55 lines
No EOL
964 B
CSS
.attachment {
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
max-height: 30rem;
|
|
aspect-ratio: 3/2;
|
|
}
|
|
|
|
.alt-btn {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
padding: 0.5rem 0.75rem;
|
|
height: max-content;
|
|
z-index: +1;
|
|
background-color: color-mix(in srgb, var(--background-color) 80%, transparent);
|
|
line-height: 1;
|
|
}
|
|
|
|
.alt-btn:hover {
|
|
background-color: color-mix(in srgb, var(--hover-color) 80%, transparent);
|
|
}
|
|
|
|
audio.attachment {
|
|
width: 100%;
|
|
}
|
|
|
|
.file {
|
|
display: inline-block;
|
|
white-space: normal;
|
|
|
|
> a {
|
|
text-decoration: none;
|
|
color: var(--notice-color)
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.attachment.file .ph {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
overflow: clip;
|
|
background: var(--background-color);
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.blur-image {
|
|
filter: blur(10rem);
|
|
} |