Created
December 23, 2022 04:32
Revisions
-
passcod created this gist
Dec 23, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ /* ==UserStyle== @name Twitter.com reorder stats @namespace github.com/openstyles/stylus @version 1.0.0 @description Moves the new stats button after the regular stuff. @author passcod ==/UserStyle== */ @-moz-document url-prefix("twitter.com/home") { article [role="group"] > :nth-child(1) { order: 1; } article [role="group"] > :nth-child(5) { order: 2; } } @-moz-document regexp("https://twitter.com/.+/status/[0-9]+") { article [role="group"] > :nth-child(1) { order: 1; } article [role="group"] > :nth-child(5) { order: 2; } article[tabindex="-1"] [role="group"] > div { gap: 20px; } article[tabindex="-1"] [role="group"] > div > div { margin: 0; } article[tabindex="-1"] [role="group"] > div > :nth-child(1) { order: 1; } article[tabindex="-1"] [role="group"] > div > :nth-child(5) { order: 2; } }