Mending Libred CSS for laymen Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Mending Libred CSS for laymen

Post by Mæstro » 2024-12-01, 23:53

I have the same problem with Libred interfaces as described here, but I do not understand the accepted solution and the thread is locked. What am I supposed to do?
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
adoxa
Astronaut
Astronaut
Posts: 577
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: Mending Libred CSS for laymen

Post by adoxa » 2024-12-02, 06:20

The fix changes the .post class to remove the grid display and just use a normal block. You would need to change the URL to match the site(s) in question (assuming it still uses that class). Since you didn't supply an example URL I can't be more specific.

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Mending Libred CSS for laymen

Post by Mæstro » 2024-12-02, 17:15

I do not know what a ‘.post class’ is. I am asking for a recipe I can follow so I can make Libreddit pages (eg this one) look right, as that thread’s poster was able to achieve.
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
adoxa
Astronaut
Astronaut
Posts: 577
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: Mending Libred CSS for laymen

Post by adoxa » 2024-12-03, 00:33

You would want to install Stylem or equivalent (the original post just modified userContent.css directly) and add this:

Code: Select all

@-moz-document domain("redlib.perennialte.ch") {
  .post { display: block !important; }
}
That's not quite right, though, so instead here's a Modify HTTP Response filter to fix the grid template.

Code: Select all

[["/redlib/",["/style\\.css/",["/min\\(20%, 152px\\)/g","20%"]]]]

User avatar
Mæstro
Keeps coming back
Keeps coming back
Posts: 908
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Mending Libred CSS for laymen

Post by Mæstro » 2024-12-03, 17:45

Thank you! Modifying the header as specified works as desired. Stylem also seems like it might be useful for me in future, if I could figure out how ot use it to restore the old theme for certain websites, but that is a subject for another post.
Life is a fever dream Mæstro would enjoy.
How is your computer at 96°C and not on fire?
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build