tutu/src/timelines/toots/TootContent.css

36 lines
569 B
CSS
Raw Normal View History

2024-11-20 15:51:14 +08:00
.TootContent {
margin-left: var(--card-pad, 0);
2024-11-20 15:51:14 +08:00
margin-right: var(--card-pad, 0);
line-height: 1.5;
2024-11-20 16:24:57 +08:00
> .content {
display: contents;
}
2024-11-20 15:51:14 +08:00
& * {
user-select: text;
}
& a {
color: var(--tutu-color-primary-d);
}
& a[target="_blank"] {
word-break: break-all;
>.invisible {
display: none;
}
>.ellipsis {
&::after {
display: inline;
content: "...";
}
}
}
}
:where(.thread-top, .thread-mid) > .TootContent {
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
2024-11-20 15:51:14 +08:00
}