Skip to content

Instantly share code, notes, and snippets.

@miyaoka
Last active June 19, 2023 13:18
Show Gist options
  • Save miyaoka/47590f1f605aedfdc0bf2cf82be66f29 to your computer and use it in GitHub Desktop.
Save miyaoka/47590f1f605aedfdc0bf2cf82be66f29 to your computer and use it in GitHub Desktop.
stylus
/* googleads */
:is(
[tbl-data-mutation-observer],
iframe[data-google-container-id],
iframe[srcdoc],
iframe[src^="https://googleads.g.doubleclick.net"],
iframe[src^="https://s.yimg.jp"],
iframe[src^="https://static.affiliate.rakuten.co.jp"]
):not(:hover) {
opacity: 0.05 !important;
}
/* tweetdeck */
/* article */
.js-stream-item-content.item-box.js-show-detail {
padding: 4px 6px;
}
/* 本文 */
.tweet-body.js-tweet-body {
font-size: 16px;
line-height: 1.25;
}
/* show more部 */
.js-show-this-thread {
position: absolute;
right: 4px;
bottom: 0px;
width: 45px;
}
/* likeボタン等 */
footer.tweet-footer.cf {
display: none;
}
/* RT主 */
.tweet-context.txt-size-variable--12.txt-mute.padding-bs {
/* display: none */
}
/* ヘッダ部 */
header.tweet-header.js-tweet-header.flex.flex-row.flex-align--baseline,
span.username.txt-mute,
a.txt-size-variable--12.no-wrap {
font-size: 8px !important;
}
/* article主 */
.tweet-context {
margin: 0 !important;
background: #0003;
}
.nbfc {
font-size: 10px !important;
line-height: 1.2;
opacity: 0.8;
}
/* 前後ツイート */
.twDisplayVicinity_vicinity_link_container {
display: none !important;
}
/* アカウントアイコンエリアpadding */
.js-tweet.tweet {
padding-left: 0px !important;
}
/* アカウントアイコンコンテナ */
.obj-left.item-img.tweet-img.position-rel {
position: absolute;
right: 40px;
top: -10px;
}
/* アカウントアイコン画像 */
img.tweet-avatar.avatar.pin-top-full-width {
width: 32px;
height: 32px;
}
/* artile区切り */
article.stream-item.js-stream-item.is-actionable.twDisplayVicinity-touched {
border-bottom: 1px dashed #fff9;
}
/* likeアイコン余白 */
html.dark .item-img {
width: 20px !important;
margin: 0 !important;
}
/* notification like,RT */
article .tweet.txt-mute {
max-height: 40px !important;
overflow: hidden;
opacity: 0.6;
}
/* notification like,RT 本文 */
article .tweet.txt-mute .tweet-body.js-tweet-body {
font-size: 12px !important;
}
/* スクロールバー */
.js-column-scroller::-webkit-scrollbar {
width: 4px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment