Skip to content

Instantly share code, notes, and snippets.

@ShittyKopper
Last active April 23, 2024 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShittyKopper/e1e6457b56e62daf40f1c01c788749f6 to your computer and use it in GitHub Desktop.
Save ShittyKopper/e1e6457b56e62daf40f1c01c788749f6 to your computer and use it in GitHub Desktop.
settings > themes > custom css
:root {
--originalAvatarSize: var(--avatarSize);
}
.list .note-container .reply-to {
--avatarSize: 16px;
.avatar-container {
margin-left: calc((var(--originalAvatarSize) - var(--avatarSize)) / 2);
align-self: center;
}
.cat:before, .cat:after {
margin-bottom: 5px;
}
.body {
display: flex;
align-items: baseline;
overflow-x: hidden;
> .header {
align-items: initial;
.user-info {
> div > .name,
.info {
display: none;
}
&,
> div:first-child {
width: auto;
}
}
div:has(> .hpaizdrt) {
display: none
}
}
> .body {
flex-grow: 1;
max-height: 32px;
br,
.files,
.reply-icon,
&:has(.cw:not(._cw_style_modern)) .wrmlmaau,
.showMoreButton,
.rp,
.cw button {
display: none
}
.mfm-object :not(br) {
display: inline;
}
.mfm-object, .mfm-object * {
--mfm-zoom-size: 100% !important;
white-space: nowrap;
word-break: keep-all;
}
}
.content {
&.collapsed > .body {
mask: none;
-webkit-mask: none;
}
&._cw_style_modern.showContent {
min-height: initial;
> .hiddenNote {
text-align: left;
font-weight: inherit;
font-size: inherit;
padding: 0;
}
> button,
> .body {
display: none;
}
}
}
.footer {
display: none !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment