Skip to content

Instantly share code, notes, and snippets.

@jonesy827
Created June 27, 2023 17:23
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 jonesy827/d5ee66fb57730f0982b8c5b6e216fecb to your computer and use it in GitHub Desktop.
Save jonesy827/d5ee66fb57730f0982b8c5b6e216fecb to your computer and use it in GitHub Desktop.
Lemmy compact user theme extension - for litely or darkly.
/* Full width of page */
.home.container-lg, .navbar.container-lg, main > .post, .community.container-lg {
max-width: 100% !important;
}
/* Hide text of post (helps compact lines) */
.col-sm-9 .text-body {
display: none !important;
}
.col-sm-9 .post-title .text-body {
display: inline !important;
}
/* Enlarge icon row */
.d-flex.align-items-center.justify-content-start.flex-wrap.text-muted
{
transform: scale(1.2);
margin-left: 9%;
}
/* No margin on main container top */
.mt-4.p-0.fl-1 {
margin-top: 0rem !important;
}
/* Resize main column and side bar */
.d-none.d-md-block.col-md-4 {
flex: 0 0 auto !important;
width: 25% !important;
}
.col-md-8[role="main"], .community > .row > .col-md-8 {
flex: 0 0 auto !important;
width: 75% !important;
}
/* Hide avatars of users and communities on posts */
.person-listing > picture, .community-link > picture {
display: none !important;
}
/* Comments - more offset between levels */
.comments ul.ms-1 {
margin-left: 1rem !important;
}
.comment-node > div > div > div.md-div {
margin-left: 0.5rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment