• she/her

queer code witch - 18
discord @‍mintexists
send me asks! :3


boobs
I'm not convinced that this needs to be a link?
Yea no
it doesnt
i wonder if
**markdown** formatting *works* no it doesnt thats sad

jkap
@jkap

if you're planning to use the post dark mode once that launches, there's a minor tweak i've been using with the theme customizer userstyle that is nice for me. maybe it's nice for you!

this dims images in posts until you hover over them, which i've found helps a lot of the overall perceptual lightness. you can also apply this to its own userstyle once the post dark mode is out.

[data-view="post-preview"] img {
    filter: brightness(75%);
    transition: 200ms filter ease-in;

    &:hover {
        filter: brightness(100%);
    }
}
syntax highlighting by codehost

obviously you can tweak any of these values to your liking, you can remove the transition, whatever you want. these are the values that work best for me but they might not be best for everyone! if your browser doesn't support CSS Nesting (at this point all of them do) then you'll need to adjust the hover style but that is left as an exercise for the reader.

EDIT: put it on userstyles b/c i'm feelin it.


You must log in to comment.

in reply to @jkap's post:

glad nesting is real yeah. i do not get tailwind at all. i feel like css has enough features on its own now (container queries, cascade layers, nesting, etc.) to make writing straight css a joy on its own, but that’s just me idk

Pinned Tags