2023-03-11 09:05:56 +03:00
|
|
|
.account-container {
|
2023-10-24 18:19:14 +03:00
|
|
|
/* display: flex; */
|
|
|
|
/* flex-direction: column; */
|
|
|
|
/* overflow: hidden; */
|
|
|
|
overflow-y: auto;
|
2023-03-11 09:05:56 +03:00
|
|
|
max-width: 100%;
|
2023-10-24 18:19:14 +03:00
|
|
|
--banner-overlap: 44px;
|
2023-12-26 11:00:39 +03:00
|
|
|
--posting-stats-size: 8px;
|
|
|
|
--original-color: var(--link-color);
|
|
|
|
|
|
|
|
.note {
|
2024-02-26 06:56:18 +03:00
|
|
|
font-size: 0.95em;
|
2023-12-26 11:00:39 +03:00
|
|
|
line-height: 1.4;
|
|
|
|
text-wrap: pretty;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
2024-02-26 06:56:18 +03:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-12-26 11:00:39 +03:00
|
|
|
> *:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:has(p)):not(:empty) {
|
|
|
|
/* Some notes don't have <p> tags, so we need to add some padding */
|
|
|
|
padding: 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.posting-stats {
|
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
|
|
|
&:is(:hover, :focus-within) {
|
|
|
|
background-color: var(--link-bg-hover-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.posting-stats-bar {
|
|
|
|
--gap: 0.5px;
|
|
|
|
--gap-color: var(--outline-color);
|
|
|
|
height: var(--posting-stats-size);
|
|
|
|
border-radius: var(--posting-stats-size);
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 8px 0;
|
|
|
|
box-shadow: inset 0 0 0 1px var(--outline-color),
|
|
|
|
inset 0 0 0 1.5px var(--bg-blur-color);
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
animation: swoosh-bg-image 0.3s ease-in-out 0.3s both;
|
|
|
|
background-image: linear-gradient(
|
2024-08-04 08:32:30 +03:00
|
|
|
var(--to-forward),
|
2023-12-26 11:00:39 +03:00
|
|
|
var(--original-color) 0%,
|
|
|
|
var(--original-color) calc(var(--originals-percentage) - var(--gap)),
|
|
|
|
var(--gap-color) calc(var(--originals-percentage) - var(--gap)),
|
|
|
|
var(--gap-color) calc(var(--originals-percentage) + var(--gap)),
|
|
|
|
var(--reply-to-color) calc(var(--originals-percentage) + var(--gap)),
|
|
|
|
var(--reply-to-color) calc(var(--replies-percentage) - var(--gap)),
|
|
|
|
var(--gap-color) calc(var(--replies-percentage) - var(--gap)),
|
|
|
|
var(--gap-color) calc(var(--replies-percentage) + var(--gap)),
|
|
|
|
var(--reblog-color) calc(var(--replies-percentage) + var(--gap)),
|
|
|
|
var(--reblog-color) 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.posting-stats-legends {
|
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.posting-stats-legend-item {
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--posting-stats-size);
|
|
|
|
height: var(--posting-stats-size);
|
|
|
|
border-radius: var(--posting-stats-size);
|
|
|
|
background-color: var(--text-insignificant-color);
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 0 4px 2px;
|
|
|
|
/* border: 1px solid var(--outline-color); */
|
|
|
|
box-shadow: inset 0 0 0 1px var(--outline-color),
|
|
|
|
inset 0 0 0 1.5px var(--bg-blur-color);
|
|
|
|
|
|
|
|
&.posting-stats-legend-item-originals {
|
|
|
|
background-color: var(--original-color);
|
|
|
|
}
|
|
|
|
&.posting-stats-legend-item-replies {
|
|
|
|
background-color: var(--reply-to-color);
|
|
|
|
}
|
|
|
|
&.posting-stats-legend-item-boosts {
|
|
|
|
background-color: var(--reblog-color);
|
|
|
|
}
|
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account-container.skeleton {
|
|
|
|
color: var(--outline-color);
|
|
|
|
}
|
|
|
|
|
2023-09-20 12:28:08 +03:00
|
|
|
.account-container .account-moved {
|
|
|
|
animation: fade-in 0.3s both ease-in-out 0.3s;
|
|
|
|
padding: 16px;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
inset-inline: 8px;
|
2023-10-29 16:21:09 +03:00
|
|
|
z-index: 3;
|
2023-09-20 12:28:08 +03:00
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
box-shadow: 0 8px 16px var(--drop-shadow-color);
|
|
|
|
border-radius: calc(16px - 8px);
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0 0 8px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-block {
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid var(--link-faded-color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--link-bg-hover-color);
|
|
|
|
border-color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
b {
|
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
~ * {
|
|
|
|
/* pointer-events: none; */
|
2023-10-29 16:21:09 +03:00
|
|
|
filter: grayscale(0.75) opacity(0.75);
|
2023-09-20 12:28:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:05:56 +03:00
|
|
|
.account-container .header-banner {
|
|
|
|
/* pointer-events: none; */
|
2023-10-24 18:19:14 +03:00
|
|
|
vertical-align: top;
|
2023-03-11 09:05:56 +03:00
|
|
|
aspect-ratio: 6 / 1;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
object-fit: cover;
|
|
|
|
/* mask fade out bottom of banner */
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(0, 0%, 0%) 0%,
|
|
|
|
hsla(0, 0%, 0%, 0.987) 14%,
|
|
|
|
hsla(0, 0%, 0%, 0.951) 26.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.896) 36.8%,
|
|
|
|
hsla(0, 0%, 0%, 0.825) 45.9%,
|
|
|
|
hsla(0, 0%, 0%, 0.741) 53.7%,
|
|
|
|
hsla(0, 0%, 0%, 0.648) 60.4%,
|
|
|
|
hsla(0, 0%, 0%, 0.55) 66.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.45) 71.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.352) 75.6%,
|
|
|
|
hsla(0, 0%, 0%, 0.259) 79.6%,
|
|
|
|
hsla(0, 0%, 0%, 0.175) 83.4%,
|
|
|
|
hsla(0, 0%, 0%, 0.104) 87.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.049) 91.1%,
|
|
|
|
hsla(0, 0%, 0%, 0.013) 95.3%,
|
|
|
|
hsla(0, 0%, 0%, 0) 100%
|
|
|
|
);
|
2023-10-24 18:19:14 +03:00
|
|
|
margin-bottom: calc(-1 * var(--banner-overlap));
|
2023-03-14 06:50:27 +03:00
|
|
|
user-select: none;
|
|
|
|
-webkit-user-drag: none;
|
2023-06-14 16:42:28 +03:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s ease-out;
|
|
|
|
}
|
|
|
|
.account-container .header-banner.loaded {
|
|
|
|
opacity: 1;
|
2023-03-14 06:50:27 +03:00
|
|
|
}
|
2023-03-15 18:23:12 +03:00
|
|
|
.sheet .account-container .header-banner {
|
2024-08-04 08:32:30 +03:00
|
|
|
border-start-start-radius: 16px;
|
|
|
|
border-start-end-radius: 16px;
|
2023-03-15 18:23:12 +03:00
|
|
|
}
|
2023-03-14 06:50:27 +03:00
|
|
|
.account-container .header-banner.header-is-avatar {
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(0, 0%, 0%) 0%,
|
|
|
|
hsla(0, 0%, 0%, 0.987) 8.1%,
|
|
|
|
hsla(0, 0%, 0%, 0.951) 15.5%,
|
|
|
|
hsla(0, 0%, 0%, 0.896) 22.5%,
|
|
|
|
hsla(0, 0%, 0%, 0.825) 29%,
|
|
|
|
hsla(0, 0%, 0%, 0.741) 35.3%,
|
|
|
|
hsla(0, 0%, 0%, 0.648) 41.2%,
|
|
|
|
hsla(0, 0%, 0%, 0.55) 47.1%,
|
|
|
|
hsla(0, 0%, 0%, 0.45) 52.9%,
|
|
|
|
hsla(0, 0%, 0%, 0.352) 58.8%,
|
|
|
|
hsla(0, 0%, 0%, 0.259) 64.7%,
|
|
|
|
hsla(0, 0%, 0%, 0.175) 71%,
|
|
|
|
hsla(0, 0%, 0%, 0.104) 77.5%,
|
|
|
|
hsla(0, 0%, 0%, 0.049) 84.5%,
|
|
|
|
hsla(0, 0%, 0%, 0.013) 91.9%,
|
|
|
|
hsla(0, 0%, 0%, 0) 100%
|
|
|
|
);
|
2023-03-15 08:06:41 +03:00
|
|
|
filter: blur(32px) saturate(3) opacity(0.5);
|
2023-03-14 06:50:27 +03:00
|
|
|
pointer-events: none;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
.account-container .header-banner:hover {
|
|
|
|
animation: position-object 5s ease-in-out 1s 5;
|
|
|
|
}
|
2023-03-13 05:53:15 +03:00
|
|
|
.account-container .header-banner:active {
|
|
|
|
mask-image: none;
|
2023-10-24 18:19:14 +03:00
|
|
|
|
|
|
|
& + header {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + header .avatar + * {
|
|
|
|
transition: opacity 0.3s ease-in-out;
|
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&,
|
|
|
|
& + header .avatar {
|
|
|
|
transition: filter 0.3s ease-in-out;
|
|
|
|
filter: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + header .avatar img {
|
|
|
|
transition: border-radius 0.3s ease-in-out;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
2023-03-13 05:53:15 +03:00
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
|
|
|
|
@media (min-height: 480px) {
|
2023-03-14 06:50:27 +03:00
|
|
|
.account-container .header-banner:not(.header-is-avatar) {
|
2023-03-11 09:05:56 +03:00
|
|
|
aspect-ratio: 3 / 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-container header {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
text-shadow: -8px 0 12px -6px var(--bg-color), 8px 0 12px -6px var(--bg-color),
|
|
|
|
-8px 0 24px var(--header-color-3, --bg-color),
|
|
|
|
8px 0 24px var(--header-color-4, --bg-color);
|
2023-03-13 09:24:53 +03:00
|
|
|
animation: fade-in 0.3s both ease-in-out 0.1s;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
.account-container header .avatar {
|
2023-03-13 05:10:21 +03:00
|
|
|
/* box-shadow: -8px 0 24px var(--header-color-3, --bg-color),
|
|
|
|
8px 0 24px var(--header-color-4, --bg-color); */
|
2023-03-13 09:24:53 +03:00
|
|
|
overflow: initial;
|
|
|
|
filter: drop-shadow(-2px 0 4px var(--header-color-3, --bg-color))
|
|
|
|
drop-shadow(2px 0 4px var(--header-color-4, --bg-color));
|
|
|
|
}
|
|
|
|
.account-container header .avatar:not(.has-alpha) img {
|
2023-04-10 19:26:43 +03:00
|
|
|
border-radius: inherit;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
|
2023-03-13 05:42:34 +03:00
|
|
|
.account-container main > *:first-child {
|
2023-03-13 09:24:53 +03:00
|
|
|
animation: fade-in 0.3s both ease-in-out 0.15s;
|
2023-03-13 05:42:34 +03:00
|
|
|
}
|
|
|
|
.account-container main > *:first-child ~ * {
|
2023-03-13 09:24:53 +03:00
|
|
|
animation: fade-in 0.3s both ease-in-out 0.2s;
|
2023-03-13 05:42:34 +03:00
|
|
|
}
|
|
|
|
|
2023-10-24 18:19:14 +03:00
|
|
|
.account-container .account-block .account-block-acct {
|
2023-12-20 08:55:56 +03:00
|
|
|
display: block;
|
2023-10-24 18:19:14 +03:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2023-10-17 15:20:26 +03:00
|
|
|
.private-note-tag {
|
|
|
|
z-index: 1;
|
|
|
|
appearance: none;
|
|
|
|
display: inline-block;
|
|
|
|
color: var(--private-note-text-color);
|
|
|
|
background-color: var(--private-note-bg-color);
|
|
|
|
border: 1px solid var(--private-note-border-color);
|
|
|
|
padding: 4px;
|
|
|
|
line-height: normal;
|
|
|
|
font-size: smaller;
|
|
|
|
border-radius: 0;
|
|
|
|
align-self: center !important;
|
|
|
|
/* clip a dog ear on top right */
|
|
|
|
clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
|
2024-08-04 08:32:30 +03:00
|
|
|
&:dir(rtl) {
|
|
|
|
/* top left */
|
|
|
|
clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
|
|
|
|
}
|
2023-10-17 15:20:26 +03:00
|
|
|
/* 4x4px square on top right */
|
|
|
|
background-size: 4px 4px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: top right;
|
2024-08-04 08:32:30 +03:00
|
|
|
&:dir(rtl) {
|
|
|
|
background-position: top left;
|
|
|
|
}
|
2023-10-17 15:20:26 +03:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
var(--private-note-border-color),
|
|
|
|
var(--private-note-border-color)
|
|
|
|
);
|
|
|
|
transition: transform 0.15s ease-in-out;
|
2023-10-17 18:23:58 +03:00
|
|
|
overflow-wrap: anywhere;
|
2023-10-17 15:20:26 +03:00
|
|
|
|
|
|
|
span {
|
|
|
|
color: inherit;
|
|
|
|
opacity: 0.75;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
2024-08-04 08:32:30 +03:00
|
|
|
text-align: start;
|
2023-10-17 15:20:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:active) {
|
|
|
|
filter: none !important;
|
|
|
|
transform: rotate(-0.5deg) scale(1.05);
|
|
|
|
|
|
|
|
span {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.account-container .private-note {
|
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding: 12px;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5em;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
b {
|
|
|
|
font-size: 90%;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:05:56 +03:00
|
|
|
.account-container .stats {
|
|
|
|
display: flex;
|
2023-07-14 09:36:13 +03:00
|
|
|
/* flex-wrap: wrap; */
|
|
|
|
column-gap: 24px;
|
|
|
|
row-gap: 8px;
|
2023-09-15 17:15:41 +03:00
|
|
|
/* opacity: 0.75; */
|
2023-03-11 09:05:56 +03:00
|
|
|
font-size: 90%;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 12px;
|
2023-09-15 17:15:41 +03:00
|
|
|
/* border-radius: 16px; */
|
2023-03-11 09:05:56 +03:00
|
|
|
line-height: 1.25;
|
2023-09-15 17:15:41 +03:00
|
|
|
overflow-x: auto !important;
|
2023-07-14 09:36:13 +03:00
|
|
|
justify-content: flex-start;
|
|
|
|
position: relative;
|
2023-09-12 06:27:54 +03:00
|
|
|
|
|
|
|
[tabindex='0']:is(:hover, :focus) {
|
|
|
|
color: var(--text-color);
|
|
|
|
cursor: pointer;
|
2023-09-12 13:00:19 +03:00
|
|
|
text-decoration-color: var(--text-insignificant-color);
|
2023-09-12 06:27:54 +03:00
|
|
|
}
|
2023-09-15 18:59:27 +03:00
|
|
|
|
|
|
|
.stats-avatars-bunch {
|
|
|
|
animation: appear 1s both ease-in-out;
|
|
|
|
|
|
|
|
> *:not(:first-child) {
|
2024-08-04 08:32:30 +03:00
|
|
|
margin: 0;
|
|
|
|
margin-inline-start: -4px;
|
2023-09-15 18:59:27 +03:00
|
|
|
}
|
|
|
|
}
|
2023-07-14 09:36:13 +03:00
|
|
|
}
|
|
|
|
.timeline-start .account-container .stats {
|
|
|
|
flex-wrap: wrap;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
.account-container .stats > * {
|
2023-07-14 09:36:13 +03:00
|
|
|
/* text-align: center; */
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5em;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
2023-09-12 13:00:19 +03:00
|
|
|
.account-container .stats a:not(.insignificant) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2023-07-14 09:36:13 +03:00
|
|
|
.account-container .stats a:hover {
|
2023-03-11 09:05:56 +03:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2023-10-24 18:19:14 +03:00
|
|
|
.account-container footer {
|
|
|
|
padding: 0 16px 16px;
|
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
.account-container .actions {
|
2023-10-24 18:19:14 +03:00
|
|
|
/* margin-block: 8px; */
|
2023-03-11 09:05:56 +03:00
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
justify-content: space-between;
|
|
|
|
min-height: 2.5em;
|
2023-03-17 13:58:10 +03:00
|
|
|
align-items: center;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
.account-container .actions button {
|
2023-10-17 15:20:26 +03:00
|
|
|
/* align-self: flex-end; */
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
2023-03-18 11:24:04 +03:00
|
|
|
.account-container .actions .buttons {
|
|
|
|
display: flex;
|
2023-10-17 15:20:26 +03:00
|
|
|
align-items: center;
|
2023-03-18 11:24:04 +03:00
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
|
2023-09-15 17:15:41 +03:00
|
|
|
.account-container .account-metadata-box {
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 16px;
|
2023-09-16 09:48:31 +03:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2023-09-15 17:15:41 +03:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:has(+ .account-metadata-box) {
|
2024-08-04 08:32:30 +03:00
|
|
|
border-end-start-radius: 4px;
|
|
|
|
border-end-end-radius: 4px;
|
2023-09-15 17:15:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
+ .account-metadata-box {
|
2024-08-04 08:32:30 +03:00
|
|
|
border-start-start-radius: 4px;
|
|
|
|
border-start-end-radius: 4px;
|
|
|
|
border-end-start-radius: 16px;
|
|
|
|
border-end-end-radius: 16px;
|
2023-09-15 17:15:41 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:05:56 +03:00
|
|
|
.account-container .profile-metadata {
|
|
|
|
display: flex;
|
2023-07-14 09:36:13 +03:00
|
|
|
/* flex-wrap: wrap; */
|
2023-04-19 04:40:36 +03:00
|
|
|
gap: 2px;
|
|
|
|
overflow: hidden;
|
2023-07-14 09:36:13 +03:00
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
.timeline-start .account-container .profile-metadata {
|
|
|
|
flex-wrap: wrap;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
.account-container .profile-field {
|
|
|
|
min-width: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 90%;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 12px;
|
2023-04-19 04:40:36 +03:00
|
|
|
border-radius: 4px;
|
2023-03-11 09:05:56 +03:00
|
|
|
filter: saturate(0.75);
|
|
|
|
line-height: 1.25;
|
2023-07-14 09:36:13 +03:00
|
|
|
flex-shrink: 0;
|
2023-07-20 19:55:37 +03:00
|
|
|
max-width: calc(100% - 12px - 2em);
|
|
|
|
}
|
|
|
|
.account-container .profile-field:only-child {
|
|
|
|
max-width: 100%;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
2023-07-16 04:05:46 +03:00
|
|
|
.timeline-start .account-container .profile-field {
|
|
|
|
flex-shrink: 1;
|
2023-07-22 20:00:22 +03:00
|
|
|
max-width: 100%;
|
2023-07-16 04:05:46 +03:00
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
|
|
|
|
.account-container :is(.note, .profile-field) .invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.account-container :is(.note, .profile-field) .ellipsis::after {
|
|
|
|
content: '…';
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-container .profile-field b {
|
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
.account-container .profile-field b .icon {
|
|
|
|
color: var(--green-color);
|
|
|
|
}
|
|
|
|
.account-container .profile-field p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-09-15 17:15:41 +03:00
|
|
|
.account-container .common-followers {
|
2023-04-20 14:54:01 +03:00
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
2023-09-15 17:15:41 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 8px 12px;
|
2023-04-20 14:54:01 +03:00
|
|
|
margin: 0;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-start .account-container {
|
|
|
|
border-bottom: 1px solid var(--outline-color);
|
2023-11-05 09:29:18 +03:00
|
|
|
position: relative;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
2023-03-11 10:36:35 +03:00
|
|
|
.timeline-start .account-container header {
|
2023-12-27 05:33:19 +03:00
|
|
|
padding: 16px;
|
2023-03-13 09:24:53 +03:00
|
|
|
animation: none;
|
2023-03-11 10:36:35 +03:00
|
|
|
}
|
|
|
|
.timeline-start .account-container main {
|
2023-10-24 18:19:14 +03:00
|
|
|
padding: 1px 16px 16px;
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
2023-03-13 09:24:53 +03:00
|
|
|
.timeline-start .account-container main > * {
|
|
|
|
animation: none;
|
|
|
|
}
|
2023-10-24 18:19:14 +03:00
|
|
|
|
|
|
|
.faux-header-bg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-10-31 10:43:56 +03:00
|
|
|
@keyframes bye-banner {
|
|
|
|
20% {
|
|
|
|
filter: blur(0) opacity(1);
|
|
|
|
}
|
|
|
|
100% {
|
2023-11-01 09:10:56 +03:00
|
|
|
filter: blur(16px) opacity(0.2);
|
2023-10-31 10:43:56 +03:00
|
|
|
}
|
|
|
|
}
|
2023-11-02 12:39:42 +03:00
|
|
|
@keyframes surface-header {
|
|
|
|
0% {
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
border-bottom-color: var(--outline-color);
|
|
|
|
box-shadow: 0 8px 16px -8px var(--drop-shadow-color);
|
|
|
|
}
|
|
|
|
}
|
2023-11-02 04:36:30 +03:00
|
|
|
@keyframes shrink-avatar {
|
|
|
|
0% {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
}
|
|
|
|
}
|
2023-10-24 18:19:14 +03:00
|
|
|
.sheet .account-container {
|
|
|
|
border-radius: 16px 16px 0 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
max-height: 75vh;
|
2023-10-24 20:14:15 +03:00
|
|
|
overscroll-behavior: none;
|
2023-11-02 04:36:30 +03:00
|
|
|
scroll-timeline: --account-scroll;
|
2023-10-24 18:19:14 +03:00
|
|
|
|
|
|
|
header {
|
|
|
|
padding-bottom: 16px;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
transparent 30%,
|
|
|
|
var(--bg-color) var(--banner-overlap),
|
|
|
|
var(--bg-color) calc(100% - 8px),
|
|
|
|
transparent
|
|
|
|
);
|
2023-11-02 12:38:38 +03:00
|
|
|
|
|
|
|
.account-block-content {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
line-clamp: 3;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
2023-10-24 18:19:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.faux-header-bg {
|
|
|
|
display: block;
|
|
|
|
height: var(--banner-overlap);
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
margin-top: calc(-1 * var(--banner-overlap));
|
|
|
|
}
|
|
|
|
|
2023-10-31 17:25:08 +03:00
|
|
|
@supports (animation-timeline: scroll()) {
|
|
|
|
.header-banner:not(.header-is-avatar):not(:hover):not(:active) {
|
|
|
|
animation: bye-banner 1s linear both;
|
2023-11-01 09:10:56 +03:00
|
|
|
animation-timeline: view();
|
|
|
|
animation-range: contain 100% cover 100%;
|
2023-10-31 17:25:08 +03:00
|
|
|
}
|
2023-11-02 04:36:30 +03:00
|
|
|
|
2023-11-02 12:39:42 +03:00
|
|
|
header {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
transparent 30%,
|
|
|
|
var(--bg-color) var(--banner-overlap)
|
|
|
|
);
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
animation: surface-header 1s linear both;
|
|
|
|
animation-timeline: --account-scroll;
|
|
|
|
animation-range: 0 150px;
|
|
|
|
}
|
|
|
|
|
2023-11-02 04:36:30 +03:00
|
|
|
header .avatar {
|
|
|
|
animation: shrink-avatar 1s linear both;
|
|
|
|
animation-timeline: --account-scroll;
|
|
|
|
animation-range: 0 150px;
|
|
|
|
}
|
2023-10-31 10:43:56 +03:00
|
|
|
}
|
|
|
|
|
2023-10-24 18:19:14 +03:00
|
|
|
main {
|
2023-12-26 11:00:39 +03:00
|
|
|
/* margin-top: -8px; */
|
2023-10-24 18:19:14 +03:00
|
|
|
padding-top: 1px;
|
2023-10-26 16:28:25 +03:00
|
|
|
padding-bottom: 16px;
|
2023-10-24 18:19:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
min-height: calc(40px + 16px);
|
|
|
|
animation: slide-up 0.3s ease-out 0.3s both;
|
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: var(--bg-faded-blur-color);
|
|
|
|
backdrop-filter: blur(16px) saturate(3);
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-top: var(--hairline-width) solid var(--outline-color);
|
|
|
|
padding-bottom: max(8px, env(safe-area-inset-bottom));
|
|
|
|
box-shadow: 0 -8px 16px -8px var(--drop-shadow-color);
|
|
|
|
}
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
|
2023-09-15 17:15:41 +03:00
|
|
|
@keyframes swoosh-bg-image {
|
|
|
|
0% {
|
|
|
|
background-position: -320px 0;
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 0 0;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2023-10-12 18:11:20 +03:00
|
|
|
.account-container .posting-stats-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 8px;
|
|
|
|
width: 100%;
|
|
|
|
color: inherit;
|
2023-09-15 17:15:41 +03:00
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 8px 12px;
|
2023-10-12 18:11:20 +03:00
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
line-height: 1;
|
|
|
|
vertical-align: text-top;
|
|
|
|
border-radius: 4px;
|
2023-09-15 17:15:41 +03:00
|
|
|
|
2023-09-16 09:48:31 +03:00
|
|
|
&:is(:hover, :focus-within) {
|
2023-10-12 18:11:20 +03:00
|
|
|
color: var(--text-color);
|
2023-09-16 09:48:31 +03:00
|
|
|
background-color: var(--link-bg-hover-color);
|
2023-10-12 18:11:20 +03:00
|
|
|
filter: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loader-container {
|
|
|
|
margin: 0;
|
|
|
|
opacity: 0.5;
|
|
|
|
transform: scale(0.75);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes wobble {
|
|
|
|
0% {
|
|
|
|
transform: rotate(-4deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(4deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes loading-spin {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg) scale(0.75);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg) scale(0.75);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.posting-stats-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 24px;
|
|
|
|
height: 8px;
|
|
|
|
filter: opacity(0.75);
|
|
|
|
animation: wobble 2s linear both infinite alternate !important;
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
animation: loading-spin 0.35s linear both infinite !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-05 18:30:26 +03:00
|
|
|
#list-add-remove-container .list-add-remove {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 8px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
#list-add-remove-container .list-add-remove button {
|
2023-04-07 16:55:10 +03:00
|
|
|
border-radius: 16px;
|
2023-04-05 18:30:26 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
width: 100%;
|
2023-04-07 16:55:10 +03:00
|
|
|
text-align: start;
|
2023-04-05 18:30:26 +03:00
|
|
|
}
|
|
|
|
#list-add-remove-container .list-add-remove button .icon {
|
|
|
|
opacity: 0.15;
|
|
|
|
}
|
2023-04-07 16:55:10 +03:00
|
|
|
#list-add-remove-container .list-add-remove button.checked {
|
|
|
|
border-color: var(--green-color);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-04-05 18:30:26 +03:00
|
|
|
#list-add-remove-container .list-add-remove button.checked .icon {
|
|
|
|
opacity: 1;
|
|
|
|
color: var(--green-color);
|
|
|
|
}
|
|
|
|
|
2023-03-11 09:05:56 +03:00
|
|
|
@media (min-width: 40em) {
|
|
|
|
.timeline-start .account-container {
|
2023-10-24 18:19:14 +03:00
|
|
|
--banner-overlap: 77px;
|
2023-03-11 09:05:56 +03:00
|
|
|
--item-radius: 16px;
|
|
|
|
border: 1px solid var(--divider-color);
|
|
|
|
margin: 16px 0;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border-radius: var(--item-radius);
|
|
|
|
overflow: hidden;
|
|
|
|
/* box-shadow: 0px 1px var(--bg-blur-color), 0 0 64px var(--bg-color); */
|
|
|
|
--shadow-offset: 16px;
|
|
|
|
--shadow-blur: 32px;
|
|
|
|
--shadow-spread: calc(var(--shadow-blur) * -0.75);
|
|
|
|
box-shadow: calc(var(--shadow-offset) * -1) var(--shadow-offset)
|
|
|
|
var(--shadow-blur) var(--shadow-spread)
|
|
|
|
var(--header-color-1, var(--drop-shadow-color)),
|
|
|
|
var(--shadow-offset) var(--shadow-offset) var(--shadow-blur)
|
|
|
|
var(--shadow-spread) var(--header-color-2, var(--drop-shadow-color));
|
|
|
|
}
|
2023-10-24 18:19:14 +03:00
|
|
|
/* .timeline-start .account-container .header-banner {
|
2023-03-11 09:05:56 +03:00
|
|
|
margin-bottom: -77px;
|
2023-10-24 18:19:14 +03:00
|
|
|
} */
|
2023-03-11 09:05:56 +03:00
|
|
|
.timeline-start .account-container header .account-block {
|
|
|
|
font-size: 175%;
|
2023-09-02 10:06:15 +03:00
|
|
|
/* margin-bottom: -8px; */
|
2023-03-11 09:05:56 +03:00
|
|
|
line-height: 1.1;
|
2023-03-13 05:10:21 +03:00
|
|
|
letter-spacing: -0.5px;
|
2023-03-11 09:05:56 +03:00
|
|
|
mix-blend-mode: multiply;
|
|
|
|
gap: 12px;
|
|
|
|
}
|
|
|
|
.timeline-start .account-container header .account-block .avatar {
|
|
|
|
width: 112px !important;
|
|
|
|
height: 112px !important;
|
2023-03-13 09:24:53 +03:00
|
|
|
filter: drop-shadow(-8px 0 8px var(--header-color-3, --bg-color))
|
|
|
|
drop-shadow(8px 0 8px var(--header-color-4, --bg-color));
|
2023-03-11 09:05:56 +03:00
|
|
|
}
|
|
|
|
}
|
2023-10-17 15:20:26 +03:00
|
|
|
|
|
|
|
#private-note-container {
|
|
|
|
textarea {
|
|
|
|
margin-top: 8px;
|
|
|
|
width: 100%;
|
|
|
|
resize: vertical;
|
|
|
|
height: 33vh;
|
|
|
|
min-height: 25vh;
|
|
|
|
max-height: 50vh;
|
|
|
|
color: var(--private-note-text-color);
|
|
|
|
background-color: var(--private-note-bg-color);
|
|
|
|
border: 1px solid var(--private-note-border-color);
|
|
|
|
box-shadow: 0 2px 8px var(--drop-shadow-color);
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 8px 0;
|
|
|
|
|
|
|
|
* {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-24 15:49:02 +03:00
|
|
|
|
|
|
|
#edit-profile-container {
|
|
|
|
p {
|
|
|
|
margin-block: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
min-height: 5em;
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-24 18:39:45 +03:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
th {
|
2024-08-04 08:32:30 +03:00
|
|
|
text-align: start;
|
2024-03-24 18:39:45 +03:00
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 0.8em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody tr td:first-child {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-24 15:49:02 +03:00
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 8px 0;
|
|
|
|
|
|
|
|
* {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-27 19:25:10 +03:00
|
|
|
|
|
|
|
.handle-info {
|
|
|
|
.handle-handle {
|
|
|
|
display: inline-block;
|
|
|
|
margin-block: 5px;
|
|
|
|
|
|
|
|
b {
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
box-shadow: 0 0 0 5px var(--bg-blur-color);
|
|
|
|
|
|
|
|
&.handle-username {
|
|
|
|
color: var(--orange-fg-color);
|
|
|
|
background-color: var(--orange-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.handle-server {
|
|
|
|
color: var(--purple-fg-color);
|
|
|
|
background-color: var(--purple-bg-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.handle-at {
|
|
|
|
display: inline-block;
|
|
|
|
margin-inline: -3px;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.handle-legend {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.handle-legend-icon {
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border: 4px solid transparent;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
|
|
|
&.username {
|
|
|
|
background-color: var(--orange-fg-color);
|
|
|
|
border-color: var(--orange-bg-color);
|
|
|
|
}
|
|
|
|
&.server {
|
|
|
|
background-color: var(--purple-fg-color);
|
|
|
|
border-color: var(--purple-bg-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|