this post was submitted on 25 Jun 2023
22 points (100.0% liked)

Lemmy Plugins and Userscripts

2284 readers
1 users here now

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

Thanks!

founded 2 years ago
MODERATORS
 

Just an FYI post for folks who are new or recently returning to Lemmy, I have updated the linked grease/tamper/violentmonkey script for Lemmvy v0.18.

These two scripts (a compact version and a large thumbnail version) substantially rearrange the default Lemmy format.

These are (finally) relatively stable for desktop/widescreen. Future versions will focus a little more on the mobile/handheld experience.

These are theme agnostic and should work with darkly and litely (and variants) themes.

Screenshot of "Compact" version

main page

-

comments page

As always, feedback is appreciated!

top 6 comments
sorted by: hot top controversial new old
[–] MonkCanatella@sh.itjust.works 2 points 2 years ago

ngl, I actually am starting to prefer lemmy's UI. Looking at lemmy with this script reminds me how bad reddit's UI is. While Lemmy isn't taking home any prizes for its ui, It honestly beats reddit

[–] MinFapper@lemmy.world 1 points 2 years ago

Out of curiosity, you reckon it's feasible to add this directly into the Lemmy UI (since it is open source)?

That way, some instance admins can enable it for their instance. Then users can simply create an account on one of those instances to see the fediverse with that styling without having to configure/manage anything themselves.

[–] Relected@sh.itjust.works 1 points 2 years ago

oh fuck yeah

[–] picoblaanket@lemmy.ml 1 points 2 years ago

This cleans up the post info very well - it looks great, thank you :)

[–] briongloid@aussie.zone 1 points 2 years ago

This looks great, I would love to go back to the old feel.

[–] Jakylla@sh.itjust.works 1 points 2 years ago

So nice ! I was trying to make one to expand the page and use this 40% left-right margin on my screens, Thank you !

Here are my personal adaptations:

- Commented font-size for titles: I didn't like having them as small as the text

CSS code

/* post title font size*/
.h5, h5 {
    /*font-size: 1rem !important;*/
    margin-bottom: 0.1rem !important;
}

.
- Added a class for posts without image or links to have a thumbnail without the gray background, to dissociate them from links (that are from my point of view, too similar looking to text only posts)

- Also changed how I display images in thumbnail (I prefer to see the whole image resized down with no crop, even if hardly anything may be readable on the thumbnail)

CSS code

.thumbnail {
    object-fit: scale-down; /* instead of "cover" */
    background-color: #333;
}

/* Remove gray background for only-messages posts thumbnails */
.post-media a[href^="/post/"] .thumbnail {
    background-color: unset !important;
}

ScreenshotScreenshot

(Notice the visible difference between the link and the post without link)