Path: blob/main/assets/js/emfed/toots.css
1678 views
.toots {1max-width: 400px;2list-style: none;3padding: 0;4font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;5}67.toot {8border-bottom: 1px solid #ccc;9padding: 1rem;10}1112/* Posting user. */13.toot .user {14display: flex;15flex-flow: column wrap;16justify-content: space-evenly;17align-content: flex-start;18height: 46px; /* Avatar height. */19column-gap: 0.5rem;2021text-decoration: none;22color: inherit;23}2425.toot .avatar {26border-radius: 4px;27}2829.toot .display-name {30font-weight: bold;31display: block;32}3334.toot .user:hover .display-name {35text-decoration: underline;36}3738.toot .username {39display: block;40margin-right: 1em;41color: #999;42}4344/* Boosting user is smaller and above the posting user. */45.toot .boost {46height: 23px;47margin-bottom: 0.25rem;48column-gap: 0.25rem;49}5051.toot .boost:before {52content: "♺";53font-size: 140%;54}5556.toot .boost .username {57display: none;58}5960.toot .permalink {61text-decoration: none;62display: block;63color: #999;64float: right;65}6667.toot .permalink:hover {68text-decoration: underline;69}7071.toot .body {72clear: both;73margin-top: 1em;74}7576.toot .body a {77overflow-wrap: anywhere;78}7980/* Weird trick to keep the text in the page but not display it. */81.toot .body .invisible {82display: inline-block;83font-size: 0;84line-height: 0;85width: 0;86height: 0;87position: absolute;88}8990.toot .body .ellipsis::after {91content: "…";92}9394.toot .attachment {95display: block;96width: 100%;97aspect-ratio: 16 / 9;98border-radius: 4px;99}100101.toot .attachment img {102width: 100%;103height: 100%;104object-fit: cover;105}106107108