/* -------------------------------- */ /* CustomCSS.txt */ /* Ver: 1.0.09040400 */ /* -------------------------------- */ /* 「----」で区切ってあるが複数の対象URL別CSSの羅列なので適宜コピーペーストして登録する */ /* 「----」の行自身はコピーしない */ ------------------------ https://twitter.com/** ------------------------ /* ユーザー名のマウスオーバーでユーザー情報をポップアップしない */ /*.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; } /* カードの画像サイズ */ div[data-testid="card.layoutLarge.media"] { width: 150px !important; max-height: 100px !important; } /* カードの文字を画像の横に配置する */ div[data-testid="card.wrapper"] { flex-direction: row !important; border-radius: 0 !important; opacity: 0.5 !important; } div[data-testid="card.wrapper"]:hover { flex-direction: row !important; border-radius: 0 !important; opacity: 1 !important; } div[data-testid="card.wrapper"] > div:nth-of-type(2) > a:nth-of-type(1) > div:nth-of-type(1) { padding-top: 0px; } /* 画像縮小と半透明処理 */ 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"]) { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 0.5; } 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"]):hover { max-width: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 1;} /* 引用RTの半透明処理 */ 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):not([data-testid*="card"]) { max-width: 100%; max-height: 100px; opacity: 0.5; } 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):not([data-testid*="card"]):hover { max-width: 100%; max-height: 100px; opacity: 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: 200px; max-height: 100px; justify-content: center; overflow-y: clip; opacity: 0.5; } 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; } /* 引用先まで縮小が効くよう調整 */ /* 何故か固定サイズが書かれているので上書きする */ 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; } /* 引用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 { border-radius: 0 !important; } /* スクロールバーの非表示 */ ::-webkit-scrollbar { width: 2px !important; } /* 入力欄文字サイズ */ .public-DraftEditorPlaceholder-inner, .DraftEditor-editorContainer { font-size: 16px; } /* プロモーションツイートの消去 */ [data-testid="placementTracking"][class="css-1dbjc4n"]/* プロモーション */ ,[aria-label$="さんのツイート"] .css-1dbjc4n.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="タイムライン: ホームタイムライン"] [data-testid="UserCell"]/* おすすめユーザー */ ,[aria-label="タイムライン: ホームタイムライン"] [href*="/i/"]:not([href*="/events/"]):not([href*="/user/"]):not([href*="/lists/"])/* さらに表示 */ ,[aria-label="タイムライン: ホームタイムライン"] .css-1dbjc4n.r-6wcr4z ,.css-1dbjc4n.r-rull8r.r-qklmqi.r-1efd50x.r-5kkj8d.r-1or9b2r { display: none !important; } /* その他のツイートを消す */ /* [aria-label="タイムライン: 会話"] h2, [aria-label="タイムライン: 会話"] div:has(h2) ~ div{ visibility:hidden !important; } */ /* ツイート下のRep RT Favなどを半透明化して暗くする */ [aria-label][role="group"][class="css-1dbjc4n r-1kbdv8c r-18u37iz r-1wtj0ep r-a1ub67 r-hzcoqn"], [aria-label][role="group"][class="css-1dbjc4n r-1kbdv8c r-18u37iz r-1wtj0ep r-1s2bzr4 r-hzcoqn"] { opacity: 0.25; } [aria-label][role="group"][class="css-1dbjc4n r-1kbdv8c r-18u37iz r-1wtj0ep r-a1ub67 r-hzcoqn"]:hover, [aria-label][role="group"][class="css-1dbjc4n r-1kbdv8c r-18u37iz r-1wtj0ep r-1s2bzr4 r-hzcoqn"]:hover { opacity: 1; } /* タイムスタンプ色替え */ span[datetime][local-datetime] { color: rgb(127,127,0) !important; } /* 上部タブのアンダーバーを色替えし高さを低くする */ 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: rgb(63,63,63); height: 3px; } ---------------------------------------- https://twitter.com/home ---------------------------------------- @media screen and (max-width: 400px) { /* 左の縦並びメニューアイコン非表示 */ header[role="banner"] { display: none; } /* ホームTLの上部余白を詰める */ div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) { height: 32px; } 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; } /* REPLY RT FAV アイコンの左寄せ */ /*article[data-testid="tweet"] > div > div [role="group"] { width: 50%; }*/ } ------------------------------- https://twitter.com/i/lists/** ------------------------------- @media screen and (max-width: 400px) { /* 左の縦並びメニューアイコン非表示 */ header[role="banner"] { display: none; } /* リストページのヘッダ削除 */ div[aria-label="タイムライン: リスト"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), 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; } /* リストページの上部余白詰め */ div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), 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[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[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[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[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; } /* リスト制作者名の非表示 */ 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; } /* リスト名を長く表示するためもっと見る[...]ボタンを非表示 */ 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; } 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; } 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; } /* REPLY RT FAV アイコンの左寄せ */ /*article[data-testid="tweet"] > div > div [role="group"] { width: 50%; }*/ } ---------------------------------------- https://twitter.com/notifications** ---------------------------------------- @media screen and (max-width: 400px) { /* 左の縦並びメニューアイコン非表示 */ header[role="banner"] { display: none; } /* 通知ページ上部の余白詰め */ nav[aria-label="通知タイムライン"] { margin-top: -32px !important; } 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;} /* 通知ページの上部余白を更に詰め */ div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), 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[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[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[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[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; } } ----------------------------------------------------------------------------------------------- https://twitter.com/USERNAME1**,https://twitter.com/USERNAME2**,https://twitter.com/USERNAME3** ----------------------------------------------------------------------------------------------- @media screen and (max-width: 400px) { /* 左の縦並びメニューアイコン非表示 */ header[role="banner"] { display: none; } /* ユーザーページのヘッダ削除 */ 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; } /* ユーザーページでフォロー&フォロー解除ボタンを削除 */ div[aria-label^="フォロー"][tabindex="0"][role="button"]{ display: none !important; } /* ユーザーページの上部余白を詰める */ nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1), nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2), nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1), nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(n) , 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), 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), 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; } div[aria-label="ホームタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1), 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[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[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[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[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; } div[aria-label="ホームタイムライン"] > div:nth-of-type(1) { margin-top: -10px; } 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; } 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[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[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; } /* 戻るボタンの端寄せ */ 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; } 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; } /* タブ部の進む戻るボタン非表示 */ nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(1), nav[aria-label="プロフィールタイムライン"] > div:nth-of-type(1) > div:nth-of-type(3) { display: none;} /* ツイート数の非表示 */ 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; } } ------------------------------ https://twitter.com/search** ------------------------------ @media screen and (max-width: 400px) { /* 左の縦並びメニューアイコン非表示 */ header[role="banner"] { display: none; } /* 検索ページの上部余白を詰める */ div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(n) > a:nth-of-type(1) { height: 25px; } 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; } /* 検索ページの上部余白を更に詰め */ /*form[aria-label="検索"][role="search"] { margin-top: -24px; }*/ 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; } 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; } 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%; } 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; } 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[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[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[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; } /* 検索ボックスのスリム化 */ form[aria-label="検索"][role="search"] > div:nth-of-type(1) { height: 20px !important;} /* 検索入力部の幅を拡げるためもっと見る[...]ボタンを非表示 */ 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; } 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; } 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; } div[aria-label="ホームタイムライン"][tabindex="0"] > div:nth-of-type(1) > div:nth-of-type(1) { margin-top: 5px; } /* 検索ページの「話題のツイート」を非表示 */ div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(1) { display: none !important; } /* 検索ページの「アカウント」を非表示 */ div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(3) { display: none !important; } /* 検索ページの「リスト」を非表示 */ div[data-testid="ScrollSnap-SwipeableList"] > div:nth-of-type(1) > div:nth-of-type(5) { display: none !important; } /* 検索ページのタブを戻る進むボタンを非表示 */ div[data-testid="ScrollSnap-prevButtonWrapper"], div[data-testid="ScrollSnap-nextButtonWrapper"]{display:none !important;} }