Skip to content

πŸ˜πŸ’¨ by dieseltravis

Screenshot of πŸ˜πŸ’¨

Details

Authordieseltravis

LicenseNo License

Categorymastodon.social

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Replace "Publish" buttons with "πŸ˜πŸ’¨" on some mastodon servers (add your domain for support)

Notes

now supports 4.3

Source code

/* ==UserStyle==
@name         πŸ˜πŸ’¨
@version      20241008.04.17
@namespace    userstyles.world/user/dieseltravis
@description  Replace "Publish" buttons with "πŸ˜πŸ’¨" on some mastodon servers (add your domain for support)
@author       dieseltravis
@license      No License
==/UserStyle== */

@-moz-document domain("social.lol"), domain("mastodon.social"), domain("jorts.horse"), domain("allpro.social"), domain("hachyderm.io"), domain("yellowmustard.club"), domain("vulpine.club"), domain("xoxo.zone"), domain("clownpenis.fart"), domain("front-end.social"), domain("toot.cafe"), domain("macaw.social"), domain("glitterkitten.co.uk"), domain("brands.town"), domain("mastodon.art"), domain("tilde.zone"), domain("burts.bees") {
/*
https://userstyles.world/style/7330/default-slug
https://gist.github.com/dieseltravis/77c99bef0312486639d5aad46139eb22
*/

a.button[href='/publish'],
.compose-form__publish-button-wrapper button.button.button--block,
.compose-form__actions .compose-form__submit button{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	font-size: 0;
}

a.button[href='/publish']::after,
.compose-form__publish-button-wrapper button::after,
.compose-form__actions .compose-form__submit button::after {
	content: 'πŸ˜πŸ’¨';
	font-size: 1.333rem;
}

/* add a lil tootin animation when hover/active/focus */
a.button[href='/publish']:hover::after,
a.button[href='/publish']:active::after,
a.button[href='/publish']:focus::after,
.compose-form__publish-button-wrapper button:hover::after,
.compose-form__publish-button-wrapper button:active::after,
.compose-form__publish-button-wrapper button:focus::after,
.compose-form__actions .compose-form__submit button:hover::after,
.compose-form__actions .compose-form__submit button:active::after,
.compose-form__actions .compose-form__submit button:focus::after {
	animation: 444ms infinite alternate tootin ease-out;
}

@keyframes tootin {
	to {
		letter-spacing: 0.25rem;
		/*font-stretch: 125%;*/
		transform: translateX(0.125rem);
	}
}
}

Reviews

No reviews yet.