mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
144 lines
2.5 KiB
CSS
144 lines
2.5 KiB
CSS
.thumbnailBig {
|
|
background-color: var(--media-thumbnail-background-color);
|
|
width: var(--width);
|
|
height: var(--height);
|
|
max-width: 250px;
|
|
max-height: 250px;
|
|
margin: 3px 20px 5px 20px;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.floatingEmbed, .subplebbitAvatar {
|
|
max-width: 250px;
|
|
max-height: 250px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.subplebbitAvatar {
|
|
margin: 3px 20px 5px 0;
|
|
}
|
|
|
|
.spoiler {
|
|
display: inline-block;
|
|
margin: 3px 20px 5px 20px;
|
|
background-color: black;
|
|
color: white;
|
|
display: flex;
|
|
cursor: pointer;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.subplebbitAvatar {
|
|
max-width: 125px;
|
|
max-height: 125px;
|
|
margin: 3px 10px 5px 5px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.thumbnailSmall {
|
|
background-color: var(--media-thumbnail-background-color);
|
|
width: var(--width);
|
|
height: var(--height);
|
|
max-width: 125px;
|
|
max-height: 125px;
|
|
margin: 3px 10px 5px 5px;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.thumbnailSmall span, .thumbnailSmall a {
|
|
width: 100%;
|
|
display: inline-block;
|
|
word-wrap: break-word;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.thumbnail {
|
|
float: left;
|
|
}
|
|
|
|
.thumbnail video {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
|
|
.thumbnail .show {
|
|
display: block;
|
|
}
|
|
|
|
.content img, .content video, .content iframe, .content audio {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.content img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.content iframe {
|
|
border: none;
|
|
}
|
|
|
|
.fileInfo {
|
|
padding-bottom: 5px;
|
|
text-align: center;
|
|
color: var(--post-mobile-file-info-text-color);
|
|
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;
|
|
}
|
|
|
|
.thumbnailReplyDesktop {
|
|
margin: 3px 20px 5px 20px;
|
|
}
|
|
|
|
.thumbnailMobile {
|
|
margin: 8px 10px 5px 5px;
|
|
}
|
|
|
|
.mediaMobile img, .mediaMobile video, .mediaMobile iframe, .mediaMobile audio {
|
|
padding: 3px 0 5px 0;
|
|
}
|
|
|
|
.mediaDesktopReply img, .mediaDesktopReply video, .mediaDesktopReply iframe, .mediaDesktopReply audio {
|
|
padding: 3px 20px 5px 20px;
|
|
}
|
|
|
|
.mediaDesktopOp img, .mediaDesktopOp video, .mediaDesktopOp iframe, .mediaDesktopOp audio {
|
|
padding: 3px 20px 5px 0;
|
|
}
|
|
|
|
.fileDeleted {
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.thumbnail,
|
|
.content {
|
|
line-height: 0; /* Ensure no extra space due to line-height */
|
|
}
|
|
} |