techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#Userstyle

2 posts1 participant0 posts today

Я часто кликаю на нижнюю панель плеера Ютуба, чтобы вернуть фокус для управления с клавиатуры. Пару месяцев назад этот клик начал приводить к прокрутке страницы (если есть таймкоды).

Отключается такое поведение простым юзерстилем:

.ytp-chapter-container {
pointer-events: none !important;
}

Добавлял через расширение Tweaks for YouTube chromewebstore.google.com/deta

chromewebstore.google.comTweaks for YouTube - Chrome Web StoreSeek, control volume, speed, and more with mouse and keyboard. Adjust player controls, progress bar, UI elements, process audio...

If you use stylus or other user style extensions and you got upgraded to the new masto interface which has a really bad state for filtered toots, here's some CSS i just banged out. It looks like this in action in dark mode. It's not perfect but I don't care much because I don't really want to see this content anyway, I use this as an indicator that maybe I should stop following someone if they show up here all the time.

/* make hidden shit hidden! */
.content-warning--filter::before,
.content-warning--filter::after {
background: linear-gradient( to bottom,
rgba(130, 130, 130, 1) 0%,
rgba(110, 110, 110, 1) 20%,
rgba(90, 90, 90, 1) 40%,
rgba(70, 70, 70, 1) 80%,
rgba(50, 50, 50, 1) 80%,
rgba(30, 30, 30, 1) 100%);
}
.content-warning--filter p {
margin-bottom: 0;
}
.content-warning--filter p span {
font-size: 0.75em;
color: gray;
}
.content-warning--filter .link-button {
color: darkred;
font-size: 0.75em;
float: right;
margin-top: -2em;
}
.status__wrapper:has(.content-warning--filter) .status__info {
display: none;
}

i made a cohost userstyle for goblin! i also made another userstyle that removes numbers like the note count and the follower counts, if you'd like that!

you can install an extension like stylus, and then install the userstyles from here:
cohost theme:
https://userstyles.world/style/18082/goblin-cohost
no numbers:
https://userstyles.world/style/18083/no-numbers

i also have the css on my website, if you wanna manually copy it or something:
https://tiger.kittycat.homes/made/other/goblin-cohost

it's not perfect and i don't promise that every page will look good with it, but i've been using it without issue to browse profiles and the home timeline, so! it's usable!

it definitely doesn't work with the deck layout, but it does work on the two other layouts that goblin has.

This kind of things drive me nuts. You want to write a tiny #userstyle to fix or adapt part of a website? Well you can't with these obfuscated CSS classes 🙌 (I won't even talk about the 12 levels of nested divs)

Or at least it makes it much more difficult (and on top of that I'm not even sure these class names remain stable from one deployment to another)

#MastoModern has been updated to v2.0.0! I have partially rewritten the style, so it should be a lot cleaner and smaller, including some fixes and changes :blobfoxfloofhappy:

You can view the full changelog here

Install with the Stylus browser extension:
#UserStyle: userstyles.world/style/4773/ma

Along with this, I have also moved the repository to git.gay: git.gay/freeplay/Mastodon-Mode

If you find any issues, please create an issue here

Made an #userstyle for myself to use with #Phanpy that colors posts based on their privacy level instead of their source!

It makes everything much intuitive to use for me personally...

It's pretty buggy, and probably not accessible to folks with different needs than me, but in case somebody wants to hack on it, I'm sharing it in the reply below!

Will just quickly repost some links to stuff I've made :blobfoxfloofhappy:

#OneBar: A Firefox style that combines the tabs & toolbar into one bar.
git.gay/freeplay/Firefox-Oneba

#MastoModern: Improves the look & feel of Mastodon.
git.gay/freeplay/Mastodon-Mode

Bootleg cat/fox ears for Mastodon:
userstyles.world/style/15031

Threads for Mastodon Pinafore: (Still need to fix for Enafore)
userstyles.world/style/11741

TutanotaModern: More minimal, neater, and makes drastically better use of space than Tutanota's current design.
userstyles.world/style/2325/

single line replies in timelines for iceshrimp, firefish and potentially other derivatives. see quoted post for how it looks. extremely hacky and might mess up. will not work in sharkey or other "modern" misskey instances

requires a browser with nyative nested css and :has (so, literally anything from the last year or so)

gist.github.com/ShittyKopper/e1e6457b56e62daf40f1c01c788749f6

(extracted from inline to gist because nyaization broke it)

#iceShrimp #fireFish #css #userStyle

RE:
brain.d.on-t.work/notes/9sg7gf0kggpmh85b

Gistsettings > themes > custom csssettings > themes > custom css. GitHub Gist: instantly share code, notes, and snippets.