Skip to content

Instantly share code, notes, and snippets.

@mimikun
Last active March 15, 2021 12:53
Show Gist options
  • Save mimikun/344f653e8a53f2a30a1ac38ffbc533c4 to your computer and use it in GitHub Desktop.
Save mimikun/344f653e8a53f2a30a1ac38ffbc533c4 to your computer and use it in GitHub Desktop.
"stamp_"のプレフィックス付き絵文字をでかくするやつ
/* ==UserStyle==
@name enable-mastodon-tl-stamps
@namespace https://gist.github.com/mimikun/344f653e8a53f2a30a1ac38ffbc533c4
@version 1.1.0
@description stamp_のプレフィックス付き絵文字をでかくするやつ
@author mimikun
==/UserStyle== */
@-moz-document url-prefix("https://mstdn.mimikun.jp/web/") {
/*絵文字マージンゼロ*/
.emojione {
margin: 0;
}
/*スタンプ*/
.detailed-status .status__content p .emojione[alt*=":stamp_"],
p .emojione[alt*=":stamp_"],
span:not([class="reactions-bar__item__emoji"]) .emojione[alt*="stamp_"],
strong.display-name__html .emojione[alt*=":stamp_"],
.account__header__tabs__name .emojione[alt*=":stamp_"],
.notification__message .emojione[alt*=":stamp_"] {
width: 100px !important;
height: 100px !important;
vertical-align: bottom !important;
}
/*ID位置変更*/
.status {
padding: 8px 10px 14px 68px;
}
.status .display-name__account {
position: absolute;
bottom: 0;
right: 10px;
font-size: 0.75em;
pointer-events: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment