Last active
October 15, 2024 23:14
-
-
Save ZoeBijl/581fb6f5575b2ef5b5a5b19906adffaf to your computer and use it in GitHub Desktop.
Custom CSS to go from "Publish" to "Toot!" in Mastodon V4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Instructions: | |
Place at instance.domain/admin/settings/appearance. | |
Changelog: | |
- V1: | |
-- initial release | |
- V1.1: | |
-- added support for the top bar button | |
*/ | |
.ui__header__links [href="/publish"] span { | |
display:none; | |
} | |
.compose-form__publish-button-wrapper .button { | |
display: flex; | |
font-size: 0; | |
} | |
.compose-form__publish-button-wrapper .button::after, | |
.ui__header__links [href="/publish"]::after { | |
content: ' Toot!'; | |
font-size: 1rem; | |
display: block; | |
} |
twitchy-ears
commented
Oct 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment