wildebeest/frontend/src/utils/innerHtmlContent.scss

45 wiersze
857 B
SCSS
Czysty Zwykły widok Historia

// Important: The rules present in this file apply to dynamic content
// defined by the client (set using dangerouslySetInnerHTML)
// (thus wee cannot rely on Tailwind for such content)
2023-02-02 16:46:53 +00:00
.inner-html-content {
a {
text-decoration: none;
color: var(--wildebeest-vibrant-color-400);
}
a.mention {
2023-01-11 17:30:59 +00:00
color: var(--wildebeest-vibrant-color-200);
}
a.hashtag {
2023-01-11 17:30:59 +00:00
color: var(--wildebeest-vibrant-color-200);
}
2023-01-05 19:07:22 +00:00
p {
margin-bottom: theme('spacing.4');
}
2023-02-02 16:46:53 +00:00
.invisible {
font-size: 0;
line-height: 0;
display: inline-block;
width: 0;
height: 0;
}
2023-02-02 16:46:53 +00:00
.ellipsis {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
text-decoration: none;
}
2023-02-02 16:46:53 +00:00
.ellipsis::after {
content: "...";
}
2023-02-02 16:46:53 +00:00
.status-link {
color: var(--wildebeest-vibrant-color-200);
text-decoration: none;
}
}