7

Anyone able to help me learn to css?

Pem, Pols little help plz?

Anyone able to help me learn to css? Pem, Pols little help plz?

21 comments

[–] Mattvision 0 points (+0|-0)

Is there anyway to change the opaque barring on each alternate post so that they are transparent as well?

.post:nth-child(2n) { background-color: rgba(0,0,0,0)!important; -webkit-box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%)!important; }

With that in mind, I would recommend making a version of the tiki torch image with a white or light colored background for the light mode users. It should use the same code, but then the current body selector will need to be changed to body.dark

[–] GreenTreeFrog [OP] 🐸 1 points (+1|-0)

Idk they should be using dark mode. :D

Does the site choose what version of the css to use depending on what mode the user has selected?

[–] Mattvision 0 points (+0|-0)

Idk they should be using dark mode. :D

I agree that most light-mode users are filthy degenerates, but there are some people here who clinically have trouble reading dark mode.

Does the site choose what version of the css to use depending on what mode the user has selected?

Kinda. Every element on the page (I think) has selectors for a default and a dark mode version, and if the user has light mode enabled it basically ignores the dark mode variants. The browser has both loaded as part of the page.

What we've been doing is modifying the default elements, so the things we changed (or at least the ones we tagged as !important) will appear the same regardless of what mode the user is in.

[–] GreenTreeFrog [OP] 🐸 1 points (+1|-0)

Hopefully people can read it currently. I'll work on it more soon.

thanks :)