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

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

Thank you very much!
I dinkerd with it a little as sometimes I mix up my left and right and I had said the wrong thing in the previous post. If its on the right it doesn't interfere with the reading of the posts so I left out the .alldaposts bit. I tried to make the image sharper by downsizing it, what do you think? It looked quite fuzzy at full 100 x 100.

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

[–] 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.