2022-12-10 12:14:48 +03:00
|
|
|
/* REBLOG + REPLY-TO */
|
|
|
|
|
|
|
|
.status-reblog {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom right,
|
|
|
|
var(--reblog-faded-color),
|
|
|
|
transparent 160px
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status-reply-to {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom right,
|
|
|
|
var(--reply-to-faded-color),
|
|
|
|
transparent 160px
|
|
|
|
);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status-reblog .status-reply-to {
|
2022-12-12 11:27:44 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
to top left,
|
|
|
|
var(--reply-to-faded-color),
|
|
|
|
transparent 160px
|
|
|
|
);
|
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 {
|
2022-12-23 16:25:01 +03:00
|
|
|
line-height: 1.4;
|
2022-12-10 12:14:48 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
.status-pre-meta .name-text {
|
|
|
|
display: inline;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status-pre-meta .icon {
|
|
|
|
color: var(--reblog-color);
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* STATUS */
|
|
|
|
|
|
|
|
.status {
|
|
|
|
display: flex;
|
|
|
|
padding: 16px 16px 20px;
|
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;
|
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
|
|
|
}
|
|
|
|
.status.skeleton {
|
|
|
|
color: var(--outline-color);
|
2023-01-01 11:09:10 +03:00
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status.skeleton > .avatar {
|
|
|
|
background-color: var(--outline-color);
|
|
|
|
}
|
|
|
|
|
2022-12-13 15:42:09 +03:00
|
|
|
.status .container {
|
2022-12-10 12:14:48 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2022-12-13 15:42:09 +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;
|
|
|
|
gap: 8px;
|
|
|
|
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;
|
|
|
|
text-overflow: ellipsis;
|
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) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: inherit;
|
|
|
|
text-align: end;
|
|
|
|
opacity: 0.5;
|
|
|
|
text-decoration: none;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 4px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status > .container > .meta a.time:is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
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;
|
|
|
|
margin-left: 4px;
|
|
|
|
gap: 4px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.status-reply-badge .icon {
|
|
|
|
color: var(--reply-to-color);
|
|
|
|
}
|
|
|
|
.status-thread-badge {
|
|
|
|
display: inline-flex;
|
2022-12-24 09:15:47 +03:00
|
|
|
margin: 4px 0 0 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;
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
.status.large .content-container {
|
|
|
|
margin-left: calc(-50px - 16px);
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status .content-container.has-spoiler .spoiler {
|
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;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-01-05 08:30:19 +03:00
|
|
|
.status
|
|
|
|
.content-container.has-spoiler
|
|
|
|
.spoiler
|
|
|
|
~ *:not(.media-container, .card),
|
|
|
|
.status .content-container.has-spoiler .spoiler ~ .card .meta-container {
|
2023-01-10 17:10:29 +03:00
|
|
|
filter: blur(5px) invert(0.5);
|
2023-01-05 08:30:19 +03:00
|
|
|
/* filter: url(#spoiler); */
|
2023-01-02 17:02:21 +03:00
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
image-rendering: crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
2023-01-05 08:30:19 +03:00
|
|
|
/* transform: translate3d(-5px, -5px, 0); */
|
2022-12-10 12:14:48 +03:00
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2022-12-24 11:51:19 +03:00
|
|
|
contain: layout;
|
2023-01-10 17:10:29 +03:00
|
|
|
transform: scale(0.97);
|
|
|
|
transition: transform 0.1s ease-in-out;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-05 08:30:19 +03:00
|
|
|
.status .content-container.has-spoiler .spoiler ~ .media-container .media > *,
|
|
|
|
.status .content-container.has-spoiler .spoiler ~ .card > img {
|
|
|
|
filter: blur(32px);
|
|
|
|
image-rendering: crisp-edges;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
animation: none !important;
|
|
|
|
}
|
|
|
|
/* @media (prefers-color-scheme: dark) {
|
|
|
|
.status
|
|
|
|
.content-container.has-spoiler
|
|
|
|
.spoiler
|
|
|
|
~ *:not(.media-container, .card),
|
|
|
|
.status .content-container.has-spoiler .spoiler ~ .card .meta-container {
|
2022-12-24 17:52:19 +03:00
|
|
|
filter: url(#spoiler-dark);
|
|
|
|
}
|
2023-01-05 08:30:19 +03:00
|
|
|
} */
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .content-container.show-spoiler .spoiler {
|
2022-12-10 19:52:04 +03:00
|
|
|
border-style: dotted;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-05 08:30:19 +03:00
|
|
|
.status
|
|
|
|
.content-container.show-spoiler
|
|
|
|
.spoiler
|
|
|
|
~ *:not(.media-container, .card),
|
|
|
|
.status .content-container.show-spoiler .spoiler ~ .card .meta-container {
|
2022-12-24 17:52:19 +03:00
|
|
|
filter: none !important;
|
2022-12-24 11:51:19 +03:00
|
|
|
transform: none;
|
2022-12-10 12:14:48 +03:00
|
|
|
pointer-events: auto;
|
|
|
|
user-select: auto;
|
2023-01-05 08:30:19 +03:00
|
|
|
text-rendering: auto;
|
|
|
|
image-rendering: auto;
|
|
|
|
}
|
|
|
|
.status .content-container.show-spoiler .spoiler ~ .media-container .media > *,
|
|
|
|
.status .content-container.show-spoiler .spoiler ~ .card > img {
|
|
|
|
filter: none;
|
|
|
|
image-rendering: auto;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
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;
|
2022-12-17 16:06:51 +03:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-12-26 09:33:46 +03:00
|
|
|
.timeline-deck .status-reblog .status .content {
|
|
|
|
/* Deprioritise long-form boosts */
|
|
|
|
max-height: 40vh;
|
|
|
|
max-height: 40dvh;
|
|
|
|
}
|
2022-12-17 18:01:34 +03:00
|
|
|
.timeline-deck .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
|
|
|
}
|
2022-12-17 16:06:51 +03:00
|
|
|
.timeline-deck .status .content.truncated:after {
|
|
|
|
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;
|
|
|
|
}
|
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);
|
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;
|
|
|
|
}
|
|
|
|
.status .content .invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.status .content .ellipsis::after {
|
|
|
|
content: '…';
|
|
|
|
}
|
|
|
|
.status.large .content {
|
|
|
|
font-size: 150%;
|
2022-12-14 19:41:48 +03:00
|
|
|
font-size: calc(100% + 50% / var(--content-text-weight));
|
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;
|
2022-12-28 05:51:57 +03:00
|
|
|
height: 160px;
|
|
|
|
}
|
|
|
|
.status .media-container.media-gt2 {
|
|
|
|
height: 200px;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-28 05:51:57 +03:00
|
|
|
.status.large :is(.media-container, .media-container.media-gt2) {
|
|
|
|
height: auto;
|
2022-12-30 08:37:59 +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 {
|
2022-12-10 12:14:48 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
2022-12-14 20:46:04 +03:00
|
|
|
min-height: 80px;
|
2022-12-10 19:52:04 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-23 15:35:15 +03:00
|
|
|
/* Special media borders */
|
|
|
|
.status .media-container.media-eq2 .media:first-of-type {
|
|
|
|
border-radius: 8px 0 0 8px;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq2 .media:last-of-type {
|
|
|
|
border-radius: 0 8px 8px 0;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:first-of-type {
|
|
|
|
border-radius: 8px 0 0 8px;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:nth-of-type(2) {
|
|
|
|
border-radius: 0 8px 0 0;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq3 .media:last-of-type {
|
|
|
|
border-radius: 0 0 8px 0;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:first-of-type {
|
|
|
|
border-radius: 8px 0 0 0;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:nth-of-type(2) {
|
|
|
|
border-radius: 0 8px 0 0;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:nth-of-type(3) {
|
|
|
|
border-radius: 0 0 0 8px;
|
|
|
|
}
|
|
|
|
.status .media-container.media-eq4 .media:last-of-type {
|
|
|
|
border-radius: 0 0 8px 0;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
.status.large .media:only-child {
|
|
|
|
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-01-09 18:44:02 +03:00
|
|
|
.status .media:active {
|
|
|
|
filter: brightness(0.8);
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.status .media :is(img, video) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
2023-01-07 09:45:04 +03:00
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
.status .media {
|
2022-12-10 12:14:48 +03:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
@keyframes position-object {
|
|
|
|
0% {
|
|
|
|
object-position: 50% 50%;
|
|
|
|
}
|
|
|
|
25% {
|
|
|
|
object-position: 0% 0%;
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
object-position: 100% 100%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
object-position: 50% 50%;
|
|
|
|
}
|
|
|
|
}
|
2023-01-07 09:45:04 +03:00
|
|
|
.status .media img:hover {
|
2022-12-22 10:08:37 +03:00
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.status .media video {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
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-01-08 20:17:16 +03:00
|
|
|
.status :is(.media-video, .media-audio)[data-formatted-duration]:before {
|
2023-01-02 09:21:38 +03:00
|
|
|
pointer-events: none;
|
|
|
|
content: '⏵';
|
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
|
|
|
font-size: 50px;
|
2022-12-11 10:26:49 +03:00
|
|
|
position: absolute;
|
2023-01-02 09:21:38 +03:00
|
|
|
text-indent: 3px;
|
2022-12-11 10:26:49 +03:00
|
|
|
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-01-02 09:21:38 +03:00
|
|
|
color: var(--text-insignificant-color);
|
2023-01-07 15:25:13 +03:00
|
|
|
background-color: var(--backdrop-color);
|
2022-12-12 11:27:44 +03:00
|
|
|
backdrop-filter: blur(6px) saturate(3) invert(0.2);
|
2023-01-02 09:21:38 +03:00
|
|
|
display: flex;
|
|
|
|
place-content: center;
|
|
|
|
place-items: center;
|
|
|
|
border-radius: 70px;
|
2023-01-07 15:25:13 +03:00
|
|
|
transition: all 0.2s ease-in-out;
|
2022-12-11 10:26:49 +03:00
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
.status :is(.media-video, .media-audio)[data-formatted-duration]:hover:before {
|
2023-01-02 09:21:38 +03:00
|
|
|
color: var(--text-color);
|
2023-01-07 15:25:13 +03:00
|
|
|
background-color: var(--bg-blur-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
.status :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-01-02 09:21:38 +03:00
|
|
|
color: var(--bg-color);
|
|
|
|
background-color: var(--text-color);
|
|
|
|
backdrop-filter: blur(6px) saturate(3) invert(0.2);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 4px;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2023-01-08 20:17:16 +03:00
|
|
|
.status .media-audio[data-formatted-duration]:after {
|
|
|
|
content: '♬ ' attr(data-formatted-duration);
|
|
|
|
}
|
2023-01-06 13:25:47 +03:00
|
|
|
.status .media-gif[data-label]:not(:hover):after {
|
|
|
|
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-01-06 13:25:47 +03:00
|
|
|
color: var(--bg-faded-color);
|
|
|
|
background-color: var(--text-insignificant-color);
|
|
|
|
backdrop-filter: blur(6px) saturate(3) invert(0.2);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
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 {
|
|
|
|
object-fit: contain !important;
|
|
|
|
}
|
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
|
|
|
} */
|
|
|
|
.status .media-audio {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-image: radial-gradient(
|
|
|
|
circle at center center,
|
|
|
|
var(--bg-color),
|
|
|
|
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-01-22 11:27:00 +03:00
|
|
|
.carousel-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.carousel-item button.media-alt {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 16px;
|
|
|
|
bottom: calc(16px + env(safe-area-inset-bottom));
|
|
|
|
left: 16px;
|
|
|
|
left: calc(16px + env(safe-area-inset-left));
|
|
|
|
text-align: left;
|
|
|
|
border-radius: 8px;
|
|
|
|
color: var(--text-color);
|
|
|
|
padding: 4px 8px 4px 4px;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
box-shadow: 0 4px 16px var(--outline-color);
|
|
|
|
max-width: min(40em, calc(100% - 32px));
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
.carousel-item button.media-alt .media-alt-desc {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-01-22 18:57:43 +03:00
|
|
|
line-height: 1.4;
|
2023-01-22 11:27:00 +03:00
|
|
|
}
|
|
|
|
@media (min-width: 40em) {
|
|
|
|
.carousel-item button.media-alt .media-alt-desc {
|
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.carousel-item button.media-alt[hidden] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
|
|
.carousel-item button.media-alt {
|
|
|
|
transform: translateY(200%);
|
|
|
|
transition: transform 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
.carousel-item:hover button.media-alt {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
.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-01-07 15:25:13 +03:00
|
|
|
.status.large .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);
|
|
|
|
}
|
|
|
|
.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-01-07 15:25:13 +03:00
|
|
|
.status.large .card.large .card-image {
|
|
|
|
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-01-07 15:25:13 +03:00
|
|
|
.card:is(:hover, :focus) img {
|
2022-12-22 10:08:37 +03:00
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
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-01-07 15:25:13 +03:00
|
|
|
.status.large .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;
|
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
|
|
|
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
|
|
|
}
|
|
|
|
.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 {
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
.poll.loading {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.poll.read-only {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-12-10 12:14:48 +03:00
|
|
|
.poll-option {
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 8px;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
justify-content: space-between;
|
2023-01-09 18:44:24 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
2022-12-12 11:27:44 +03:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
var(--link-faded-color),
|
|
|
|
var(--link-faded-color) var(--percentage),
|
|
|
|
transparent var(--percentage),
|
|
|
|
transparent
|
|
|
|
);
|
2023-01-09 18:44:24 +03:00
|
|
|
background-repeat: no-repeat;
|
2022-12-10 12:14:48 +03:00
|
|
|
border-radius: 8px;
|
2023-01-09 18:44:24 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
align-items: center;
|
2023-01-09 18:44:24 +03:00
|
|
|
text-shadow: 0 1px var(--bg-blur-color);
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
.poll-label {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
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 {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.poll-meta {
|
|
|
|
margin: 8px 0;
|
2022-12-14 13:45:34 +03:00
|
|
|
font-size: 90%;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
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;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
.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;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .action > button.plain:is(:hover, :focus) {
|
2022-12-10 12:14:48 +03:00
|
|
|
color: var(--link-color);
|
|
|
|
background-color: var(--button-plain-bg-hover-color);
|
|
|
|
}
|
2022-12-29 11:11:58 +03:00
|
|
|
.status .action > button.plain.reblog-button: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;
|
2022-12-10 12:14:48 +03:00
|
|
|
}
|
|
|
|
|
2022-12-13 15:15:02 +03:00
|
|
|
.status .content p code {
|
|
|
|
color: var(--green-color);
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2022-12-10 12:14:48 +03:00
|
|
|
/* MISC */
|
|
|
|
|
|
|
|
.status-aside {
|
|
|
|
padding: 0 16px 16px 80px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcode-emoji {
|
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
2022-12-26 15:39:49 +03:00
|
|
|
vertical-align: text-bottom;
|
2022-12-10 12:14:48 +03:00
|
|
|
object-fit: contain;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
2022-12-12 11:27:44 +03:00
|
|
|
#edit-history :is(ol, 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;
|
|
|
|
}
|