Spyke
general·General Discussionbyepitaque

WIP Reddit CSS theme

Hey all! So lemmy-ui actually supports custom themes, i.e. Instance owners can drag and drop a css file into an extra_themes folder. I noticed a reddit theme did not exist (at the time of writing), so I've begun working on one. I'm gonna keep working on it, but I always like to take a step back and ponder if this is even a good idea. The reason I'm doubting myself is, I can't change the layout so I'm resorting to writing some pretty awful css. i.e.:

  • there's a couple dropdowns, that I have to convert to not-dropdowns
  • I'm using the :has css selector, which is supported in chrome but behind a flag in firefox
  • some elements that I need to style do not have class names so I have to use super long selectors, like an adblocker filter almost

Is there a better way to do this? Is anyone else working on this?

View original on lemmy.world
epitaquereply
lemmy.world

That might be the way to go. The only disadvantage is, it's on another site. I am interested to know what people are using in general to access Lemmy. If people reading this thread could vote on this poll, that'd be nice: https://strawpoll.com/kjn18WkedyQ

7

I voted. I used Memmy the most since I mostly do social networking type stuff on my phone or iPad.

When I am on my desktop though I have been trying out different layouts. Not many desktop options so I have been going back and forth between the standard lemmy-ui and mlmym.org

4

Check out this custom CSS from /u/[email protected].

https://lemmy.world/post/1376086

Not only does it make Lemmy look much better on desktop without turning it into a Reddit clone, it adds some subtle but very cool little features:

  • Uses rounded thumbnails to external links.
  • Uses square thumbnails to internal images.
  • Colored proprietary social media thumbs with their brand colors. (So you don't accidentally click on a youtube link for example).
5

You reached the end