2022-12-10 12:14:48 +03:00
|
|
|
/* REBLOG + REPLY-TO */
|
|
|
|
|
|
|
|
.status-reblog {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
2023-01-24 20:01:04 +03:00
|
|
|
160deg,
|
2022-12-12 11:27:44 +03:00
|
|
|
var(--reblog-faded-color),
|
2023-01-24 20:01:04 +03:00
|
|
|
transparent min(160px, 50%)
|
2022-12-12 11:27:44 +03:00
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-08-07 16:26:43 +03:00
|
|
|
.status-group {
|
|
|
|
background: linear-gradient(
|
|
|
|
160deg,
|
|
|
|
var(--group-faded-color),
|
|
|
|
transparent min(160px, 50%)
|
|
|
|
);
|
|
|
|
}
|
2023-12-14 20:58:29 +03:00
|
|
|
.status-followed-tags {
|
|
|
|
background: linear-gradient(
|
|
|
|
160deg,
|
|
|
|
var(--hashtag-faded-color),
|
|
|
|
transparent min(160px, 50%)
|
|
|
|
);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status-reply-to {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
2023-01-24 20:01:04 +03:00
|
|
|
160deg,
|
2022-12-12 11:27:44 +03:00
|
|
|
var(--reply-to-faded-color),
|
2023-01-24 20:01:04 +03:00
|
|
|
transparent min(160px, 50%)
|
2022-12-12 11:27:44 +03:00
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-12-14 20:58:29 +03:00
|
|
|
:is(.status-reblog, .status-group, .status-followed-tags) .status-reply-to {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
2023-01-24 20:01:04 +03:00
|
|
|
-20deg,
|
2022-12-12 11:27:44 +03:00
|
|
|
var(--reply-to-faded-color),
|
2023-01-24 20:01:04 +03:00
|
|
|
transparent min(160px, 50%)
|
2022-12-12 11:27:44 +03:00
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-11 05:56:31 +03:00
|
|
|
.visibility-direct {
|
2022-12-12 11:27:44 +03:00
|
|
|
--yellow-stripes: repeating-linear-gradient(
|
2022-12-11 05:56:31 +03:00
|
|
|
-45deg,
|
|
|
|
var(--reply-to-faded-color),
|
|
|
|
var(--reply-to-faded-color) 10px,
|
|
|
|
var(--reply-to-faded-color) 10px,
|
|
|
|
transparent 10px,
|
|
|
|
transparent 20px
|
|
|
|
);
|
2022-12-12 11:27:44 +03:00
|
|
|
/* diagonal stripes of yellow */
|
|
|
|
background-image: var(--yellow-stripes);
|
2022-12-11 05:56:31 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
/* STATUS PRE META */
|
|
|
|
|
|
|
|
.status-pre-meta {
|
|
|
|
padding: 8px 16px 0;
|
|
|
|
opacity: 0.75;
|
|
|
|
font-size: smaller;
|
|
|
|
vertical-align: middle;
|
2022-12-14 11:16:08 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2022-12-22 07:59:44 +03:00
|
|
|
margin-bottom: -8px;
|
2022-12-14 11:16:08 +03:00
|
|
|
}
|
2023-03-21 19:09:36 +03:00
|
|
|
.status-reblog .status-pre-meta .icon {
|
|
|
|
color: var(--reblog-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
margin-right: 4px;
|
2023-04-08 12:00:55 +03:00
|
|
|
vertical-align: text-bottom;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-08-07 16:26:43 +03:00
|
|
|
.status-group .status-pre-meta .icon {
|
|
|
|
color: var(--group-color);
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2023-12-14 20:58:29 +03:00
|
|
|
.status-followed-tags {
|
|
|
|
.status-pre-meta {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
color: var(--hashtag-color);
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--hashtag-text-color);
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 12px;
|
|
|
|
text-decoration-color: var(--hashtag-faded-color);
|
|
|
|
text-underline-offset: 2px;
|
|
|
|
text-decoration-thickness: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px;
|
|
|
|
vertical-align: top;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--text-color);
|
|
|
|
text-decoration-color: var(--hashtag-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-followed-tag-item {
|
|
|
|
color: var(--hashtag-text-color);
|
|
|
|
padding: 2px;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-inline-end: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
|
|
|
/* STATUS */
|
|
|
|
|
|
|
|
.status {
|
|
|
|
display: flex;
|
2023-04-19 04:41:09 +03:00
|
|
|
padding: 16px;
|
2022-12-23 16:25:01 +03:00
|
|
|
line-height: 1.4;
|
2022-12-10 12:14:48 +03:00
|
|
|
align-items: flex-start;
|
2022-12-20 15:17:38 +03:00
|
|
|
position: relative;
|
2023-04-22 19:55:47 +03:00
|
|
|
font-size: var(--text-size);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status.large {
|
2022-12-12 11:27:44 +03:00
|
|
|
--fade-in-out-bg: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
transparent,
|
|
|
|
var(--bg-color) 70px,
|
|
|
|
var(--bg-color) calc(100% - 50px),
|
|
|
|
transparent
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
padding-bottom: 8px;
|
2022-12-12 11:27:44 +03:00
|
|
|
background-image: var(--fade-in-out-bg);
|
|
|
|
}
|
|
|
|
.status.large.visibility-direct {
|
|
|
|
background-image: var(--fade-in-out-bg), var(--yellow-stripes);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-24 19:26:47 +03:00
|
|
|
|
2023-04-22 19:55:47 +03:00
|
|
|
.status-card-link {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
2023-09-23 07:56:55 +03:00
|
|
|
.status-card-link:not(
|
|
|
|
.truncated .status-card-link, /* parent status already truncated */
|
|
|
|
.status-card-link .status-card-link /* nested status cards */
|
|
|
|
):has(.truncated) {
|
2023-09-24 05:18:01 +03:00
|
|
|
display: block;
|
2023-09-20 12:27:54 +03:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: attr(data-read-more);
|
|
|
|
line-height: 1;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
--inset-offset: 16px;
|
|
|
|
inset-block-end: var(--inset-offset);
|
|
|
|
inset-inline-end: var(--inset-offset);
|
2023-09-23 14:14:11 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
border: 1px dashed var(--link-color);
|
|
|
|
box-shadow: 0 0 0 1px var(--bg-color), 0 -5px 10px var(--bg-color),
|
|
|
|
0 -5px 15px var(--bg-color), 0 -5px 20px var(--bg-color);
|
2023-09-20 12:27:54 +03:00
|
|
|
padding: 0.5em 0.75em;
|
|
|
|
border-radius: 10em;
|
|
|
|
font-size: 90%;
|
|
|
|
white-space: nowrap;
|
2023-09-23 14:14:11 +03:00
|
|
|
transition: transform 0.2s ease-out;
|
2023-09-20 12:27:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&:is(:hover, :focus):after {
|
2023-09-23 14:14:11 +03:00
|
|
|
color: var(--link-color);
|
2023-09-20 12:27:54 +03:00
|
|
|
transform: translate(2px, 0);
|
|
|
|
}
|
|
|
|
}
|
2023-04-22 19:55:47 +03:00
|
|
|
.status-card-link:is(:hover, :focus) .status-card {
|
|
|
|
border-color: var(--outline-hover-color);
|
|
|
|
box-shadow: inset 0 0 0 4px var(--bg-faded-blur-color);
|
|
|
|
}
|
2023-04-25 15:51:22 +03:00
|
|
|
.status-card-link:is(:hover, :focus) .status-card img {
|
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
2023-07-30 16:28:17 +03:00
|
|
|
animation-duration: var(--anim-duration, 5s);
|
2023-04-25 15:51:22 +03:00
|
|
|
}
|
2023-04-22 19:55:47 +03:00
|
|
|
.status-card-link:is(:active) .status-card {
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
|
|
|
.status-card {
|
|
|
|
font-size: calc(var(--text-size) * 0.9);
|
|
|
|
margin: 1em 0 0;
|
|
|
|
border-radius: 16px;
|
|
|
|
padding: 12px;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
background-color: var(--bg-color);
|
2023-04-24 16:36:33 +03:00
|
|
|
box-shadow: inset 0 0 4px var(--outline-color);
|
2023-04-22 19:55:47 +03:00
|
|
|
/* box-shadow: inset 0 0 0 2px var(--bg-faded-color); */
|
2023-04-24 16:36:33 +03:00
|
|
|
/* filter: drop-shadow(0 2px 4px var(--bg-faded-color)); */
|
2023-04-22 19:55:47 +03:00
|
|
|
}
|
|
|
|
.status-card:has(.status-badge:not(:empty)) {
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
|
|
|
.status-card > * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-08-25 10:41:03 +03:00
|
|
|
.status-card:not(.status-carousel .status)
|
|
|
|
:is(.content, .poll, .media-container) {
|
2023-04-22 19:55:47 +03:00
|
|
|
max-height: 160px !important;
|
2024-01-02 07:27:22 +03:00
|
|
|
overflow: clip;
|
2023-04-22 19:55:47 +03:00
|
|
|
}
|
2024-01-02 07:27:39 +03:00
|
|
|
.status.small:not(.status-carousel .status, .status.large .status)
|
2023-08-25 10:41:03 +03:00
|
|
|
.status-card
|
2024-01-04 13:55:14 +03:00
|
|
|
:is(.content, .poll, .media-container:not(.media-gt2)) {
|
2023-04-22 19:55:47 +03:00
|
|
|
max-height: 80px !important;
|
2023-09-23 07:57:19 +03:00
|
|
|
}
|
|
|
|
.status.large .status-card :is(.content, .poll, .media-container) {
|
|
|
|
max-height: 80vh !important;
|
2023-04-22 19:55:47 +03:00
|
|
|
}
|
2023-09-29 04:38:14 +03:00
|
|
|
.status-card :is(.content, .poll, .media-container) {
|
2023-04-22 19:55:47 +03:00
|
|
|
font-size: inherit !important;
|
2023-09-29 04:38:14 +03:00
|
|
|
}
|
|
|
|
.status-card :is(.content.truncated, .poll, .media-container.truncated) {
|
|
|
|
/* font-size: inherit !important; */
|
2023-04-22 19:55:47 +03:00
|
|
|
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
|
|
|
}
|
2023-09-20 12:27:54 +03:00
|
|
|
.status.small
|
|
|
|
.status-card
|
|
|
|
:is(.content.truncated, .poll, .media-container.truncated) {
|
2023-04-22 19:55:47 +03:00
|
|
|
mask-image: linear-gradient(to bottom, #000 40px, transparent);
|
|
|
|
}
|
|
|
|
.status-card .card {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-04-24 16:36:33 +03:00
|
|
|
.timeline-deck .status-card .content.truncated:after {
|
|
|
|
/* Don't show "Read more" in status cards */
|
|
|
|
content: none !important;
|
|
|
|
}
|
2023-04-22 19:55:47 +03:00
|
|
|
|
2023-01-24 19:26:47 +03:00
|
|
|
@keyframes skeleton-breathe {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status.skeleton {
|
|
|
|
color: var(--outline-color);
|
2023-01-24 19:26:47 +03:00
|
|
|
animation: skeleton-breathe 6s linear infinite;
|
2023-01-01 11:09:10 +03:00
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
2023-01-24 19:26:47 +03:00
|
|
|
contain: layout;
|
|
|
|
text-rendering: optimizeSpeed;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status.skeleton > .avatar {
|
|
|
|
background-color: var(--outline-color);
|
|
|
|
}
|
|
|
|
|
2023-03-21 19:09:36 +03:00
|
|
|
.status.filtered {
|
|
|
|
padding-block: 12px;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
2023-09-25 05:20:32 +03:00
|
|
|
|
|
|
|
.status-carousel & {
|
|
|
|
padding: 16px 16px 16px 24px;
|
|
|
|
}
|
2023-03-21 19:09:36 +03:00
|
|
|
}
|
|
|
|
.status.filtered .status-filtered-info {
|
|
|
|
pointer-events: none;
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 90%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
mask-image: linear-gradient(to right, black 90%, transparent);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.status.filtered .avatar {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: opacity 0.7s ease-in;
|
|
|
|
}
|
|
|
|
.status.filtered:is(:hover, :focus, :active) .avatar {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.status.filtered :is(.status-filtered-info-1, .status-filtered-info-2) {
|
|
|
|
transition: all 0.2s ease-out;
|
|
|
|
}
|
|
|
|
.status.filtered:hover :is(.status-filtered-info-1, .status-filtered-info-2) {
|
|
|
|
transition-delay: 0.5s;
|
|
|
|
}
|
|
|
|
.status.filtered .status-filtered-info-1 {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.status.filtered:is(:hover, :focus, :active) .status-filtered-info-1 {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.status.filtered .status-filtered-info-2 {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(8px);
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.status.filtered:is(:hover, :focus, :active) .status-filtered-info-2 {
|
|
|
|
opacity: 0.75;
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
2023-03-26 18:18:36 +03:00
|
|
|
.status.compact-thread {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
2023-04-02 11:04:49 +03:00
|
|
|
padding-block: 8px;
|
2023-03-26 18:18:36 +03:00
|
|
|
}
|
|
|
|
.status.compact-thread .status-thread-badge {
|
|
|
|
flex-shrink: 0;
|
|
|
|
min-width: 50px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.status.compact-thread .content-compact {
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2022-12-13 15:42:09 +03:00
|
|
|
.status .container {
|
2022-12-10 12:14:48 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2023-04-22 19:55:47 +03:00
|
|
|
.status:not(.small) > .container {
|
2022-12-23 16:25:01 +03:00
|
|
|
padding-left: 12px;
|
2022-12-13 15:42:09 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2022-12-12 17:56:38 +03:00
|
|
|
.status > .container > .meta {
|
2022-12-10 12:14:48 +03:00
|
|
|
display: flex;
|
2023-09-24 10:45:01 +03:00
|
|
|
gap: 4px;
|
|
|
|
/* justify-content: space-between; */
|
2022-12-22 05:35:39 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-01-03 08:52:13 +03:00
|
|
|
.status.small > .container > .meta {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2022-12-22 05:35:39 +03:00
|
|
|
.status > .container > .meta > * {
|
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
2023-09-24 10:45:01 +03:00
|
|
|
/* text-overflow: ellipsis; */
|
|
|
|
}
|
2023-09-29 03:58:31 +03:00
|
|
|
.status > .container > .meta .meta-name {
|
2023-09-24 10:45:01 +03:00
|
|
|
mask-image: linear-gradient(to left, transparent, black 16px);
|
|
|
|
flex-grow: 1;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-12 17:56:38 +03:00
|
|
|
.status.large > .container > .meta {
|
|
|
|
min-height: 50px;
|
|
|
|
}
|
2022-12-12 11:27:44 +03:00
|
|
|
.status > .container > .meta .arrow {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--reply-to-color);
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2022-12-12 11:27:44 +03:00
|
|
|
.status > .container > .meta :is(.time, .edited) {
|
2024-01-09 20:47:50 +03:00
|
|
|
color: var(--text-insignificant-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
text-align: end;
|
|
|
|
text-decoration: none;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 4px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-02-27 17:44:41 +03:00
|
|
|
.status > .container > .meta a.time {
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
2024-01-09 20:47:50 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 2px;
|
|
|
|
font-size: 90%;
|
|
|
|
|
|
|
|
.more {
|
|
|
|
margin-left: 4px;
|
|
|
|
transition: transform 0.2s ease-out;
|
|
|
|
}
|
2023-02-27 17:44:41 +03:00
|
|
|
}
|
2023-03-01 14:17:04 +03:00
|
|
|
.status > .container > .meta a.time:is(:hover, :focus) {
|
2024-01-09 20:47:50 +03:00
|
|
|
.more {
|
|
|
|
transform: scale(1.2);
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
2023-03-01 14:17:04 +03:00
|
|
|
}
|
|
|
|
.status > .container > .meta a.time:active,
|
|
|
|
.status > .container > .meta a.time.is-open {
|
|
|
|
text-decoration: none;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-02-27 17:44:41 +03:00
|
|
|
.status > .container > .meta a.time:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2023-10-15 14:52:33 +03:00
|
|
|
inset: -16px -16px -8px;
|
2023-02-27 17:44:41 +03:00
|
|
|
}
|
2022-12-12 11:27:44 +03:00
|
|
|
.status > .container > .meta .reply-to {
|
2022-12-10 12:14:48 +03:00
|
|
|
opacity: 0.5;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2022-12-22 05:35:39 +03:00
|
|
|
.status-reply-badge {
|
|
|
|
display: inline-flex;
|
2023-04-06 13:21:56 +03:00
|
|
|
margin: 2px 0 2px 4px;
|
2022-12-22 05:35:39 +03:00
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
2023-04-06 13:21:56 +03:00
|
|
|
vertical-align: middle;
|
2022-12-22 05:35:39 +03:00
|
|
|
}
|
|
|
|
.status-reply-badge .icon {
|
|
|
|
color: var(--reply-to-color);
|
|
|
|
}
|
|
|
|
.status-thread-badge {
|
2023-04-06 13:21:56 +03:00
|
|
|
vertical-align: middle;
|
2022-12-22 05:35:39 +03:00
|
|
|
display: inline-flex;
|
2023-04-06 13:21:56 +03:00
|
|
|
margin: 2px 0;
|
2022-12-22 05:35:39 +03:00
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
2023-01-10 14:59:02 +03:00
|
|
|
color: var(--reply-to-text-color);
|
2022-12-22 05:35:39 +03:00
|
|
|
background: var(--bg-color);
|
|
|
|
border: 1px solid var(--reply-to-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: uppercase;
|
|
|
|
opacity: 0.75;
|
|
|
|
background-image: repeating-linear-gradient(
|
|
|
|
-70deg,
|
|
|
|
transparent,
|
|
|
|
transparent 3px,
|
|
|
|
var(--reply-to-faded-color) 3px,
|
|
|
|
var(--reply-to-faded-color) 4px
|
|
|
|
);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-04-06 13:21:56 +03:00
|
|
|
.status-direct-badge {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-flex;
|
|
|
|
margin: 2px 0;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--reply-to-text-color);
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border: 1px solid var(--reply-to-text-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: uppercase;
|
|
|
|
opacity: 0.75;
|
|
|
|
font-weight: bold;
|
|
|
|
box-shadow: inset 0 0 0 1px var(--reply-to-color);
|
|
|
|
}
|
2023-03-21 19:09:36 +03:00
|
|
|
.status-filtered-badge {
|
|
|
|
flex-shrink: 0;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
/* background: var(--bg-faded-color); */
|
|
|
|
/* border: var(--hairline-width) solid var(--bg-color); */
|
|
|
|
border: var(--hairline-width) dashed var(--text-insignificant-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
|
|
|
vertical-align: middle;
|
2023-03-22 07:26:28 +03:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.status-filtered-badge.badge-meta {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
top: calc((9px + 2px) / 2 * -1);
|
|
|
|
min-width: 50px;
|
|
|
|
text-align: center;
|
2023-03-21 19:09:36 +03:00
|
|
|
}
|
|
|
|
.status-filtered-badge.clickable:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--text-color);
|
|
|
|
border-color: var(--text-color);
|
|
|
|
background: var(--bg-color);
|
|
|
|
}
|
2023-03-22 07:26:28 +03:00
|
|
|
.status-filtered-badge.badge-meta > span:first-child {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.status-filtered-badge.badge-meta > span + span {
|
|
|
|
display: block;
|
|
|
|
font-size: 9px;
|
|
|
|
font-weight: normal;
|
|
|
|
text-transform: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: calc(100% + 2px);
|
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-12-22 05:35:39 +03:00
|
|
|
|
2023-04-22 19:55:47 +03:00
|
|
|
.status.large > .container > .content-container {
|
2022-12-10 12:14:48 +03:00
|
|
|
margin-left: calc(-50px - 16px);
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2023-12-24 16:07:46 +03:00
|
|
|
.status
|
|
|
|
.content-container.has-spoiler
|
|
|
|
:is(.spoiler-button, .spoiler-media-button):not([hidden]) {
|
2022-12-23 16:25:01 +03:00
|
|
|
margin: 4px 0;
|
2022-12-10 12:14:48 +03:00
|
|
|
font-size: 90%;
|
2022-12-10 19:52:04 +03:00
|
|
|
border: 1px dashed var(--button-bg-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
display: flex;
|
2023-12-24 16:07:46 +03:00
|
|
|
gap: 4px;
|
2022-12-10 12:14:48 +03:00
|
|
|
align-items: center;
|
|
|
|
}
|
2023-12-24 16:07:46 +03:00
|
|
|
.status .content-container.has-spoiler:not(.show-spoiler) .spoiler-button {
|
|
|
|
~ *:not(
|
2023-12-27 07:28:01 +03:00
|
|
|
.content.truncated,
|
2023-12-24 16:07:46 +03:00
|
|
|
.media-container,
|
|
|
|
.card,
|
|
|
|
.media-figure-multiple,
|
|
|
|
.spoiler-media-button
|
|
|
|
),
|
2023-12-26 12:06:52 +03:00
|
|
|
~ .card .meta-container {
|
|
|
|
/* filter: blur(5px) invert(0.5);
|
2023-12-24 16:07:46 +03:00
|
|
|
image-rendering: crisp-edges;
|
2023-12-26 12:06:52 +03:00
|
|
|
image-rendering: pixelated; */
|
|
|
|
opacity: 0.2;
|
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
2023-12-24 16:07:46 +03:00
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2023-12-26 12:06:52 +03:00
|
|
|
/* contain: layout; */
|
|
|
|
/* transform: scale(0.97);
|
|
|
|
transition: transform 0.1s ease-in-out; */
|
|
|
|
|
|
|
|
* {
|
2023-12-27 03:50:23 +03:00
|
|
|
text-decoration-color: inherit;
|
2023-12-26 12:06:52 +03:00
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
filter: invert(0.5);
|
|
|
|
background-color: black;
|
|
|
|
}
|
2023-12-24 16:07:46 +03:00
|
|
|
}
|
|
|
|
|
2023-12-27 07:28:01 +03:00
|
|
|
~ .content.truncated {
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
opacity: 0.2;
|
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2023-12-28 10:23:47 +03:00
|
|
|
|
|
|
|
* {
|
|
|
|
text-decoration-color: inherit;
|
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
}
|
2023-12-27 07:28:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-24 16:07:46 +03:00
|
|
|
/* ~ :is(.media-container, .media-figure-multiple) .media > *, */
|
2023-12-26 12:06:52 +03:00
|
|
|
~ .card .card-image > img {
|
|
|
|
display: none;
|
|
|
|
/* filter: blur(32px);
|
|
|
|
opacity: 0;
|
2023-12-24 16:07:46 +03:00
|
|
|
image-rendering: crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
2023-12-26 12:06:52 +03:00
|
|
|
animation: none !important; */
|
2023-12-24 16:07:46 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.status .content-container.has-spoiler:not(.show-media) .spoiler-media-button {
|
2023-12-26 12:06:52 +03:00
|
|
|
~ :is(.media-container, .media-figure-multiple) figcaption {
|
|
|
|
/* filter: blur(5px) invert(0.5);
|
2023-12-24 16:07:46 +03:00
|
|
|
image-rendering: crisp-edges;
|
2023-12-26 12:06:52 +03:00
|
|
|
image-rendering: pixelated; */
|
|
|
|
opacity: 0.2;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
/* contain: layout; */
|
|
|
|
/* transform: scale(0.97);
|
|
|
|
transition: transform 0.1s ease-in-out; */
|
|
|
|
|
|
|
|
* {
|
|
|
|
text-decoration-thickness: 1.5em;
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
~ :is(.media-container, .media-figure-multiple) .media {
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle at 50% 50%,
|
|
|
|
var(--average-color, var(--bg-faded-color)),
|
|
|
|
var(--bg-color) 20em
|
|
|
|
);
|
|
|
|
|
|
|
|
> *:not(.media-play, .alt-badge) {
|
|
|
|
/* display: none; */
|
|
|
|
/* filter: blur(32px); */
|
|
|
|
opacity: 0;
|
|
|
|
image-rendering: crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
animation: none !important;
|
|
|
|
}
|
2023-12-24 16:07:46 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-08-02 12:40:28 +03:00
|
|
|
.status
|
2023-12-24 16:07:46 +03:00
|
|
|
.content-container.show-spoiler
|
|
|
|
:is(.spoiler-button, .spoiler-media-button).spoiling {
|
2022-12-10 19:52:04 +03:00
|
|
|
border-style: dotted;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-12-24 16:07:46 +03:00
|
|
|
|
|
|
|
.status .content-container .spoiler-divider {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding-block: 0.25em;
|
|
|
|
border-bottom: 1px dashed var(--divider-color);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2023-11-30 18:47:58 +03:00
|
|
|
.status .content-comment-hint {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
font-size: 90%;
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-04-17 14:09:46 +03:00
|
|
|
.status.compact-thread .spoiler-badge {
|
|
|
|
font-size: smaller;
|
|
|
|
color: var(--button-bg-color);
|
|
|
|
border: 1px dashed var(--button-bg-color);
|
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 16px;
|
|
|
|
display: inline-flex;
|
|
|
|
margin: 4px;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background: var(--bg-faded-color);
|
|
|
|
}
|
|
|
|
|
2022-12-17 16:06:51 +03:00
|
|
|
.timeline-deck .status .content {
|
2022-12-17 18:01:34 +03:00
|
|
|
max-height: 50vh;
|
|
|
|
max-height: 50dvh;
|
2023-12-15 18:29:48 +03:00
|
|
|
overflow: clip;
|
2022-12-17 16:06:51 +03:00
|
|
|
position: relative;
|
|
|
|
}
|
2023-08-17 17:05:55 +03:00
|
|
|
.timeline-deck
|
|
|
|
.status-reblog:not(.status-carousel .status-reblog)
|
|
|
|
.status
|
|
|
|
.content {
|
2022-12-26 09:33:46 +03:00
|
|
|
/* Deprioritise long-form boosts */
|
|
|
|
max-height: 40vh;
|
|
|
|
max-height: 40dvh;
|
|
|
|
}
|
2023-09-28 06:21:40 +03:00
|
|
|
.timeline-deck .status:not(.truncated .status) .content.truncated {
|
2022-12-18 05:08:44 +03:00
|
|
|
mask-image: linear-gradient(
|
|
|
|
to top,
|
|
|
|
transparent,
|
|
|
|
rgba(0, 0, 0, 0.5) 1em,
|
|
|
|
black 1.5em
|
|
|
|
);
|
2022-12-17 18:01:34 +03:00
|
|
|
}
|
2023-09-28 06:21:40 +03:00
|
|
|
.timeline-deck .status:not(.truncated .status) .content.truncated:after {
|
2022-12-17 16:06:51 +03:00
|
|
|
content: attr(data-read-more);
|
|
|
|
line-height: 1;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2022-12-18 05:08:44 +03:00
|
|
|
inset-block-end: 1.5em;
|
2022-12-28 05:52:08 +03:00
|
|
|
left: 45%;
|
2022-12-17 18:01:34 +03:00
|
|
|
transform: translateX(-50%);
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
2022-12-18 05:08:44 +03:00
|
|
|
border: 1px dashed var(--link-color);
|
|
|
|
padding: 0.75em 1em;
|
2022-12-17 18:01:34 +03:00
|
|
|
border-radius: 10em;
|
2022-12-18 05:08:44 +03:00
|
|
|
font-size: 90%;
|
2022-12-17 18:17:13 +03:00
|
|
|
white-space: nowrap;
|
2022-12-18 05:08:44 +03:00
|
|
|
box-shadow: 0 0 0 1px var(--bg-color), 0 -5px 10px var(--bg-color),
|
|
|
|
0 -5px 15px var(--bg-color), 0 -5px 20px var(--bg-color);
|
|
|
|
transition: transform 0.5s ease-in-out;
|
2022-12-17 18:01:34 +03:00
|
|
|
}
|
|
|
|
.timeline-deck .status .content.truncated:hover:after {
|
2022-12-18 05:08:44 +03:00
|
|
|
color: var(--link-color);
|
|
|
|
transform: translateX(-50%) translateY(-2px) scale(1.01);
|
2022-12-17 16:06:51 +03:00
|
|
|
}
|
2023-01-01 11:01:57 +03:00
|
|
|
.timeline-deck .status .content.truncated ~ .card {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-08-19 12:07:16 +03:00
|
|
|
.status .content .inner-content a:not(.mention, .has-url-text) {
|
2023-08-18 08:48:45 +03:00
|
|
|
color: var(--link-text-color);
|
|
|
|
}
|
2023-08-19 12:07:16 +03:00
|
|
|
.status
|
|
|
|
.content
|
|
|
|
.inner-content
|
|
|
|
a:not(.mention, .has-url-text):is(:hover, :focus) {
|
2023-08-18 08:48:45 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
text-decoration-color: var(--link-color);
|
|
|
|
}
|
2023-08-23 13:34:11 +03:00
|
|
|
.status .content :is(.h-card, .mention) {
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
}
|
|
|
|
.status .spoiler-content > *,
|
|
|
|
.status .content .inner-content > * {
|
|
|
|
unicode-bidi: plaintext;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .content p {
|
2023-01-07 09:45:04 +03:00
|
|
|
/* 12px = 75% of 16px */
|
|
|
|
margin-block: min(0.75em, 12px);
|
2023-02-16 16:51:22 +03:00
|
|
|
white-space: pre-wrap;
|
|
|
|
tab-size: 2;
|
2023-11-02 08:00:07 +03:00
|
|
|
text-wrap: pretty;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2024-01-02 12:45:21 +03:00
|
|
|
.status-card .content p {
|
|
|
|
margin-block: min(0.25em, 4px);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .content p:first-child {
|
|
|
|
margin-block-start: 0;
|
|
|
|
}
|
|
|
|
.status .content p:last-child {
|
|
|
|
margin-block-end: 0;
|
|
|
|
}
|
2023-04-28 12:58:36 +03:00
|
|
|
.status .content blockquote {
|
|
|
|
margin-block: min(0.75em, 12px);
|
|
|
|
margin-inline: 0;
|
2023-09-13 19:25:04 +03:00
|
|
|
padding-block: 0;
|
|
|
|
padding-inline: 12px 0;
|
|
|
|
/* border-left: 4px solid var(--link-faded-color); */
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
width: 3px;
|
|
|
|
background-color: var(--link-faded-color);
|
|
|
|
inset-block: 0;
|
|
|
|
inset-inline-start: 0;
|
|
|
|
border-radius: 9999px;
|
|
|
|
}
|
2023-04-28 12:58:36 +03:00
|
|
|
}
|
2023-05-07 14:20:04 +03:00
|
|
|
.status .content > :is(ul, ol),
|
|
|
|
.status .content > div > :is(ul, ol) {
|
2023-05-04 05:28:34 +03:00
|
|
|
margin-block: min(0.75em, 12px);
|
|
|
|
margin-inline: 0;
|
2023-05-19 04:03:20 +03:00
|
|
|
padding-inline-start: 1.5em;
|
2023-05-04 05:28:34 +03:00
|
|
|
}
|
2023-07-26 06:25:57 +03:00
|
|
|
.status .content > :is(ul, ol) li > :is(ul, ol),
|
|
|
|
.status .content > div > :is(ul, ol) li > :is(ul, ol) {
|
|
|
|
padding-inline-start: 1.5em;
|
|
|
|
}
|
2023-06-14 13:54:46 +03:00
|
|
|
.status .content ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
2023-12-29 13:16:19 +03:00
|
|
|
.status .content :is(strong, b) {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .content .invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.status .content .ellipsis::after {
|
|
|
|
content: '…';
|
|
|
|
}
|
2023-04-22 19:55:47 +03:00
|
|
|
.status.large .content:not(.content .content) {
|
2022-12-10 12:14:48 +03:00
|
|
|
font-size: 150%;
|
2023-03-06 13:20:49 +03:00
|
|
|
font-size: min(calc(100% + 50% / var(--content-text-weight)), 150%);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status.large .poll,
|
|
|
|
.status.large .actions {
|
|
|
|
font-size: 125%;
|
2022-12-15 05:01:18 +03:00
|
|
|
font-size: calc(100% + 25% / var(--content-text-weight));
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* MEDIA */
|
|
|
|
|
|
|
|
.status .media-container {
|
|
|
|
margin-top: 8px;
|
2022-12-28 05:51:57 +03:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-auto-rows: 1fr;
|
2022-12-18 18:05:49 +03:00
|
|
|
gap: 2px;
|
2023-04-19 04:43:35 +03:00
|
|
|
/* height: 160px; */
|
2023-09-07 06:59:40 +03:00
|
|
|
min-height: 88px;
|
2023-04-19 04:43:35 +03:00
|
|
|
height: auto;
|
|
|
|
max-height: max(160px, 33vh);
|
2022-12-28 05:51:57 +03:00
|
|
|
}
|
2023-07-30 16:28:17 +03:00
|
|
|
.status .media-container.media-eq1 {
|
|
|
|
display: flex;
|
|
|
|
/* min-height: 0 !important; */
|
|
|
|
max-height: none !important;
|
|
|
|
}
|
2023-12-05 08:01:35 +03:00
|
|
|
.status-carousel .status .media-container:not(.status-card .media-container) {
|
2023-12-03 15:27:49 +03:00
|
|
|
margin-inline: -16px;
|
|
|
|
max-width: calc(100% + 16px + 16px) !important;
|
|
|
|
|
2023-12-10 14:13:11 +03:00
|
|
|
figure:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
/* padding (16px) - gap (4px) */
|
|
|
|
flex-basis: calc(16px - 4px);
|
|
|
|
}
|
|
|
|
|
2023-12-03 15:27:49 +03:00
|
|
|
figure figcaption {
|
|
|
|
padding-inline: 16px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.media-figure-multiple .media-container) {
|
|
|
|
margin-bottom: -16px;
|
2023-12-23 10:34:25 +03:00
|
|
|
|
2023-12-26 12:06:52 +03:00
|
|
|
&.media-eq1:not(:has(figure)) {
|
2023-12-23 10:34:25 +03:00
|
|
|
text-align: center;
|
|
|
|
background-color: var(--img-bg-color);
|
|
|
|
}
|
2023-12-03 15:27:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media {
|
|
|
|
--media-radius: 0;
|
|
|
|
--media-radius-inner: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 12:59:18 +03:00
|
|
|
.status:not(.large):not(.status-carousel .status)
|
2023-04-19 04:43:35 +03:00
|
|
|
.media-container.media-eq1:has([data-orientation='portrait']) {
|
2023-04-14 16:14:08 +03:00
|
|
|
width: 85%;
|
|
|
|
min-width: 160px;
|
|
|
|
max-height: 200px;
|
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status .media-container.media-gt2 {
|
2023-04-19 04:43:35 +03:00
|
|
|
/* height: 200px; */
|
2023-04-20 12:59:18 +03:00
|
|
|
max-height: max(200px, 40vh);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-12-09 04:35:39 +03:00
|
|
|
.status.medium
|
|
|
|
.content
|
|
|
|
~ *
|
|
|
|
.media-container:not(.status-card .media-container):is(
|
|
|
|
.media-eq2,
|
|
|
|
.media-gt2
|
|
|
|
),
|
|
|
|
.status.medium
|
|
|
|
.content
|
|
|
|
~ .media-container:not(.status-card .media-container):is(
|
|
|
|
.media-eq2,
|
|
|
|
.media-gt2
|
|
|
|
) {
|
2023-12-05 14:28:42 +03:00
|
|
|
/* 50px = avatar size */
|
|
|
|
margin-left: calc(-1 * ((50px / 2)));
|
2023-12-04 10:11:14 +03:00
|
|
|
/*
|
2023-12-05 14:28:42 +03:00
|
|
|
outer padding = 16px
|
|
|
|
gap = 12px
|
|
|
|
so... 16 - 12 = 4
|
2023-12-04 10:11:14 +03:00
|
|
|
*/
|
2023-12-05 14:28:42 +03:00
|
|
|
margin-right: -4px;
|
2023-12-04 10:11:14 +03:00
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status.large :is(.media-container, .media-container.media-gt2) {
|
|
|
|
height: auto;
|
2023-07-31 19:12:01 +03:00
|
|
|
/* min-height: 160px; */
|
2023-01-07 09:45:04 +03:00
|
|
|
max-height: 60vh;
|
2022-12-22 05:47:45 +03:00
|
|
|
}
|
2023-01-23 15:35:15 +03:00
|
|
|
.status .media-container .media {
|
2023-09-07 07:00:50 +03:00
|
|
|
box-sizing: content-box;
|
2023-08-07 11:00:12 +03:00
|
|
|
--media-border-width: 1px;
|
2023-01-24 16:10:44 +03:00
|
|
|
--media-radius: 16px;
|
2023-07-30 16:28:17 +03:00
|
|
|
--media-radius-inner: 4px;
|
2023-01-24 16:10:44 +03:00
|
|
|
border-radius: var(--media-radius);
|
2022-12-10 12:14:48 +03:00
|
|
|
overflow: hidden;
|
2022-12-14 20:46:04 +03:00
|
|
|
min-height: 80px;
|
2023-08-07 11:00:12 +03:00
|
|
|
border: var(--media-border-width) solid var(--outline-color);
|
2023-12-03 15:27:49 +03:00
|
|
|
vertical-align: top;
|
2023-12-26 12:06:52 +03:00
|
|
|
|
|
|
|
&:not(.media-audio) {
|
|
|
|
background-color: var(--average-color, var(--bg-faded-color));
|
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-07-30 16:28:17 +03:00
|
|
|
.status .media-container:not(.media-eq1) .media {
|
|
|
|
aspect-ratio: auto !important;
|
|
|
|
}
|
2023-07-30 19:24:45 +03:00
|
|
|
.status .media-container.media-eq1 {
|
2023-07-30 19:37:57 +03:00
|
|
|
width: auto !important;
|
|
|
|
max-width: 100%;
|
2023-07-31 04:31:34 +03:00
|
|
|
display: block;
|
2023-09-14 15:41:03 +03:00
|
|
|
|
|
|
|
figure {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2023-10-02 04:30:35 +03:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2023-10-03 17:15:15 +03:00
|
|
|
/* align-items: flex-end; */
|
2023-10-02 04:30:35 +03:00
|
|
|
column-gap: 4px;
|
2023-09-14 15:41:03 +03:00
|
|
|
|
|
|
|
figcaption {
|
2023-10-03 17:15:15 +03:00
|
|
|
align-self: flex-end;
|
2023-10-02 04:30:35 +03:00
|
|
|
padding: 4px;
|
2023-09-14 15:41:03 +03:00
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
line-height: 1.2;
|
2023-09-28 10:48:32 +03:00
|
|
|
cursor: pointer;
|
2023-10-01 08:18:31 +03:00
|
|
|
white-space: pre-line;
|
2023-10-02 04:30:35 +03:00
|
|
|
flex-basis: 15em;
|
|
|
|
flex-grow: 1;
|
2023-11-02 08:00:07 +03:00
|
|
|
text-wrap: pretty;
|
2023-09-14 15:41:03 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover figure figcaption {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
2023-07-30 19:24:45 +03:00
|
|
|
}
|
2023-07-30 16:28:17 +03:00
|
|
|
.status .media-container.media-eq1 .media {
|
2023-07-31 04:31:34 +03:00
|
|
|
display: inline-block;
|
2023-07-30 16:28:17 +03:00
|
|
|
max-width: 100% !important;
|
2023-09-07 06:59:40 +03:00
|
|
|
min-width: 88px;
|
2023-08-01 13:20:54 +03:00
|
|
|
/* width: auto; */
|
2023-09-07 06:59:40 +03:00
|
|
|
min-height: 88px;
|
2023-08-01 18:54:28 +03:00
|
|
|
/* --maxAspectHeight: max(160px, 33vh);
|
|
|
|
--aspectWidth: calc(--width / --height * var(--maxAspectHeight)); */
|
2023-08-01 18:44:28 +03:00
|
|
|
width: min(var(--aspectWidth), var(--width), 100%);
|
2023-07-30 16:28:17 +03:00
|
|
|
max-height: min(var(--height), 33vh);
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq1 .media[data-orientation='portrait'] {
|
2023-08-02 12:41:00 +03:00
|
|
|
/* width: auto;
|
2023-07-30 16:28:17 +03:00
|
|
|
height: min(var(--height), 45vh);
|
2023-08-02 12:41:00 +03:00
|
|
|
max-height: none; */
|
|
|
|
max-height: min(var(--height), 45vh);
|
2023-07-30 16:28:17 +03:00
|
|
|
}
|
|
|
|
.status.large .media-container.media-eq1 {
|
|
|
|
max-height: min(var(--height), 60vh);
|
2023-12-30 15:29:21 +03:00
|
|
|
|
|
|
|
.media-gif.media-contain {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2023-07-30 16:28:17 +03:00
|
|
|
}
|
2023-08-02 21:02:00 +03:00
|
|
|
.status.large
|
|
|
|
.media-container:not(.status-card .media-container).media-eq1
|
|
|
|
.media {
|
2023-08-02 12:41:00 +03:00
|
|
|
width: min(var(--width), 100%);
|
|
|
|
max-height: min(var(--height), 80vh);
|
2023-07-30 16:28:17 +03:00
|
|
|
}
|
2023-08-02 12:41:00 +03:00
|
|
|
/* .status.large .media-container.media-eq1 .media[data-orientation='portrait'] {
|
|
|
|
height: min(var(--height), 60vh);
|
|
|
|
} */
|
2023-07-30 16:28:17 +03:00
|
|
|
.status-carousel .status .media-container.media-eq1 .media {
|
|
|
|
width: min(var(--width), 100%);
|
|
|
|
height: auto;
|
|
|
|
max-height: 60vh;
|
|
|
|
}
|
2024-01-02 07:27:39 +03:00
|
|
|
.status.status-card .media-container.media-eq1 .media {
|
|
|
|
max-height: 160px;
|
|
|
|
width: auto;
|
|
|
|
max-width: min(var(--width), 100%);
|
|
|
|
}
|
2023-01-23 15:35:15 +03:00
|
|
|
/* Special media borders */
|
|
|
|
.status .media-container.media-eq2 .media:first-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius) var(--media-radius-inner)
|
|
|
|
var(--media-radius-inner) var(--media-radius);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq2 .media:last-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius)
|
|
|
|
var(--media-radius) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:first-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius) var(--media-radius-inner)
|
|
|
|
var(--media-radius-inner) var(--media-radius);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:nth-of-type(2) {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius)
|
|
|
|
var(--media-radius-inner) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:last-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius-inner)
|
|
|
|
var(--media-radius) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:first-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius) var(--media-radius-inner)
|
|
|
|
var(--media-radius-inner) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:nth-of-type(2) {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius)
|
|
|
|
var(--media-radius-inner) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:nth-of-type(3) {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius-inner)
|
|
|
|
var(--media-radius-inner) var(--media-radius);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:last-of-type {
|
2023-07-30 16:28:17 +03:00
|
|
|
border-radius: var(--media-radius-inner) var(--media-radius-inner)
|
|
|
|
var(--media-radius) var(--media-radius-inner);
|
2023-01-23 15:35:15 +03:00
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status .media:only-child {
|
|
|
|
grid-area: span 2 / span 2;
|
2022-12-22 05:47:45 +03:00
|
|
|
}
|
2023-01-07 09:45:04 +03:00
|
|
|
.status:not(.large) .media:only-child {
|
|
|
|
max-width: 480px;
|
|
|
|
}
|
2023-07-31 19:12:01 +03:00
|
|
|
.status.large .media-container:not(.media-eq1) .media:only-child {
|
2023-01-07 09:45:04 +03:00
|
|
|
display: inline-block;
|
|
|
|
min-width: 160px;
|
|
|
|
min-height: 160px;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status .media:first-child:nth-last-child(3) {
|
|
|
|
grid-area: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status:not(.large) .media-container.media-gt4 .media:last-child {
|
|
|
|
position: relative;
|
2022-12-22 05:47:45 +03:00
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status:not(.large) .media-container.media-gt4 .media:last-child:after {
|
|
|
|
content: '4+';
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
display: flex;
|
|
|
|
place-content: center;
|
|
|
|
place-items: center;
|
|
|
|
background-color: var(--bg-faded-blur-color);
|
|
|
|
}
|
|
|
|
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .media:is(:hover, :focus) {
|
2022-12-10 19:52:04 +03:00
|
|
|
border-color: var(--outline-hover-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-09-28 10:48:32 +03:00
|
|
|
.status .media:active:not(:has(button:active)) {
|
2023-01-09 18:44:02 +03:00
|
|
|
filter: brightness(0.8);
|
2023-09-07 07:01:26 +03:00
|
|
|
transform: scale(0.99);
|
2023-01-09 18:44:02 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .media :is(img, video) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
2023-08-01 09:26:22 +03:00
|
|
|
vertical-align: middle;
|
2023-01-07 09:45:04 +03:00
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post) .media {
|
2022-12-10 12:14:48 +03:00
|
|
|
cursor: pointer;
|
2023-09-28 10:48:32 +03:00
|
|
|
|
|
|
|
&[data-has-alt] {
|
|
|
|
position: relative;
|
|
|
|
|
2023-09-28 18:48:01 +03:00
|
|
|
.alt-badge {
|
2023-09-28 10:48:32 +03:00
|
|
|
position: absolute;
|
|
|
|
bottom: 8px;
|
|
|
|
left: 8px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: -12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-20 12:51:41 +03:00
|
|
|
.status .media img:is(:hover, :focus),
|
|
|
|
a:focus-visible .status .media img {
|
2022-12-22 10:08:37 +03:00
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
2023-07-30 16:28:17 +03:00
|
|
|
animation-duration: var(--anim-duration, 5s);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-11 18:46:33 +03:00
|
|
|
body:has(#modal-container .carousel) .status .media img:hover {
|
|
|
|
animation: none;
|
|
|
|
}
|
2023-04-03 06:54:46 +03:00
|
|
|
.status .media .video-container,
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .media video {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-09-07 06:58:17 +03:00
|
|
|
object-fit: scale-down;
|
2023-08-19 09:32:21 +03:00
|
|
|
/* border-radius: calc(var(--media-radius) - var(--media-border-width)); */
|
|
|
|
border-radius: inherit;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
.status :is(.media-video, .media-audio, .media-gif) {
|
2022-12-10 12:14:48 +03:00
|
|
|
position: relative;
|
2022-12-20 12:50:43 +03:00
|
|
|
background-clip: padding-box;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post) :is(.media-video, .media-audio) .media-play {
|
2023-01-02 09:21:38 +03:00
|
|
|
pointer-events: none;
|
2023-08-19 09:39:45 +03:00
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
2022-12-11 10:26:49 +03:00
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
2023-01-02 09:21:38 +03:00
|
|
|
top: 50%;
|
2022-12-11 10:26:49 +03:00
|
|
|
transform: translate(-50%, -50%);
|
2023-09-28 10:48:32 +03:00
|
|
|
color: var(--media-fg-color);
|
|
|
|
background-color: var(--media-bg-color);
|
|
|
|
box-shadow: inset 0 0 0 2px var(--media-outline-color);
|
2023-01-02 09:21:38 +03:00
|
|
|
display: flex;
|
|
|
|
place-content: center;
|
|
|
|
place-items: center;
|
|
|
|
border-radius: 70px;
|
2023-09-23 09:39:05 +03:00
|
|
|
transition: transform 0.2s ease-in-out;
|
2022-12-11 10:26:49 +03:00
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post)
|
|
|
|
:is(.media-video, .media-audio):hover:not(:active)
|
|
|
|
.media-play {
|
2023-08-19 09:39:45 +03:00
|
|
|
transform: translate(-50%, -50%) scale(1.1);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post)
|
|
|
|
:is(.media-video, .media-audio)[data-formatted-duration]:after {
|
2023-01-02 09:21:38 +03:00
|
|
|
font-size: 12px;
|
|
|
|
pointer-events: none;
|
|
|
|
content: attr(data-formatted-duration);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 8px;
|
2023-01-08 20:17:16 +03:00
|
|
|
right: 8px;
|
2023-09-28 10:48:32 +03:00
|
|
|
color: var(--media-fg-color);
|
|
|
|
background-color: var(--media-bg-color);
|
|
|
|
border: var(--hairline-width) solid var(--media-outline-color);
|
2023-01-02 09:21:38 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 4px;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post) .media-audio[data-formatted-duration]:after {
|
2023-01-08 20:17:16 +03:00
|
|
|
content: '♬ ' attr(data-formatted-duration);
|
|
|
|
}
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post) .media-gif[data-label]:not(:hover):after {
|
2023-01-06 13:25:47 +03:00
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
pointer-events: none;
|
|
|
|
content: attr(data-label);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 8px;
|
2023-01-08 20:17:16 +03:00
|
|
|
right: 8px;
|
2023-09-28 10:48:32 +03:00
|
|
|
color: var(--media-fg-color);
|
|
|
|
background-color: var(--media-bg-color);
|
|
|
|
border: var(--hairline-width) solid var(--media-outline-color);
|
2023-01-06 13:25:47 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
2023-11-23 17:59:27 +03:00
|
|
|
.media-gif {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: auto !important;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 2px;
|
|
|
|
background-color: var(--media-outline-color);
|
|
|
|
transform: translateX(calc(var(--progress, 0%) - 100%));
|
|
|
|
border-radius: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
border-right: 1px solid var(--media-fg-color) !important;
|
|
|
|
transition: transform 0.15s linear;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
height: 3px;
|
|
|
|
}
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .media-gif video {
|
|
|
|
object-fit: cover;
|
2022-12-25 20:09:19 +03:00
|
|
|
pointer-events: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-07 09:45:04 +03:00
|
|
|
.status .media-contain {
|
|
|
|
min-width: 160px;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
2023-01-06 13:25:47 +03:00
|
|
|
.status .media-contain video {
|
2023-09-07 06:58:17 +03:00
|
|
|
object-fit: scale-down !important;
|
2023-01-06 13:25:47 +03:00
|
|
|
}
|
2023-12-30 15:29:21 +03:00
|
|
|
.status .media-eq1 .media-hover-animate {
|
|
|
|
transition: border-radius 0.15s ease-out;
|
2023-12-30 16:51:10 +03:00
|
|
|
transition-delay: 0.15s;
|
2023-12-30 15:29:21 +03:00
|
|
|
|
|
|
|
&:hover {
|
2023-12-30 16:51:10 +03:00
|
|
|
transition-delay: 0;
|
2023-12-30 15:29:21 +03:00
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
/* .status .media-audio {
|
2022-12-10 19:52:04 +03:00
|
|
|
border: 0;
|
2022-12-17 12:26:41 +03:00
|
|
|
min-height: 0;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status .media-audio audio {
|
|
|
|
width: 100%;
|
2023-01-08 20:17:16 +03:00
|
|
|
} */
|
2023-11-02 19:41:28 +03:00
|
|
|
:is(.status, .media-post) .media-audio {
|
2023-01-08 20:17:16 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-10-29 18:09:56 +03:00
|
|
|
min-height: 88px;
|
2023-01-08 20:17:16 +03:00
|
|
|
background-image: radial-gradient(
|
|
|
|
circle at center center,
|
2023-10-29 16:41:03 +03:00
|
|
|
transparent,
|
2023-01-08 20:17:16 +03:00
|
|
|
var(--bg-faded-color)
|
|
|
|
),
|
|
|
|
repeating-radial-gradient(
|
|
|
|
circle at center center,
|
|
|
|
transparent,
|
|
|
|
var(--bg-faded-color) 16px
|
|
|
|
);
|
|
|
|
background-blend-mode: multiply;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
2023-04-20 13:56:22 +03:00
|
|
|
.status:not(.large) .hashtag-stuffing {
|
|
|
|
opacity: 0.75;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
.status:not(.large) .hashtag-stuffing:is(:hover, :focus, :focus-within) {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.status:not(.large) .hashtag-stuffing {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
2023-09-24 13:33:08 +03:00
|
|
|
|
|
|
|
/* Convert breaks to spaces */
|
|
|
|
br {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
+ * {
|
|
|
|
margin-left: 1ex;
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 13:56:22 +03:00
|
|
|
}
|
|
|
|
.status:not(.large) .hashtag-stuffing:first-child {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2023-10-02 07:21:26 +03:00
|
|
|
.media-figure-multiple {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
padding: 4px;
|
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
line-height: 1.2;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--text-color);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-10-15 13:28:04 +03:00
|
|
|
|
|
|
|
&:only-child {
|
|
|
|
white-space: pre-line;
|
|
|
|
overflow: auto;
|
|
|
|
text-overflow: unset;
|
2023-10-15 20:55:11 +03:00
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
2023-10-15 13:28:04 +03:00
|
|
|
}
|
2023-10-02 07:21:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
sup {
|
|
|
|
opacity: 0.75;
|
|
|
|
font-variant-numeric: tabular-nums;
|
2023-10-15 13:28:04 +03:00
|
|
|
flex-shrink: 0;
|
2023-10-02 07:21:26 +03:00
|
|
|
}
|
|
|
|
}
|
2023-10-15 03:59:54 +03:00
|
|
|
|
|
|
|
/* Only 4, for now. Would be better if this is a for loop */
|
|
|
|
&:has(.media[data-has-alt]:nth-child(1):is(:hover, :focus))
|
|
|
|
figcaption
|
2023-10-15 13:28:04 +03:00
|
|
|
> div[data-caption-index~='1'],
|
2023-10-15 03:59:54 +03:00
|
|
|
&:has(.media[data-has-alt]:nth-child(2):is(:hover, :focus))
|
|
|
|
figcaption
|
2023-10-15 13:28:04 +03:00
|
|
|
> div[data-caption-index~='2'],
|
2023-10-15 03:59:54 +03:00
|
|
|
&:has(.media[data-has-alt]:nth-child(3):is(:hover, :focus))
|
|
|
|
figcaption
|
2023-10-15 13:28:04 +03:00
|
|
|
> div[data-caption-index~='3'],
|
2023-10-15 03:59:54 +03:00
|
|
|
&:has(.media[data-has-alt]:nth-child(4):is(:hover, :focus))
|
|
|
|
figcaption
|
2023-10-15 13:28:04 +03:00
|
|
|
> div[data-caption-index~='4'] {
|
2023-10-15 03:59:54 +03:00
|
|
|
color: var(--text-color);
|
|
|
|
}
|
2023-10-02 07:21:26 +03:00
|
|
|
}
|
|
|
|
|
2023-01-22 11:27:00 +03:00
|
|
|
.carousel-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.carousel-item button.media-alt {
|
|
|
|
position: absolute;
|
2023-01-30 14:35:28 +03:00
|
|
|
--bottom: 16px;
|
|
|
|
bottom: var(--bottom);
|
|
|
|
bottom: calc(var(--bottom) + env(safe-area-inset-bottom));
|
2023-01-22 11:27:00 +03:00
|
|
|
left: 16px;
|
|
|
|
left: calc(16px + env(safe-area-inset-left));
|
|
|
|
text-align: left;
|
|
|
|
border-radius: 8px;
|
|
|
|
color: var(--text-color);
|
2023-02-11 17:36:19 +03:00
|
|
|
padding: 4px 8px;
|
2023-08-14 15:32:09 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
border: 1px solid var(--outline-color);
|
2023-04-07 14:44:49 +03:00
|
|
|
box-shadow: 0 4px 16px var(--drop-shadow-color);
|
2023-02-17 15:48:38 +03:00
|
|
|
max-width: min(var(--main-width), calc(100% - 32px));
|
2023-01-22 11:27:00 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-02-11 17:36:19 +03:00
|
|
|
gap: 8px;
|
2023-01-22 11:27:00 +03:00
|
|
|
font-size: 90%;
|
2023-03-27 19:29:01 +03:00
|
|
|
z-index: 1;
|
2023-04-07 14:44:49 +03:00
|
|
|
text-shadow: 0 var(--hairline-width) var(--bg-color);
|
2023-10-01 08:18:31 +03:00
|
|
|
white-space: pre-line;
|
|
|
|
|
|
|
|
&:is(:hover, :focus) {
|
|
|
|
mix-blend-mode: normal;
|
|
|
|
}
|
2023-01-22 11:27:00 +03:00
|
|
|
}
|
|
|
|
.carousel-item button.media-alt .media-alt-desc {
|
2023-02-10 09:20:41 +03:00
|
|
|
overflow: hidden;
|
2023-02-10 08:35:43 +03:00
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
2023-02-11 17:36:19 +03:00
|
|
|
line-height: 1.4;
|
2023-01-22 11:27:00 +03:00
|
|
|
}
|
|
|
|
.carousel-item button.media-alt[hidden] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
|
|
.carousel-item button.media-alt {
|
2023-01-30 14:35:28 +03:00
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(var(--bottom)) scale(0.95);
|
|
|
|
transition: all 0.2s ease-in-out;
|
2023-01-22 11:27:00 +03:00
|
|
|
}
|
|
|
|
.carousel-item:hover button.media-alt {
|
2023-01-30 14:35:28 +03:00
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0) scale(1);
|
2023-01-22 11:27:00 +03:00
|
|
|
}
|
|
|
|
.carousel-item button.media-alt[hidden] {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* CARD */
|
|
|
|
|
|
|
|
.card {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 8px;
|
|
|
|
border-radius: 8px;
|
2022-12-10 19:52:04 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
overflow: hidden;
|
|
|
|
color: inherit;
|
2022-12-25 19:43:17 +03:00
|
|
|
align-items: stretch;
|
2022-12-29 03:57:01 +03:00
|
|
|
background-color: var(--bg-color);
|
2023-01-07 15:25:13 +03:00
|
|
|
max-width: 480px;
|
|
|
|
/* max-height: 160px; */
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-21 18:59:34 +03:00
|
|
|
.status.large .card.large,
|
|
|
|
.status-carousel .content-container[data-content-text-weight='1'] .card.large {
|
2022-12-29 03:57:01 +03:00
|
|
|
border-radius: 16px;
|
|
|
|
flex-direction: column;
|
|
|
|
max-height: none;
|
|
|
|
}
|
2023-01-07 15:25:13 +03:00
|
|
|
.card .card-image {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 35%;
|
|
|
|
position: relative;
|
|
|
|
border-inline-end: 1px solid var(--outline-color);
|
2023-12-26 12:06:52 +03:00
|
|
|
background-color: var(--average-color, var(--bg-faded-color));
|
|
|
|
background-clip: padding-box;
|
2023-01-07 15:25:13 +03:00
|
|
|
}
|
|
|
|
.card .card-image img {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
/* .card .image {
|
2022-12-25 19:43:17 +03:00
|
|
|
width: 35%;
|
2022-12-10 12:14:48 +03:00
|
|
|
height: auto;
|
2022-12-25 19:43:17 +03:00
|
|
|
flex-grow: 1;
|
2022-12-11 07:05:07 +03:00
|
|
|
border-inline-end: 1px solid var(--outline-color);
|
2022-12-25 19:43:17 +03:00
|
|
|
object-fit: cover;
|
|
|
|
aspect-ratio: 1 / 1;
|
2023-01-07 15:25:13 +03:00
|
|
|
} */
|
|
|
|
.status.large .card .card-image {
|
|
|
|
aspect-ratio: 1 / 1;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-02-21 18:59:34 +03:00
|
|
|
.status.large .card.large .card-image,
|
|
|
|
.status-carousel
|
|
|
|
.content-container[data-content-text-weight='1']
|
|
|
|
.card.large
|
|
|
|
.card-image {
|
2023-01-07 15:25:13 +03:00
|
|
|
flex-grow: 1;
|
2022-12-29 03:57:01 +03:00
|
|
|
aspect-ratio: 1.91 / 1;
|
|
|
|
width: 100%;
|
2023-01-07 09:45:04 +03:00
|
|
|
max-height: 40vh;
|
2022-12-29 03:57:01 +03:00
|
|
|
border-inline-end: 0;
|
2023-01-03 08:03:22 +03:00
|
|
|
border-block-end: 1px solid var(--outline-color);
|
2022-12-29 03:57:01 +03:00
|
|
|
}
|
2023-02-20 12:51:41 +03:00
|
|
|
.card:is(:hover, :focus) img,
|
|
|
|
a:focus-visible .card img {
|
2022-12-22 10:08:37 +03:00
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
2023-07-30 16:28:17 +03:00
|
|
|
animation-duration: var(--anim-duration, 5s);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.card p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.card .meta-container {
|
2022-12-12 16:53:06 +03:00
|
|
|
padding: 8px;
|
2022-12-12 17:43:47 +03:00
|
|
|
min-width: 0;
|
2022-12-25 19:43:17 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
align-self: center;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-02 17:15:44 +03:00
|
|
|
.status.large .card.large .meta-container,
|
|
|
|
.status-carousel
|
|
|
|
.content-container[data-content-text-weight='1']
|
|
|
|
.card.large
|
|
|
|
.meta-container {
|
2023-01-03 10:51:33 +03:00
|
|
|
align-self: flex-start;
|
2023-01-07 15:25:13 +03:00
|
|
|
flex-grow: 0;
|
2023-01-03 10:51:33 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.card .title {
|
2022-12-15 15:18:48 +03:00
|
|
|
line-height: 1.25;
|
2022-12-10 12:14:48 +03:00
|
|
|
font-weight: normal;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
2022-12-12 11:27:44 +03:00
|
|
|
-webkit-box-orient: vertical;
|
2022-12-10 12:14:48 +03:00
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
2023-11-02 08:00:07 +03:00
|
|
|
text-wrap: balance;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.card .meta {
|
|
|
|
font-size: smaller;
|
|
|
|
opacity: 0.75;
|
|
|
|
margin: 0;
|
2022-12-10 19:52:04 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2022-12-25 19:43:17 +03:00
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-04-18 18:46:59 +03:00
|
|
|
.card.no-image :is(.title, .meta) {
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
line-clamp: 3;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.card .meta.domain {
|
|
|
|
opacity: 1;
|
|
|
|
color: var(--link-color);
|
2022-12-12 17:43:47 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-09-21 17:01:00 +03:00
|
|
|
.card:visited .meta.domain {
|
|
|
|
color: var(--link-visited-color);
|
|
|
|
}
|
2023-08-04 19:15:57 +03:00
|
|
|
.card .meta.domain * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
a.card {
|
|
|
|
text-decoration: none;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
a.card:is(:hover, :focus) {
|
2022-12-29 03:57:01 +03:00
|
|
|
border: 1px solid var(--link-color);
|
|
|
|
box-shadow: 0 0 0 2px var(--link-faded-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-09-21 17:01:00 +03:00
|
|
|
a.card:is(:hover, :focus):visited {
|
|
|
|
border-color: var(--link-visited-color);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.card.video {
|
|
|
|
max-width: 320px;
|
|
|
|
max-height: 320px;
|
|
|
|
}
|
|
|
|
.card.video iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* POLLS */
|
|
|
|
|
2022-12-21 14:46:38 +03:00
|
|
|
.poll {
|
2023-04-17 11:16:52 +03:00
|
|
|
display: inline-block;
|
2022-12-21 14:46:38 +03:00
|
|
|
transition: opacity 0.2s ease-in-out;
|
2023-03-26 18:27:44 +03:00
|
|
|
margin-top: 8px;
|
2023-04-02 10:17:30 +03:00
|
|
|
border-radius: 16px;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
var(--bg-color) 50%,
|
|
|
|
var(--bg-faded-color)
|
|
|
|
);
|
|
|
|
overflow: hidden;
|
2023-04-14 18:16:53 +03:00
|
|
|
box-shadow: inset 0 0 0 1px var(--bg-color);
|
2023-07-23 11:57:43 +03:00
|
|
|
min-width: 50%;
|
2022-12-21 14:46:38 +03:00
|
|
|
}
|
|
|
|
.poll.loading {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.poll.read-only {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-03-30 06:11:35 +03:00
|
|
|
.poll-options {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.poll-option {
|
2023-03-30 10:17:58 +03:00
|
|
|
padding: 4px 8px;
|
2022-12-10 12:14:48 +03:00
|
|
|
display: flex;
|
2023-07-14 05:43:35 +03:00
|
|
|
gap: 16px;
|
2022-12-10 12:14:48 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2023-03-30 06:11:35 +03:00
|
|
|
position: relative;
|
|
|
|
}
|
2023-03-30 20:04:11 +03:00
|
|
|
.poll-option > * {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2023-03-30 06:11:35 +03:00
|
|
|
.poll-option:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--link-faded-color);
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: all 0.2s ease-in-out;
|
2023-03-30 20:04:11 +03:00
|
|
|
z-index: 0;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-30 06:11:35 +03:00
|
|
|
.poll-option:first-child:after {
|
|
|
|
border-top-left-radius: 12px;
|
|
|
|
border-top-right-radius: 12px;
|
2023-03-26 18:27:44 +03:00
|
|
|
}
|
2023-03-30 06:11:35 +03:00
|
|
|
.poll-option:hover:after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.poll-option.poll-result:after {
|
|
|
|
width: var(--percentage);
|
|
|
|
opacity: 1;
|
2023-03-26 18:27:44 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.poll-label {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
cursor: pointer;
|
2023-03-30 20:04:11 +03:00
|
|
|
z-index: 1;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-17 03:51:40 +03:00
|
|
|
.poll-label input:is([type='radio'], [type='checkbox']) {
|
|
|
|
flex-shrink: 0;
|
2023-03-30 10:15:07 +03:00
|
|
|
margin: 3px;
|
2023-03-17 03:51:40 +03:00
|
|
|
}
|
2022-12-14 14:00:04 +03:00
|
|
|
.poll-option-votes {
|
|
|
|
flex-shrink: 0;
|
|
|
|
font-size: 90%;
|
2023-01-13 10:44:42 +03:00
|
|
|
opacity: 0.75;
|
2022-12-14 14:00:04 +03:00
|
|
|
}
|
|
|
|
.poll-option-leading .poll-option-votes {
|
|
|
|
font-weight: bold;
|
2023-01-13 10:44:42 +03:00
|
|
|
opacity: 1;
|
2022-12-14 14:00:04 +03:00
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.poll-vote-button {
|
2023-04-02 10:17:30 +03:00
|
|
|
margin: 8px 8px 0 12px;
|
2023-05-02 15:18:45 +03:00
|
|
|
/* padding-inline: 24px; */
|
|
|
|
min-width: 160px;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.poll-meta {
|
2023-08-09 11:26:29 +03:00
|
|
|
color: var(--text-insignificant-color);
|
2023-04-02 10:17:30 +03:00
|
|
|
margin: 8px 16px;
|
2022-12-14 13:45:34 +03:00
|
|
|
font-size: 90%;
|
2023-05-02 15:18:45 +03:00
|
|
|
user-select: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-03-30 06:11:35 +03:00
|
|
|
.poll-option-title {
|
|
|
|
text-shadow: 0 1px var(--bg-color);
|
|
|
|
}
|
2022-12-18 18:06:05 +03:00
|
|
|
.poll-option-title .icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
|
2022-12-11 16:22:22 +03:00
|
|
|
/* EXTRA META */
|
|
|
|
|
|
|
|
.status .extra-meta {
|
|
|
|
padding-top: 8px;
|
|
|
|
color: var(--text-insignificant-color);
|
2022-12-19 08:38:16 +03:00
|
|
|
font-size: 90%;
|
2022-12-11 16:22:22 +03:00
|
|
|
}
|
|
|
|
.status .extra-meta * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.status .extra-meta a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2023-03-18 15:20:18 +03:00
|
|
|
vertical-align: baseline;
|
|
|
|
text-decoration-thickness: 1px;
|
|
|
|
text-underline-offset: 3px;
|
2022-12-11 16:22:22 +03:00
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .extra-meta a:is(:hover, :focus) {
|
2022-12-11 16:22:22 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .extra-meta .edited:is(:hover, :focus) {
|
2022-12-11 16:22:22 +03:00
|
|
|
cursor: pointer;
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
.status.large .extra-meta {
|
|
|
|
padding-top: 0;
|
2022-12-19 08:38:16 +03:00
|
|
|
margin-left: calc(-50px - 16px);
|
2022-12-11 16:22:22 +03:00
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* ACTIONS */
|
|
|
|
|
|
|
|
.status .actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
.status.large .actions {
|
2022-12-19 08:38:16 +03:00
|
|
|
padding-top: 4px;
|
2022-12-10 12:14:48 +03:00
|
|
|
padding-bottom: 16px;
|
|
|
|
margin-left: calc(-50px - 16px);
|
2022-12-12 16:54:31 +03:00
|
|
|
color: var(--text-insignificant-color);
|
2023-01-14 17:27:02 +03:00
|
|
|
border-top: var(--hairline-width) solid var(--outline-color);
|
2022-12-19 08:38:16 +03:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2023-03-17 12:14:54 +03:00
|
|
|
.status.large .actions.disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action.has-count {
|
|
|
|
flex: 1;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button {
|
2022-12-10 12:14:48 +03:00
|
|
|
min-height: 40px;
|
|
|
|
min-width: 40px;
|
|
|
|
padding: 0 8px;
|
2022-12-17 19:09:22 +03:00
|
|
|
font-variant-numeric: tabular-nums;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain {
|
2022-12-12 16:54:31 +03:00
|
|
|
color: inherit;
|
2022-12-15 20:28:22 +03:00
|
|
|
border: 1.5px solid transparent;
|
2023-04-02 12:10:21 +03:00
|
|
|
backdrop-filter: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-04-11 05:40:59 +03:00
|
|
|
.status .action > button.plain:not(:disabled):is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--link-color);
|
|
|
|
background-color: var(--button-plain-bg-hover-color);
|
|
|
|
}
|
2023-04-11 05:40:59 +03:00
|
|
|
.status .action > button.plain.reblog-button:not(:disabled):is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--reblog-color);
|
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain.reblog-button.checked {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--reblog-color);
|
2022-12-15 20:28:22 +03:00
|
|
|
border-color: var(--reblog-color);
|
|
|
|
}
|
|
|
|
@keyframes reblogged {
|
|
|
|
5% {
|
|
|
|
transform: translate(-2px, -2px);
|
|
|
|
}
|
|
|
|
10% {
|
|
|
|
transform: translate(2px, 2px);
|
|
|
|
}
|
|
|
|
15% {
|
|
|
|
transform: translate(0, 0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translate(30px, -30px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain.reblog-button.checked .icon {
|
2022-12-15 20:28:22 +03:00
|
|
|
animation: reblogged 1s ease-in-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .action > button.plain.favourite-button:is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--favourite-color);
|
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain.favourite-button.checked {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--favourite-color);
|
2022-12-15 20:28:22 +03:00
|
|
|
border-color: var(--favourite-color);
|
|
|
|
}
|
|
|
|
@keyframes hearted {
|
2023-01-07 16:37:16 +03:00
|
|
|
15% {
|
2022-12-25 18:51:17 +03:00
|
|
|
transform: scale(1.25) translateY(-1px);
|
2022-12-15 20:28:22 +03:00
|
|
|
}
|
2023-01-07 16:37:16 +03:00
|
|
|
30% {
|
2022-12-25 18:51:17 +03:00
|
|
|
transform: scale(1);
|
2022-12-15 20:28:22 +03:00
|
|
|
}
|
2023-01-07 16:37:16 +03:00
|
|
|
45% {
|
2022-12-25 18:51:17 +03:00
|
|
|
transform: scale(1.5) translateY(-2px);
|
2022-12-15 20:28:22 +03:00
|
|
|
}
|
|
|
|
100% {
|
2022-12-25 18:51:17 +03:00
|
|
|
transform: scale(1);
|
2022-12-15 20:28:22 +03:00
|
|
|
}
|
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain.favourite-button.checked .icon {
|
2022-12-25 18:51:17 +03:00
|
|
|
animation: hearted 1s ease-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-19 08:38:16 +03:00
|
|
|
.status .action > button.plain.bookmark-button.checked {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--link-color);
|
2022-12-15 20:28:22 +03:00
|
|
|
border-color: var(--link-color);
|
|
|
|
}
|
|
|
|
@keyframes bookmarked {
|
|
|
|
25% {
|
|
|
|
transform: translateY(-10px) rotate(10deg);
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
transform: translateY(-15px) rotate(-10deg);
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-12-25 10:49:39 +03:00
|
|
|
.status .action > button.plain.bookmark-button.checked .icon {
|
2022-12-15 20:28:22 +03:00
|
|
|
animation: bookmarked 1s ease-in-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ENHANCED CONTENT */
|
|
|
|
|
|
|
|
.status .content pre {
|
|
|
|
border-radius: 8px;
|
|
|
|
padding: 8px;
|
|
|
|
margin: 8px 0;
|
|
|
|
overflow: auto;
|
|
|
|
width: 100%;
|
2022-12-10 19:52:04 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom right,
|
|
|
|
var(--bg-faded-color),
|
|
|
|
transparent 160px
|
|
|
|
);
|
2022-12-26 13:05:00 +03:00
|
|
|
white-space: pre-wrap;
|
2023-02-16 16:51:22 +03:00
|
|
|
line-height: 1.2;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
2022-12-13 15:15:02 +03:00
|
|
|
.status .content p code {
|
|
|
|
color: var(--green-color);
|
|
|
|
}
|
|
|
|
|
2024-01-13 19:32:08 +03:00
|
|
|
/* ACTIONS */
|
|
|
|
|
|
|
|
.status-actions {
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border-radius: 8px;
|
|
|
|
z-index: 1;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
box-shadow: 0 2px 6px -3px var(--drop-shadow-color);
|
|
|
|
overflow: clip;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transform: translateX(8px);
|
|
|
|
transform-origin: right center;
|
|
|
|
transition: all 0.1s ease-out 0.3s, border-color 0.3s ease-out;
|
|
|
|
|
|
|
|
button.plain {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
backdrop-filter: none;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
|
|
&:is(:hover, :focus) {
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
filter: none !important;
|
|
|
|
box-shadow: inset 0 0 0 2px var(--bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.reblog-button.checked {
|
|
|
|
color: var(--reblog-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.favourite-button.checked {
|
|
|
|
color: var(--favourite-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bookmark-button.checked {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--outline-hover-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
.status:hover &:not(:hover),
|
|
|
|
&.open {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
2024-01-14 19:31:42 +03:00
|
|
|
@media (pointer: coarse) {
|
|
|
|
.status:has(&):hover {
|
|
|
|
transition: background-color 0.1s ease-out 0.3s;
|
|
|
|
background-color: var(--bg-faded-blur-color);
|
|
|
|
}
|
2024-01-14 14:36:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
button.more-button {
|
2024-01-14 16:33:52 +03:00
|
|
|
color: var(--text-color);
|
2024-01-14 14:36:14 +03:00
|
|
|
background-color: var(--outline-color);
|
2024-01-14 16:33:52 +03:00
|
|
|
box-shadow: inset 0 0 0 2px var(--bg-color);
|
2024-01-14 14:36:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
button:not(.more-button) {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
2024-01-13 19:32:08 +03:00
|
|
|
}
|
|
|
|
|
2022-12-20 15:17:38 +03:00
|
|
|
/* BADGE */
|
|
|
|
|
|
|
|
.status-badge {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
line-height: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
.status-badge .favourite {
|
|
|
|
color: var(--favourite-color);
|
|
|
|
}
|
|
|
|
.status-badge .reblog {
|
|
|
|
color: var(--reblog-color);
|
|
|
|
}
|
|
|
|
.status-badge .bookmark {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
2023-02-17 05:12:59 +03:00
|
|
|
.status-badge .pin {
|
|
|
|
color: var(--red-color);
|
|
|
|
}
|
2023-04-23 16:48:49 +03:00
|
|
|
@keyframes swoosh-from-right {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(300%);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.status-badge > * {
|
|
|
|
animation: swoosh-from-right 1s cubic-bezier(0.51, 0.28, 0.16, 1.26) both;
|
|
|
|
}
|
|
|
|
.status-badge > *:nth-child(2) {
|
|
|
|
animation-delay: 0.1s;
|
|
|
|
}
|
|
|
|
.status-badge > *:nth-child(3) {
|
|
|
|
animation-delay: 0.2s;
|
|
|
|
}
|
|
|
|
.status-badge > *:nth-child(4) {
|
|
|
|
animation-delay: 0.3s;
|
|
|
|
}
|
2022-12-20 15:17:38 +03:00
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* MISC */
|
|
|
|
|
|
|
|
.status-aside {
|
|
|
|
padding: 0 16px 16px 80px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcode-emoji {
|
2023-09-24 10:45:01 +03:00
|
|
|
width: auto;
|
|
|
|
min-width: 1.2em;
|
|
|
|
max-width: 100%;
|
2022-12-10 12:14:48 +03:00
|
|
|
height: 1.2em;
|
2022-12-26 15:39:49 +03:00
|
|
|
vertical-align: text-bottom;
|
2023-09-24 10:45:01 +03:00
|
|
|
object-fit: cover;
|
|
|
|
object-position: left;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-11 16:22:22 +03:00
|
|
|
|
|
|
|
/* EDIT HISTORY */
|
|
|
|
|
|
|
|
#edit-history {
|
|
|
|
min-height: 50vh;
|
|
|
|
min-height: 50dvh;
|
|
|
|
}
|
|
|
|
|
2022-12-25 13:01:01 +03:00
|
|
|
#edit-history h2 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-17 15:48:52 +03:00
|
|
|
#edit-history ol,
|
|
|
|
#edit-history ol li {
|
2022-12-11 16:22:22 +03:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#edit-history .history-item .status {
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
border-radius: 8px;
|
2023-04-17 19:44:29 +03:00
|
|
|
pointer-events: none;
|
2022-12-11 16:22:22 +03:00
|
|
|
}
|
2023-03-17 12:14:54 +03:00
|
|
|
|
|
|
|
/* DELETED */
|
|
|
|
|
|
|
|
.status-deleted {
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
.status-deleted-tag {
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
2023-03-21 19:09:36 +03:00
|
|
|
|
2024-01-14 14:36:14 +03:00
|
|
|
/* MENU OPEN */
|
|
|
|
|
|
|
|
.status-menu-open {
|
|
|
|
background-color: var(--link-bg-hover-color) !important;
|
|
|
|
}
|
|
|
|
|
2023-03-21 19:09:36 +03:00
|
|
|
/* FILTERED */
|
|
|
|
|
2023-03-23 05:40:31 +03:00
|
|
|
#filtered-status-peek {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
|
|
|
|
2023-03-21 19:09:36 +03:00
|
|
|
#filtered-status-peek main > p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filtered-status-peek main .heading {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2023-09-23 14:14:11 +03:00
|
|
|
#filtered-status-peek {
|
|
|
|
.status-link {
|
|
|
|
margin: 8px 0 0;
|
|
|
|
border-radius: 16px;
|
|
|
|
border: var(--hairline-width) solid var(--divider-color);
|
|
|
|
position: relative;
|
|
|
|
max-height: 33vh;
|
|
|
|
max-height: 33dvh;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&.truncated {
|
|
|
|
.status {
|
|
|
|
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: attr(data-read-more);
|
|
|
|
line-height: 1;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
--inset-offset: 16px;
|
|
|
|
inset-block-end: var(--inset-offset);
|
|
|
|
inset-inline-end: var(--inset-offset);
|
|
|
|
color: var(--text-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
border: 1px dashed var(--link-color);
|
|
|
|
box-shadow: 0 0 0 1px var(--bg-color), 0 -5px 10px var(--bg-color),
|
|
|
|
0 -5px 15px var(--bg-color), 0 -5px 20px var(--bg-color);
|
|
|
|
padding: 0.5em 0.75em;
|
|
|
|
border-radius: 10em;
|
|
|
|
font-size: 90%;
|
|
|
|
white-space: nowrap;
|
|
|
|
transition: transform 0.2s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:is(:hover, :focus):after {
|
|
|
|
color: var(--link-color);
|
|
|
|
transform: translate(2px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status {
|
|
|
|
pointer-events: none;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
}
|
2023-03-21 19:09:36 +03:00
|
|
|
}
|
2023-04-06 17:51:48 +03:00
|
|
|
|
|
|
|
/* REACTIONS */
|
|
|
|
|
|
|
|
#reactions-container main ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
column-gap: 1.5em;
|
|
|
|
row-gap: 16px;
|
|
|
|
}
|
|
|
|
#reactions-container main ul li {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 16em;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
#reactions-container main ul li .account-block-acct {
|
|
|
|
font-size: 80%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#reactions-container .reactions-block {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
#reactions-container .reactions-block .favourite-icon {
|
|
|
|
color: var(--favourite-color);
|
|
|
|
}
|
|
|
|
#reactions-container .reactions-block .reblog-icon {
|
|
|
|
color: var(--reblog-color);
|
|
|
|
}
|
2023-09-28 18:48:01 +03:00
|
|
|
|
|
|
|
/* ALT BADGE */
|
|
|
|
|
|
|
|
.alt-badge {
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--media-fg-color);
|
|
|
|
background-color: var(--media-bg-color);
|
|
|
|
border: var(--hairline-width) solid var(--media-outline-color);
|
2024-01-02 07:27:22 +03:00
|
|
|
/* mix-blend-mode: luminosity; */
|
2023-09-28 18:48:01 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
opacity: 0.65;
|
|
|
|
|
2023-10-02 07:21:26 +03:00
|
|
|
sup {
|
|
|
|
vertical-align: super;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 0;
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
|
|
|
|
2023-09-28 18:48:01 +03:00
|
|
|
&.clickable {
|
|
|
|
opacity: 0.75;
|
|
|
|
border-width: 2px;
|
|
|
|
|
|
|
|
&:is(:hover, :focus):not(:active) {
|
|
|
|
transition: 0.15s ease-out;
|
|
|
|
transition-property: transform, opacity, mix-blend-mode;
|
|
|
|
transform: scale(1.15);
|
2023-10-01 08:18:31 +03:00
|
|
|
opacity: 0.9;
|
2023-09-28 18:48:01 +03:00
|
|
|
mix-blend-mode: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|