simoncor.net/themes/hugo-coder/assets/scss/_mastodon.scss

74 lines
1.2 KiB
SCSS
Raw Permalink Normal View History

2024-08-26 17:13:18 +02:00
.mastodon-wrapper {
display: flex;
gap: 3rem;
flex-direction: row;
}
.comment-level {
max-width: 3rem;
min-width: 3rem;
}
.reply-original {
display: none;
}
.mastodon-comment {
background-color: var(--body-background);
border-radius: var(--card-border-radius);
padding: var(--card-padding);
margin-bottom: 1rem;
display: flex;
gap: 1rem;
flex-direction: column;
flex-grow: 2;
.comment {
display: flex;
flex-direction: row;
gap: 1rem;
flex-wrap: true;
}
.comment-avatar img {
width: 6rem;
}
.content {
flex-grow: 2;
}
.comment-author {
display: flex;
flex-direction: column;
&-name {
font-weight: bold;
a {
display: flex;
align-items: center;
}
}
&-date {
margin-left: auto;
}
}
.disabled {
color: var(--accent-color)
}
}
.mastodon-comment-content p:first-child {
margin-top: 0;
}
.mastodon {
--dlg-bg: #282c37;
--dlg-w: 600px;
--dlg-color: #9baec8;
--dlg-button-p: 0.75em 2em;
--dlg-outline-c: #00D9F5;
}