------------------------ https://twitter.com/** ------------------------ /* ------------------------------------------------------------------- */ /* CustomCSS.txt */ /* Ver: 1.6.12110100 */ /* ------------------------------------------------------------------- */ /* [PseudoTweetDeck] HomeTL/List/User/Searchページの自動更新と既読管理 */ /* http://coltpythonkingcobra.g1.xrea.com/pseudoTweetdeck/ */ /* by @PseudoTwDk */ /* ------------------------------------------------------------------- */ /* ******************************************************************* */ /* スクリプト連携のために必要な項目にはコメント末尾に「※」印をつけておきます */ /* ******************************************************************* */ /* ユーザー名のマウスオーバーでユーザー情報をポップアップしない */ /*.r-1ipicw7{ display: none; }この指定方法ではアカウント切り替えのメニューとかまで出なくなるのでNG */ .r-1r5jyh0{ display: none; } /* アバター 名前 で回り込み※ */ article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1){ position: absolute; } article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1){ margin-left: 50px; } article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2){ margin-top: 5px; } /* アバター 名前 ツイートの位置調整※ */ article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { width: 100%; } article[data-testid="tweet"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { flex-direction: column; align-items: start; } article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1){ justify-content: space-between; -webkit-box-pack: justify; flex-direction: row; width: 100%; } article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) { display: none; } article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(3) { margin-right: -35px; } /* カードの文字を画像の横に配置する Control Panel for Twitter にて「外部リンクの下に見出しを復元」チェックが前提 ※ */ /* body:not([ptd_media="3"]) div[data-testid="card.wrapper"] a { flex-direction: row !important; border-radius: 0 !important; } body:not([ptd_media="3"]) div[data-testid="card.wrapper"] > div:nth-of-type(1) > a:nth-of-type(1) > div:nth-of-type(2) { padding-top: 0px; padding-bottom: 0px; padding-left: 2px; padding-right: 2px; width: 100%; } */ /* カードの文字を画像の横に配置する Twitter UI Customizer にて「リンクカードにリンク先を表示する」チェックが前提 ※ */ body:not([ptd_media="3"]) div[data-testid="card.wrapper"] { flex-direction: row !important; border-radius: 0 !important; } body:not([ptd_media="1"]) div[data-testid="card.wrapper"] > div:nth-of-type(3) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { padding-top: 0px; padding-bottom: 0px; padding-left: 2px; padding-right: 2px; width: 100%; } body:not([ptd_media="1"]) div[data-testid="card.wrapper"] > div:nth-of-type(3) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) span span { text-wrap: wrap; } /* カード中のテキスト&ドメイン表示微調整※ */ body:not([ptd_media="3"]):not([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"]:has([data-testid="card.layoutLarge.media"],[data-testid="card.layoutSmall.media"]) { width: 99%; color: rgba(255,255,255,1.0); opacity: 0.5; border-color: transparent; } body:not([ptd_media="3"]):is([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"]:has([data-testid="card.layoutLarge.media"],[data-testid="card.layoutSmall.media"]) { width: 99%; color: rgba(0,0,0,1.0); opacity: 0.5; border-color: transparent; } body:not([ptd_media="3"]):not([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"]:has([data-testid="card.layoutLarge.media"],[data-testid="card.layoutSmall.media"]):hover { width: 99%; color: rgba(255,255,255,1.0); opacity: 1.0; border-color: rgba(127,127,127,0.5); } body:not([ptd_media="3"]):is([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"]:has([data-testid="card.layoutLarge.media"],[data-testid="card.layoutSmall.media"]):hover { width: 99%; color: rgba(0,0,0,1.0); opacity: 1.0; border-color: rgba(127,127,127,0.5); } /* **************************************************************************************************************************** */ /* 縮小処理各種 スクリプトにてURLごとにメディアサイズを切り替えているのでそれぞれの設定(MediaSize関連は全部ひとまとめで必要)※ */ /* **************************************************************************************************************************** */ /* ===================== MediaSize=[0]NONE =============== */ /* カードの画像サイズ */ body[ptd_media="0"] div[data-testid="card.layoutLarge.media"], body[ptd_media="0"] div[data-testid="card.layoutSmall.media"] { display: none !important; } body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+2):has(div[data-testid="card.wrapper"]) { display: none; } /* 画像縮小と半透明処理 */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]) { display: none; } /* 引用RT */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1) > div:nth-of-type(2):not([data-testid*="card"]) { display: none; } /* 引用先の画像縮小と半透明処理 */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]) { display: none; } /* 引用先の画像エレメントの深いところに何故か固定サイズが書かれているので上書きする */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]) { display: none; } /* 広告ツイートの埋め込み動画 */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) { display: none; } /* 広告ツイートのリスト型・スクロール型 */ body[ptd_media="0"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-roledescription="carousel"]) { display: none; } /* ===================== MediaSize=[1]SMALL =============== */ /* カードの画像サイズ */ body[ptd_media="1"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1) > div:nth-of-type(n+1) { width: 100px !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="1"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1) > div:nth-of-type(n+1) { width: 75px !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="1"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1), body[ptd_media="1"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1) > div:nth-last-of-type(1) { width: 100% !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="1"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1), body[ptd_media="1"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1) > div:nth-last-of-type(1) { width: 100% !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } /* テキストの無いカードのドメインテキストを右枠にずらす */ body[ptd_media="1"] div[data-testid="card.wrapper"] > div:nth-of-type(n+1) > a:nth-of-type(1) > div:nth-of-type(n+1) > div:nth-of-type(n+1) > div:nth-of-type(1) > span:nth-of-type(1) { position: absolute; margin-left: 100px; margin-top: -10px; } /* カードのテキスト回り込みで高さが出てしまうのを制限 */ body[ptd_media="1"] div[data-testid="card.wrapper"] > div:nth-of-type(3) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { max-height: 10px !important; } /* 画像縮小と半透明処理 */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]) { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]):hover { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 1;} /* 引用RT */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]) { max-width: 99%; max-height: 75px; opacity: 0.5; border-color: rgba(127,127,127,0.2); } body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]):hover { max-width: 99%; max-height: 75px; opacity: 1.0; border-color: rgba(127,127,127,0.5);} /* 引用先の画像縮小と半透明処理 */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]) { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]):hover { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 1; } /* 引用先の画像エレメントの深いところに何故か固定サイズが書かれているので上書きする */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]) { max-width: 150px; max-height: 75px; } /* 広告ツイートの埋め込み動画 */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) { max-width: 150px; max-height: 75px; } body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1) { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1):hover { max-width: 150px; max-height: 75px; justify-content: center; overflow-y: clip; opacity: 1.0; } /* 広告ツイートのリスト型・スクロール型 */ body[ptd_media="1"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-roledescription="carousel"]) { max-width: 150px; max-height: 75px; } /* ===================== MediaSize=[2]NORMAL =============== */ /* カードの画像サイズ */ body[ptd_media="2"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1) > div:nth-of-type(n+1) { width: 150px !important; max-height: 100px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="2"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1) > div:nth-of-type(n+1) { width: 75px !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="2"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1), body[ptd_media="2"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1) > div:nth-last-of-type(1) { width: 100% !important; max-height: 100px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } body[ptd_media="2"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1), body[ptd_media="2"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1) > div:nth-last-of-type(1) { width: 100% !important; max-height: 75px !important; overflow-y: hidden; overflow-x: hidden; border-color: transparent; } /* テキストの無いカードのドメインテキストを右枠にずらす */ body[ptd_media="2"] div[data-testid="card.wrapper"] > div:nth-of-type(n+1) > a:nth-of-type(1) > div:nth-of-type(n+1) > div:nth-of-type(n+1) > div:nth-of-type(1) > span:nth-of-type(1) { position: absolute; margin-left: 150px; margin-top: -10px; font-size: 20px; } /* カードのテキスト回り込みで高さが出てしまうのを制限 */ body[ptd_media="2"] div[data-testid="card.wrapper"] > div:nth-of-type(3) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { max-height: 32px !important; } /* 画像縮小と半透明処理 */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]) { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]):hover { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 1;} /* 引用RT */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]) { max-width: 99%; max-height: 95px; opacity: 0.5; border-color: rgba(127,127,127,0.2); } body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]):hover { max-width: 99%; max-height: 95px; opacity: 1.0; border-color: rgba(127,127,127,0.5);} /* 引用先の画像縮小と半透明処理 */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]) { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]):hover { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 1; } /* 引用先の画像エレメントの深いところに何故か固定サイズが書かれているので上書きする */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]) { max-width: 200px; max-height: 100px; } /* 広告ツイートの埋め込み動画 */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) { max-width: 200px; max-height: 100px; } body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1) { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1):hover { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 1.0; } /* 広告ツイートのリスト型・スクロール型 */ body[ptd_media="2"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-roledescription="carousel"]) { max-width: 200px; max-height: 100px; } /* ===================== MediaSize=[3]LARGE =============== */ /* 元のサイズで表示するので何もなし */ /* ===================== MediaSize=[4]LINK =============== */ /* カードの画像サイズ */ body[ptd_media="4"] div[data-testid="card.wrapper"] { width: 75px; height: 32px; opacity: 1.0 !important; } body[ptd_media="4"]:not([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"] { background-color: rgba(95,95,95,0.5); } body[ptd_media="4"]:is([PTD_LIGHTCOLOR]) div[data-testid="card.wrapper"] { background-color: rgba(191,191,191,0.5); } body[ptd_media="4"] div[data-testid="card.layoutLarge.media"] > a:nth-of-type(1) > div:nth-of-type(1) { width: 75px !important; height: 32px !important; overflow-y: hidden; overflow-x: hidden; } body[ptd_media="4"] div[data-testid="card.layoutSmall.media"] > a:nth-of-type(1) > div:nth-of-type(1) { width: 75px !important; height: 32px !important; overflow-y: hidden; overflow-x: hidden; } /* 画像縮小と半透明処理 */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]) { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 0.75; } body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]):not(:has([data-testid="cardPoll"])):not([role="group"]):hover { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 1;} /* 引用RT */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]) { max-width: 50%; max-height: 32px; opacity: 0.5; border-color: rgba(127,127,127,0.2); } body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(n+1):not([data-testid*="card"]) > div:nth-of-type(2):not([data-testid*="card"]):hover { max-width: 50%; max-height: 32px; opacity: 1.0; border-color: rgba(127,127,127,0.5); } /* 引用先の画像縮小と半透明処理 */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]) { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3):not([data-testid*="card"]):hover { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 1; } /* 引用先の画像エレメントの深いところに何故か固定サイズが書かれているので上書きする */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n+3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1) > div:nth-of-type(1):not([data-testid*="card"]) { max-width: 75px; max-height: 32px; } /* 広告ツイートの埋め込み動画 */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) { max-width: 75px; max-height: 32px; } body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1) { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 0.5; } body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-label="埋め込み動画"]) > div:nth-of-type(1) > div:nth-of-type(1):hover { max-width: 75px; max-height: 32px; justify-content: center; overflow-y: clip; opacity: 1.0; } /* 広告ツイートのリスト型・スクロール型 */ body[ptd_media="4"] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+3) div[data-testid="card.wrapper"]:has(div[aria-roledescription="carousel"]) { max-width: 75px; max-height: 32px; } /* ===================== MediaSize =============== */ /* ****************************************************************************************************************** */ /* 縮小処理各種ここまで */ /* ****************************************************************************************************************** */ /* スクリプトとの連携を行っているので単体で使う場合は先頭の「body[ptd_notrt="1"] 」「body[ptd_notquote="1"] 」を削除して使って下さい。 */ /* タイムラインからRT非表示※ */ body[ptd_notrt="1"] div[data-testid="cellInnerDiv"]:has(.r-1iusvr4.r-16y2uox path[d^="M4.75 3.79l4.603 4.3-1.706"]) { display: none !important; } /*タイムラインから引用RT非表示※ */ body[ptd_notquote="1"] div[data-testid="cellInnerDiv"]:has(article .r-1867qdf.r-rs99b7.r-1loqt21.r-1ny4l3l.r-1udh08x.r-o7ynqc.r-6416eg) { display: none !important; } /* 引用RT先や外部リンクを半透明処理※ */ div[role="link"]{ width: 100%; opacity: 0.5; } div[role="link"]:hover{ width: 100%; opacity: 1; } /* 一部のボタン類を除きアバターアイコンなどの角を丸くしない */ .r-sdzlij:not([data-testid="playButton"]):not([data-testid="tweetButton"]):not([data-testid="tweetButtonInline"]):not([data-testid="SideNav_NewTweet_Button"]):not([data-testid="confirmationSheetConfirm"]):not([data-testid="confirmationSheetCancel"]):not([data-testid="editProfileButton"]):not([aria-label*="フォロー"]):not([aria-label*="ブロック"]):not([aria-label="プレイ"]):not([aria-label*="新しい"]):not([role="link"]):not([role="button"]):not([role="presentation"]) ,.avatar { border-radius: 0 !important; } /* 画像やカードの角を丸くしない */ div[aria-label="メディア"] , .r-1867qdf , div[aria-labelledby*="id"] > div > div > div > div:not([aria-label="プレイ"]) , article[data-testid="tweet"] > div > div > div > div > div > div > div , div[aria-roledescription="carousel"] a[href] { border-radius: 0 !important; } /* スクロールバーの非表示 */ ::-webkit-scrollbar { width: 2px !important; } /* 入力欄文字サイズ */ .public-DraftEditorPlaceholder-inner, .DraftEditor-editorContainer { font-size: 16px; } /* プロモーションツイートの消去 */ [data-testid="placementTracking"][class="css-1dbjc4n"]/* プロモーション */ ,[data-testid="placementTracking"][class="css-175oi2r"]/* プロモーション */ ,[aria-label$="さんのツイート"] .css-1dbjc4n.r-1wtj0ep.r-ymttw5.r-1f1sjgu/* タイトル */ ,[aria-label$="さんのツイート"] .css-175oi2r.r-1wtj0ep.r-ymttw5.r-1f1sjgu/* タイトル */ ,[aria-label$="さんのツイート"] [data-testid="UserCell"]/* おすすめユーザー・トピック */ ,[aria-label$="さんのツイート"] [href*="/i/"]:not([href*="/events/"])/* さらに表示 */ /*===== ホームTL =====*/ ,[aria-label="タイムライン: ホームタイムライン"] .css-1dbjc4n.r-1wtj0ep.r-ymttw5.r-1f1sjgu/* タイトル */ ,[aria-label="タイムライン: ホームタイムライン"] .css-175oi2r.r-1wtj0ep.r-ymttw5.r-1f1sjgu/* タイトル */ ,[aria-label="タイムライン: ホームタイムライン"] [data-testid="UserCell"]/* おすすめユーザー */ ,[aria-label="タイムライン: ホームタイムライン"] [href*="/i/"]:not([href*="/events/"]):not([href*="/user/"]):not([href*="/lists/"])/* さらに表示 */ ,[aria-label="タイムライン: ホームタイムライン"] .css-1dbjc4n.r-6wcr4z ,[aria-label="タイムライン: ホームタイムライン"] .css-175oi2r.r-6wcr4z ,.css-1dbjc4n.r-rull8r.r-qklmqi.r-1efd50x.r-5kkj8d.r-1or9b2r ,.css-175oi2r.r-rull8r.r-qklmqi.r-1efd50x.r-5kkj8d.r-1or9b2r { display: none !important; } /*「ミュートしているアカウントによるポスト/ツイートです。」を非表示 */ article:has(.r-1867qdf.r-1phboty.r-1wtj0ep){ display: none !important; } /* その他のツイートを消す */ /* [aria-label="タイムライン: 会話"] h2, [aria-label="タイムライン: 会話"] div:has(h2) ~ div{ visibility:hidden !important; } */ /* TL中に出てくるフォローを促す複数行を非表示にする */ div[aria-label^="タイムライン"]:not([aria-label="タイムライン: リストに追加されているユーザー"]):not(aria-label="タイムライン: リポスト") div[data-testid="cellInnerDiv"]:has(a[href^="/i/connect_people"]), div[aria-label^="タイムライン"]:not([aria-label="タイムライン: リストに追加されているユーザー"]):not(aria-label="タイムライン: リポスト") div[data-testid="cellInnerDiv"]:has(h2[role="heading"][aria-level="2"]), div[aria-label^="タイムライン"]:not([aria-label="タイムライン: リストに追加されているユーザー"]):not(aria-label="タイムライン: リポスト") div[data-testid="cellInnerDiv"]:has(div[role="button"][data-testid="UserCell"]) { display: none; } /* ツイート下のRep RT Favなどを透明化※ */ div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]) { max-width: 100%; opacity: 0.5; } div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]):hover { max-width: 100%; opacity: 1.0; } /* ツイート下のRep RT Favなどを等間隔に近づける(5アイコン表示・横幅400px時)※右端要素のみ右に寄るようにした場合 */ /* div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]) > div:nth-of-type(n+1) { min-width: 20%; } div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]) > div:nth-last-of-type(1) { min-width: auto; } */ /* ツイート下のRep RT Favなどを等間隔に近づける(5アイコン表示・横幅400px時)※拡張によって追加されているブロックアイコンが右端にある場合(原寸びゅーを使っていると画像ありの場合、原寸表示用のアイコンが非表示で追加されているため相対位置が変わってしまう) Twitter UI Customizer の併用が前提になります */ /* div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]) > div:nth-of-type(n+1):not(:has([tuicbutton="userBlock"])) { min-width: 20%; } div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1):is([aria-label][role="group"]) > div:nth-of-type(n+1):has([tuicbutton="userBlock"]) { min-width: auto; } */ /* ツイート下のブックマークアイコンを非表示 */ div[class="css-175oi2r r-18u37iz r-1h0z5md"]:has([aria-label="ブックマーク"]) { display: none; } /* ツイート下のRep RT Favなどをまるごと非表示にする ※単体で使う場合は先頭の「body[PTD_NOTCOMMICON="1"] 」を削除 */ body[PTD_NOTCOMMICON="1"] div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1){ display: none; } /* タイムスタンプ色替え(絶対時間に置換されている場合) */ span[datetime][local-datetime] { color: rgb(127,127,0) !important; } /* タイムスタンプ色替え(相対時間表示の場合) */ main div[data-testid="primaryColumn"] section article a[href*="/status/"] time { color: rgb(127,127,0) !important; } /* 上部タブのアンダーバーを色替えし高さを低くする(ダークテーマ用)※ */ body:not([PTD_LIGHTCOLOR]) div[role="presentation"] > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { background-color: rgba(63,63,63,0.5); height: 3px; } /* 上部タブのアンダーバーを色替えし高さを低くする(ライトテーマ用)※ */ body:is([PTD_LIGHTCOLOR]) div[role="presentation"] > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { background-color: rgba(224,224,224,0.5); height: 3px; } /* 上部ヘッダ(スクロールしない固定部)が半透明なのを不透明にする(ダークテーマ用)※ */ body:not([PTD_LIGHTCOLOR]) div[aria-label="ホームタイムライン"] > div:nth-of-type(1) { background-color: rgba(0,0,0,1.0) !important; } /* 上部ヘッダ(スクロールしない固定部)が半透明なのを不透明にする(ライトテーマ用)※ */ body:is([PTD_LIGHTCOLOR]) div[aria-label="ホームタイムライン"] > div:nth-of-type(1) { background-color: rgba(255,255,255,1.0) !important; } /* スクリプトにてチェックボックス追加の際に「・・・」(もっと見る)ボタンコントロールが反応するエリアがハミ出すのを調整※ */ article[data-testid="tweet"] div[aria-haspopup="menu"][role="button"][aria-label="もっと見る"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { display: none; } article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { margin-left: 0px; margin-right: 10px; } /* この会話に返信出来ます を非表示 */ div[class="css-1dbjc4n r-k200y r-15zivkp r-knv0ih"], div[class="css-175oi2r r-k200y r-15zivkp r-knv0ih"] { display: none; } /*コミュニティノートの「役に立ちましたか?」非表示*/ div[data-testid="birdwatch-pivot"] > div:last-of-type { display: none !important; } /*トピックツイート非表示*/ div[data-testid="cellInnerDiv"]:has([href*="/topics"]):has([aria-label*="トピック"]) { display: none; } /* Firefox で短縮対象外のツイートにも全部「さらに表示」が出てしまう回避策 */ /* .r-1tl8opc { font-family: "Meiryo UI","Segoe UI", Meiryo, system-ui, sans-serif; } .r-37j5jr { font-family: "Meiryo UI","TwitterChirp","Segoe UI", Roboto, Helvetica, Arial, sans-serif; } */ /* ユーザースクリプトによる情報表示部+ボタンの濃度調整 */ /* div[id="PTD_PARENT_BLOCK"] { opacity: 0.5 !important; } div[id="PTD_PARENT_BLOCK"]:hover { opacity: 1.0 !important; } */ /* ユーザースクリプトによる情報表示部の上に乗ったボタンの不透明化※ */ body:not([PTD_LIGHTCOLOR]) div[id="PTD_INFO_LBTN_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_INFO_MBTN_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_INFO_RBTN_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_COUNT_BLOCK2"]:hover { opacity: 1.0; } body:is([PTD_LIGHTCOLOR]) div[id="PTD_INFO_LBTN_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_INFO_MBTN_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_INFO_RBTN_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_COUNT_BLOCK2"]:hover { opacity: 1.0; } /* ユーザースクリプトによる情報表示部横ボタンの色替え※ */ body:not([PTD_LIGHTCOLOR]) div[id="PTD_HELP_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_SHORT_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_INTERVAL_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_AUTO_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_EDIT_BLOCK"]:hover, body:not([PTD_LIGHTCOLOR]) div[id="PTD_COUNT_BLOCK"]:hover { color: rgb(255,255,255,1.0); background-color: rgba(63,63,63,1.0); } body:is([PTD_LIGHTCOLOR]) div[id="PTD_HELP_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_SHORT_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_INTERVAL_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_AUTO_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_EDIT_BLOCK"]:hover, body:is([PTD_LIGHTCOLOR]) div[id="PTD_COUNT_BLOCK"]:hover { color: rgb(0,0,0,1.0); background-color: rgba(224,224,224,1.0); } /* ユーザースクリプトによるボタンツールチップの不透明化 */ div[id="PTD_POPUP_BLOCK"]:has(table[id="PTD_POPUP_TOOLTIPS"]) { opacity: 0.8; } /* 対象ページ以外でもチェックボックスが出てしまう不整合タイミングがあるので非表示化 */ body:not([PTD_TYPE="PSEUDOTWEETDECKHOME"]):not([PTD_TYPE="PSEUDOTWEETDECKLIST"]):not([PTD_TYPE="PSEUDOTWEETDECKSEAR"]):not([PTD_TYPE="PSEUDOTWEETDECKUSER"]) div[PTD_READ_PARENT] { display: none; } /* ###################################################################################################################### */ /* タブ幅で切り替わる定義 */ /* ###################################################################################################################### */ @media screen and (max-width: 900px) {/* 末尾の「}」を忘れない事 */ /* 左の縦並びメニューアイコン非表示※ */ header[role="banner"] { display: none; } /* ツイート本文横の余白を限界まで縮める※ */ div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(n+2) { margin-left: -13px; margin-right: -16px; } /* ただしツイート下部アイコンだけは逆に左右余白を多めに※ */ div[aria-label^="タイムライン: "] article[data-testid="tweet"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(1) { margin-left: 16px; margin-right: 16px; } /* [Control Panel for Twitter 未使用時に新着ポップアップを削除 */ div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2):has([aria-label="新しいポストがあります。新しいポストに移動するには、ピリオドキーを押してください。"]) { display: none; } /* ######################### ページ個別の定義 ######################### */ /* ※固有の「PSEUDOTWEETDECKxxxx」で判定しているためユーザースクリプトとの併用が前提なので個別のURL用カスタムCSSを別途定義する場合は 先頭の「body[ptd_type="PSEUDOTWEETDECKxxxx"] 」を削除して使って下さい */ /* ##### Homeページ ##### */ /* ホームTLの上部余白を詰める */ /* ※限界まで縮めるよりも他のページと固定部の高さが同じになるよう揃えた方が見栄えが良いのでコメントアウト body[ptd_type="PSEUDOTWEETDECKHOME"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) { height: 32px; } body[ptd_type="PSEUDOTWEETDECKHOME"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { padding-top: 5px; padding-bottom: 5px; } */ /* Home上部 新着ツイートありの表示を非表示にする※ */ body[ptd_type="PSEUDOTWEETDECKHOME"]:not([PTD_NEWTWEET="true"]) div[aria-label="タイムライン: ホームタイムライン"] div div[data-testid="cellInnerDiv"]:has([role="button"][class="css-175oi2r r-1777fci r-dfe81l r-13qz1uu r-1loqt21 r-o7ynqc r-6416eg r-1ny4l3l"]) { display: none; } /* ホーム見出しの非表示化 */ body[ptd_type="PSEUDOTWEETDECKHOME"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { display: none; } /* [Control Panel for Twitter で非表示にしていない場合] おすすめタブと進む戻るボタンを削除 */ body[ptd_type="PSEUDOTWEETDECKHOME"] div[role="tablist"] > div:nth-of-type(1):is([role="presentation"]):has(a[href="/home"]), body[ptd_type="PSEUDOTWEETDECKHOME"] div:is([data-testid="ScrollSnap-prevButtonWrapper"],[data-testid="ScrollSnap-nextButtonWrapper"]) { display: none; } /* ##### リストページ ##### */ /* リストページのヘッダ削除※ */ body[ptd_type="PSEUDOTWEETDECKLIST"]:not([ptd_list_scroll]) div[aria-label="タイムライン: リスト"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKLIST"]:not([ptd_list_scroll]) div[aria-label="タイムライン: リスト"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { display: none; } /* リストページの上部余白詰め */ /* ※限界まで縮めるよりも他のページと固定部の高さが同じになるよう揃えた方が見栄えが良いのでコメントアウト body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n), body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) { border: 0px; height: 32px; } */ /* リスト制作者名の非表示※ */ body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) { display: none; } /* リスト名を長く表示するためもっと見る[...]ボタンを非表示※ */ body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) { display: none; } body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: -3px; margin-left: -15px; min-width: 32px; } body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { border: 0px; width: 32px; height: 32px; } /* リスト名表示部の高さ微調整※ */ body[ptd_type="PSEUDOTWEETDECKLIST"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h2:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(1) { margin-top: 2px; } /* ##### ユーザーページ ##### */ /* ユーザーページのヘッダ削除※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { display: none !important; } /* ユーザーページでフォロー&フォロー解除ボタンを削除※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label^="フォロー"][tabindex="0"][role="button"]{ display: none !important; } /* ユーザーページの上部余白を詰める※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { border: 0px; height: 32px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) { border: 0px; height: 28px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) { margin-top: -10px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: -7px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h2:nth-of-type(1) { height: 25px; } /* 上部ユーザー名の表示幅調整 */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h2:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { min-width: 20%; max-width: 35%; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h2:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h2:nth-of-type(1) > div:nth-of-type(1) { min-width: 360px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) { display: none; } /* 戻るボタンの端寄せ※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: 5px; margin-left: -15px; min-width: 32px; } body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { border: 0px; width: 32px; height: 32px; } /* タブ部の進む戻るボタン非表示※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(3) { display: none;} /* ツイート数の非表示※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) { display: none; } /* ユーザーページの固定ツイートを非表示※ */ /* ※スクリプトによるptd_fixed目印の追加が必要になりますのでこれは単体使用できません(「固定」という文字列を見つけないと判定が出来ないので) */ body[ptd_type="PSEUDOTWEETDECKUSER"] div[ptd_fixed="true"] { display: none; } /* ユーザーページの上部タブを固定※ */ body[ptd_type="PSEUDOTWEETDECKUSER"] nav[aria-label="プロフィールタイムライン"] { position: sticky; z-index: 5; top: 18px; } body[ptd_type="PSEUDOTWEETDECKUSER"]:not([PTD_LIGHTCOLOR]) nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) { background-color: rgba(0,0,0,1.0); } body[ptd_type="PSEUDOTWEETDECKUSER"]:is([PTD_LIGHTCOLOR]) nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) { background-color: rgba(255,255,255,1.0); } /* ##### 通知ページ ##### */ /* 通知ページ上部の余白詰め※ */ body[ptd_type="PSEUDOTWEETDECKNOTI"] nav[aria-label="通知タイムライン"] { margin-top: -32px !important; } body[ptd_type="PSEUDOTWEETDECKNOTI"] nav[aria-label="通知タイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) > div:nth-of-type(1) { height: 13px !important;} /* 通知ページの上部余白を更に詰め※ */ body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n), body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) { border: 0px; height: 32px; } /* 見出し高さ微調整※ */ body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > h2:nth-of-type(1) > span:nth-of-type(1) { margin-top: 3px; } /* フォローなどのアクションアイコンとアバターの回り込み※ */ body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(n) > span:nth-of-type(1) > span:nth-of-type(1) { font-size: 12px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) { margin-left: -47px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(n+3) { margin-left: -47px; max-height: 75px; overflow-y: hidden; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > a:nth-of-type(1) { margin-left: -47px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article:nth-of-type(1):not([data-testid="tweet"]) { padding-left: 2px; padding-right: 2px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article[data-testid="tweet"] { padding-left: 12px; padding-right: 18px; } /* コミュニティーノートの表題縮小と高さ制限と文章回り込み */ body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article[data-testid="notification"] > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) { font-size: 11px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article[data-testid="notification"] > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2) { margin-left: -47px; max-height: 100px; } body[ptd_type="PSEUDOTWEETDECKNOTI"] div[aria-label="タイムライン: 通知"] > div:nth-of-type(1) > div:nth-of-type(n) > div:nth-of-type(1) > div:nth-of-type(1) > article[data-testid="notification"]:has( > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1)):has( > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2)) > div:nth-of-type(1) { display: none; } /* [Control Panel for Twitter で非表示にしていない場合] 認証済みタブを削除 */ body[ptd_type="PSEUDOTWEETDECKNOTI"] div[role="presentation"]:has(a[href="/notifications/verified"]) { display: none; } /* ##### 検索ページ ##### */ /* 検索ページの上部余白を詰める※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) { height: 25px; } body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { padding-top: 3px; padding-bottom: 3px; } /* 検索ページの上部余白を更に詰め※ */ /* これが遠因と思われる、検索ページで更新がかからない事例が報告されています。PTD_SEARCH_UPDを付与して更新時に一時的にこのブロック */ /* のCSSを無効にする事が出来ます。システムコンフィグにて設定して下さい。もしくはこのブロックまるごとコメントアウトして運用して下さい */ body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) form[aria-label="検索"][role="search"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1) > div:nth-of-type(1) > svg:nth-of-type(1) { padding: 0px; } body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) form[aria-label="検索"][role="search"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1) > div:nth-of-type(1) { width: 18px; } body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) { width: 100%; } body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) { margin-left: -18px; } body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), body[ptd_type="PSEUDOTWEETDECKSEAR"]:not([PTD_SEARCH_UPD]) div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { height: 20px; } /* 検索ボックスのスリム化※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] form[aria-label="検索"][role="search"] > div:nth-of-type(1) { height: 20px !important;} /* 検索入力部の幅を拡げるためもっと見る[...]ボタンを非表示※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) { display: none; } body[ptd_type="PSEUDOTWEETDECKSEAR"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: -5px; margin-left: -15px; min-width: 32px; } body[ptd_type="PSEUDOTWEETDECKSEAR"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) { border: 0px; width: 32px; height: 32px; } body[ptd_type="PSEUDOTWEETDECKSEAR"] div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: 5px; } /* 検索ページの「話題のツイート」を非表示※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(1) { display: none !important; } /* 検索ページの「アカウント」を非表示※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(3) { display: none !important; } /* 検索ページの「リスト」を非表示※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(5) { display: none !important; } /* 検索ページのタブを戻る進むボタンを非表示※ */ body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-prevButtonWrapper"], body[ptd_type="PSEUDOTWEETDECKSEAR"] div[data-testid="ScrollSnap-nextButtonWrapper"]{display:none !important;} } /* タブ幅で有効無効が切り替わるスコープ末尾の「}」 */ /* ###################################################################################################################### */ /* タブ幅で切り替わる定義ここまで */ /* ###################################################################################################################### */ /* ### EOF ### */