/*************************************************************************/ /* userContent.css */ /* */ /* LastUpdate 2026.05.25 by @PseudoTwDk */ /* */ /* https://ss1.xrea.com/coltpythonkingcobra.g1.xrea.com/pseudoTweetdeck/ */ /* http://coltpythonkingcobra.g1.xrea.com/pseudoTweetdeck/ */ /*************************************************************************/ /* ホームタブにショートカットのみ(設定-ホームでそこだけチェック)とし、 */ /* about:config(browser.newtabpage.activity-stream.topSitesRows=5)にて */ /* 5行表示している場合のFirefox,Waterfox,Foorp,LibraWolf共通調整 */ @-moz-document url("about:newtab"), url("about:home"), url("about:privatebrowsing") { /* for ESR, Waterfox */ #root:not(:has(aside.sidebar-inline-start)) main.newtab-main { width: 989px !important; height: 812px !important; margin-top: 32px !important; margin-left: 58px !important; } /* for Release, Beta, Aurora, Floorp, Librewolf */ aside.sidebar-inline-start:not(:has(h1)) + aside.sidebar-inline-end + main.content { width: 989px !important; height: 812px !important; margin-top: -95px; margin-left: -95px; } /* for Nightly */ aside.sidebar-inline-start:has(h1) + aside.sidebar-inline-end + main.content { width: 989px !important; height: 812px !important; margin-top: -21px; margin-left: -95px; } /* 共通 */ main.newtab-main, main.content { ul.top-sites-list { height: 776px !important; margin: 0 -12px !important; row-gap: 0px !important; column-gap: 0px !important; } li.top-site-outer { width: 120px !important; height: 136px !important; margin: 0px !important; border-radius: 8px !important; } li.top-site-outer button.context-menu-button.icon { inset-block-start: -15px !important; } li.top-site-outer > div > a div.icon.icon-pin-small { display: none !important; } li.top-site-outer > div > a div.top-site-icon.rich-icon { width: 48px !important; height: 48px !important; border-radius: 8px !important; inset-inline-start: unset !important; inset-block-start: unset !important; } li.top-site-outer > div > a > div.tile[aria-hidden="true"] { width: 80px !important; height: 80px !important; border-radius: 8px !important; } li.top-site-outer > div > a > div.tile[aria-hidden="true"] > div { width: 48px !important; height: 48px !important; } .top-site-inner > a.top-site-button { margin-top: 16px !important; margin-bottom: 16px !important; padding-top: 0px !important; padding-bottom: 0px !important; } } menu.personalizeButtonWrapper { display: none !important; } h1.logo-and-wordmark-wrapper { display: none !important;} } /* 設定ページ調整 */ @-moz-document url-prefix("about:preferences"){ /* 規定のブラウザ欄を非表示 */ [groupid="defaultBrowser"], #defaultBrowserBox, #setting-control-alwaysCheckDefault, #setting-control-isDefaultPane, #setting-control-isNotDefaultPane, #floorp-hub-warning, #floorp-start-warning { display: none !important; } /* LibreWolfのトラッキング設定を標準にした場合に表示されるようにする */ #contentBlockingOptionStandard, #contentBlockingOptionCustom { display: unset !important; } /* Waterfoxの移動型見出しを非表示にする */ .toc { display: none !important; } /* プライバシーポリシーと検索ボックスを非表示 */ hbox.sticky-inner-container, nav-notice#policies-container, #search-container { display: none !important; } /* おすすめの拡張機能を紹介する,おすすめの機能を紹介するを非表示(policies.jsonで強制無効にしてあるため) */ setting-control:has(#cfrRecommendations), setting-control:has(#cfrRecommendations-features), #setting-control-cfrRecommendations, #setting-control-cfrRecommendations-features { display: none !important; } /* テレメトリコンテナ・AI支援のメッセージを非表示 */ moz-message-bar#telemetryContainer, moz-message-bar#aiBlockedMessage, moz-card#aiControlsDescription { display: none !important; } /* FirefoxNightly左ペイン新仕様調整 */ .primary-nav-group + hr { display: none; } div#secondary-nav-group { position: absolute; bottom: 40px; } moz-page-nav#categories { max-width: 230px; border-right: 1px solid rgba(255,255,255,0.3) !important; } vbox.main-content{ margin-top: 0px !important; } } /* アドオンページ */ @-moz-document url-prefix("about:addons"){ /* おすすめ */ moz-page-nav-button[id="category-discover"] { display: none !important; } } /* バージョン情報&更新ボタンダイアログをタブで表示する場合のFirefox,Waterfox,Foorp,LibraWolf共通調整 */ @-moz-document url-prefix(chrome://browser/content/aboutDialog.xhtml) { @media screen and (min-width: 800px){ hbox#clientBox{ max-width: 750px !important; align-self: center !important; } vbox#rightBox{ padding-top: 38px !important; background-size: auto 32px !important; } button#checkForUpdatesButton, button#downloadAndInstallButton, button#updateButton{ width: 210px !important; height: 32px !important; } } } /* アドオンページの一覧に各アドオンのバージョンを表示 */ /* Firefox userContent.css tweaks *******************************************************/ /* Github: https://github.com/aris-t2/customcssforfx ************************************/ /****************************************************************************************/ @-moz-document url-prefix(about:addons), url-prefix(chrome://mozapps/content/extensions/aboutaddons.html), url-prefix(chrome://mozapps/content/extensions/aboutaddons.xhtml) { /*restore version number */ .addon-name-link[title]::after { display: block !important; content: attr(title) !important; margin-top: -22px !important; } /* hide version number on updates category */ div[current-view="updates"] .addon-name-link[title]::after { display: none !important; visibility: collapse !important; opacity: 0 !important; } /* Waterfoxは自力で追加しているのでダブるから非表示 */ .addon-version-number { display: none !important; } /* 拡張のおすすめを非表示 */ button.category[is="discover-button"] { display: none !important; } } /* Twitter */ @-moz-document domain("x.com") { /* ローディング画像を非表示 */ div[aria-label="Loading…"] { display : none !important; } /* 入力エリアフォーカス時の余分な枠を非表示 */ *:focus { outline : none !important; } } /* Googleにて検索文字入力中に余計なスクロールバーが出るバグの対応 */ /* @-moz-document domain("google.com"), domain("google.co.jp") { textarea.gLFyf, .Rd7rGe, .YacQv { scrollbar-width: none !important; } } */