this post was submitted on 28 Jun 2023
93 points (100.0% liked)
/kbin meta
200 readers
2 users here now
Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign
founded 1 year ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The former takes people from other domains and makes their posts green text on green background. The colors are manually set and not reflective of any magazine styles or the like, but I have no idea why rgba(20, 45, 20, 1.0) is the color someone chose. I recommend anyone who wants that script edit line#41 to something like
GM_addStyle('[data-is-federated-content="true"] { background-color: #EEE; }');
, but even then this is a bit annoying to have to do manually.It works on dark theme (I use only dark).
On dark it's light (white) text on dark green background, and it looks fine (I would prefer black or similar, but this works).
Your edit breaks dark design because you get white/grey background.
I went a bit farther and used the built in variable to set color, as well as setting the font weight down to match the "n hours ago" text, and changing " - " to "@" so that the uesrname matched the standard fediverse string that you can put into search boxes
I'll publish this properly as soon as greasyfork sends me an email to authenticate my new account, but in the meantime here's the source. EDIT: Email has yet to arrive 13 hours later, I doubt it's going to. Anyone interested feel free to publish this somewhere it's easier for people to install.
This is awesome.
Great work! :)