|
|
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Media_objects */
|
|
|
|
.mbox {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-img {
|
|
|
|
--size: 5rem;
|
|
|
|
align-self: start;
|
|
|
|
flex-basis: var(--size);
|
|
|
|
height: var(--size);
|
|
|
|
margin-right: 1rem;
|
|
|
|
margin-top: .5ch;
|
|
|
|
max-width: var(--size);
|
|
|
|
max-width: var(--size);
|
|
|
|
}
|
|
|
|
.mbox-recommend-server .mbox-img {
|
|
|
|
--size: 4.5ch;
|
|
|
|
margin-left: 3ch;
|
|
|
|
margin-right: 3.5ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-body {
|
|
|
|
flex-basis: calc(100% - 64px - 1rem);
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
max-width: 96ch;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-header {
|
|
|
|
flex-basis: calc(100% - 64px - 1rem);
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.mbox-header time,
|
|
|
|
.mbox-username {
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-recommend-server .mbox-body {
|
|
|
|
display: block;
|
|
|
|
flex-basis: 100%;
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-recommend-server .mbox-header {
|
|
|
|
display: inline;
|
|
|
|
}
|