2024-03-29 20:43:58 +01:00
|
|
|
.thumbnailBig {
|
2024-04-03 16:24:57 +02:00
|
|
|
background-color: var(--media-thumbnail-background-color);
|
2024-03-29 20:43:58 +01:00
|
|
|
width: var(--width);
|
|
|
|
|
height: var(--height);
|
2024-04-09 19:04:21 +02:00
|
|
|
max-width: 250px;
|
|
|
|
|
max-height: 250px;
|
2024-05-30 14:29:02 +02:00
|
|
|
margin: 3px 20px 5px 20px;
|
2024-05-28 16:11:25 +02:00
|
|
|
display: inline-flex;
|
2024-03-30 16:18:16 +01:00
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2024-05-28 16:11:25 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.floatingEmbed,
|
2026-04-17 10:48:27 +07:00
|
|
|
.communityAvatar {
|
2024-05-28 16:11:25 +02:00
|
|
|
max-width: 250px;
|
|
|
|
|
max-height: 250px;
|
2025-02-05 15:43:57 +01:00
|
|
|
display: inline-flex;
|
2024-03-29 13:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
2026-04-17 10:48:27 +07:00
|
|
|
.communityAvatar {
|
2024-06-27 20:54:19 +02:00
|
|
|
margin: 3px 20px 5px 20px;
|
2024-06-08 16:41:05 +02:00
|
|
|
}
|
|
|
|
|
|
2024-06-03 13:52:55 +02:00
|
|
|
.spoiler {
|
2024-06-30 11:54:54 +02:00
|
|
|
width: 100px;
|
|
|
|
|
height: 100px;
|
2024-06-03 13:52:55 +02:00
|
|
|
margin: 3px 20px 5px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-28 18:25:53 +02:00
|
|
|
@media (max-width: 640px) {
|
2026-04-17 10:48:27 +07:00
|
|
|
.communityAvatar {
|
2024-05-28 18:25:53 +02:00
|
|
|
max-width: 125px;
|
|
|
|
|
max-height: 125px;
|
|
|
|
|
margin: 3px 10px 5px 5px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
2024-06-19 18:50:24 +02:00
|
|
|
|
|
|
|
|
.spoiler {
|
|
|
|
|
margin: 3px 10px 5px 5px;
|
|
|
|
|
}
|
2024-05-28 18:25:53 +02:00
|
|
|
}
|
|
|
|
|
|
2024-03-29 20:43:58 +01:00
|
|
|
.thumbnailSmall {
|
2024-04-03 16:24:57 +02:00
|
|
|
background-color: var(--media-thumbnail-background-color);
|
2024-03-29 20:43:58 +01:00
|
|
|
width: var(--width);
|
|
|
|
|
height: var(--height);
|
2024-04-09 19:04:21 +02:00
|
|
|
max-width: 125px;
|
|
|
|
|
max-height: 125px;
|
2024-03-30 16:18:16 +01:00
|
|
|
margin: 3px 10px 5px 5px;
|
2024-05-28 16:11:25 +02:00
|
|
|
display: inline-flex;
|
2024-03-30 16:18:16 +01:00
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2024-05-28 16:11:25 +02:00
|
|
|
overflow: hidden;
|
2024-03-29 13:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.thumbnailSmall span,
|
|
|
|
|
.thumbnailSmall a {
|
2024-04-16 17:39:33 +02:00
|
|
|
width: 100%;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
text-align: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 14:58:07 +02:00
|
|
|
.thumbnail {
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-07 19:42:30 +01:00
|
|
|
.removeFloat {
|
|
|
|
|
float: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-03 13:52:55 +02:00
|
|
|
.thumbnail video {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 14:24:10 +02:00
|
|
|
.hide {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.thumbnail .show {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.content img,
|
|
|
|
|
.content video,
|
|
|
|
|
.content iframe,
|
|
|
|
|
.content audio {
|
2024-04-01 14:24:10 +02:00
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100%;
|
2024-09-07 13:45:31 +02:00
|
|
|
object-fit: contain;
|
2024-04-01 14:24:10 +02:00
|
|
|
}
|
|
|
|
|
|
2024-04-02 12:54:56 +02:00
|
|
|
.content img {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.gifPlaceholder {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 14:24:10 +02:00
|
|
|
.content iframe {
|
|
|
|
|
border: none;
|
2024-07-04 16:39:04 +02:00
|
|
|
color-scheme: light;
|
2024-04-01 14:24:10 +02:00
|
|
|
}
|
|
|
|
|
|
2024-04-01 14:58:07 +02:00
|
|
|
.fileInfo {
|
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
text-align: center;
|
2026-03-07 21:16:13 +08:00
|
|
|
color: var(--post-mobile-file-info-text-color);
|
2024-04-01 14:58:07 +02:00
|
|
|
font-size: 9pt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fileInfo a {
|
|
|
|
|
color: var(--post-link-text-color);
|
|
|
|
|
text-decoration: var(--post-link-text-decoration);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fileInfo a:hover {
|
|
|
|
|
color: var(--post-link-text-color-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.closeButton {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 5px 0 10px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 17:39:10 +02:00
|
|
|
.thumbnailReplyDesktop {
|
|
|
|
|
margin: 3px 20px 5px 20px;
|
2024-04-01 14:24:10 +02:00
|
|
|
}
|
|
|
|
|
|
2024-04-01 17:39:10 +02:00
|
|
|
.thumbnailMobile {
|
|
|
|
|
margin: 8px 10px 5px 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.mediaMobile img,
|
|
|
|
|
.mediaMobile video,
|
|
|
|
|
.mediaMobile iframe,
|
|
|
|
|
.mediaMobile audio {
|
2026-04-24 15:48:07 +07:00
|
|
|
padding: 0;
|
2024-04-01 21:33:48 +02:00
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.mediaDesktopReply img,
|
|
|
|
|
.mediaDesktopReply video,
|
|
|
|
|
.mediaDesktopReply iframe,
|
|
|
|
|
.mediaDesktopReply audio {
|
2026-04-24 15:48:07 +07:00
|
|
|
padding: 0;
|
2024-04-01 21:33:48 +02:00
|
|
|
}
|
|
|
|
|
|
2024-09-07 13:45:31 +02:00
|
|
|
.mediaDesktopOp {
|
|
|
|
|
max-width: calc(100% - 40px);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:16:13 +08:00
|
|
|
.mediaDesktopOp img,
|
|
|
|
|
.mediaDesktopOp video,
|
|
|
|
|
.mediaDesktopOp iframe,
|
|
|
|
|
.mediaDesktopOp audio {
|
2026-04-24 15:48:07 +07:00
|
|
|
padding: 0;
|
2024-09-07 13:45:31 +02:00
|
|
|
max-width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
2024-05-29 15:45:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fileDeleted {
|
|
|
|
|
image-rendering: pixelated;
|
2024-06-08 16:41:05 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-14 16:36:20 +07:00
|
|
|
.mediaLoadFailure {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
font-size: 10pt;
|
|
|
|
|
text-align: center;
|
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureSource {
|
|
|
|
|
max-width: 30ch;
|
|
|
|
|
font-size: 8pt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureStatus {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: -1px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureLink {
|
|
|
|
|
color: var(--post-link-text-color);
|
|
|
|
|
text-decoration: var(--post-link-text-decoration);
|
|
|
|
|
font-size: 9pt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureLink:hover {
|
|
|
|
|
color: var(--post-link-text-color-hover);
|
|
|
|
|
text-decoration: var(--post-link-text-decoration-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureInfo {
|
|
|
|
|
display: block;
|
|
|
|
|
clear: both;
|
|
|
|
|
color: var(--post-mobile-file-info-text-color);
|
|
|
|
|
font-size: 9pt;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureInfo a {
|
|
|
|
|
color: var(--post-link-text-color);
|
|
|
|
|
text-decoration: var(--post-link-text-decoration);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mediaLoadFailureInfo a:hover {
|
|
|
|
|
color: var(--post-link-text-color-hover);
|
|
|
|
|
text-decoration: var(--post-link-text-decoration-hover);
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-08 16:41:05 +02:00
|
|
|
@media (min-width: 640px) {
|
|
|
|
|
.thumbnail,
|
|
|
|
|
.content {
|
|
|
|
|
line-height: 0; /* Ensure no extra space due to line-height */
|
|
|
|
|
}
|
2024-10-31 12:55:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fitToScreen {
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fitToScreen img,
|
|
|
|
|
.fitToScreen video {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100vh;
|
2026-03-07 21:16:13 +08:00
|
|
|
}
|