xmpp/xmpp.view.css
2026-05-07 04:32:54 +03:00

53 lines
734 B
CSS

[xmpp_Msg] {
display: flex;
flex-direction: column;
padding: .5rem 1rem;
gap: .25rem;
}
[xmpp_Msg_from] {
font-size: .75rem;
opacity: .6;
font-weight: bold;
}
[xmpp_Msg_body] {
padding: .4rem .7rem;
border-radius: .5rem;
background: var(--mol_theme_card, #f0f0f0);
max-width: 80%;
word-break: break-word;
}
[xmpp_Compose_input] {
flex: 1;
}
/* media */
[xmpp_Msg_media]:empty {
display: none;
}
[xmpp_Msg_image] {
display: block;
max-width: min(320px, 80%);
max-height: 240px;
border-radius: .5rem;
object-fit: contain;
cursor: pointer;
}
[xmpp_Msg_audio] {
max-width: min(320px, 80%);
display: block;
}
[xmpp_Msg_link] {
font-size: .85rem;
opacity: .8;
}
[xmpp_Room_join_form] {
margin-top: 1rem;
}