您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make YouTube end cards less obtrusive.
- /* ==UserStyle==
- @name Less Obtrusive YouTube End Cards
- @namespace https://afn.lol
- @version 1
- @description Make YouTube end cards less obtrusive.
- @author xafn
- @license GPLv3
- ==/UserStyle== */
- @-moz-document domain("youtube.com") {
- .ytp-ce-element {
- transform: scale(0.7) !important;
- }
- .ytp-ce-element:not(:has(.ytp-ce-expanding-image)),
- .ytp-ce-expanding-icon,
- .ytp-ce-element-shadow,
- .ytp-ce-expanding-overlay {
- border-radius: 4px;
- }
- .ytp-ce-covering-image,
- .ytp-ce-video-title,
- .ytp-ce-expanding-image,
- .ytp-ce-video-duration,
- .ytp-ce-playlist-count,
- .ytp-ce-playlist-title,
- .ytp-ce-expanding-icon{
- transition: opacity 0.4s !important;
- opacity: 0.4 !important;
- }
- .ytp-ce-element:hover .ytp-ce-covering-image,
- .ytp-ce-element:hover .ytp-ce-video-title,
- .ytp-ce-element:hover .ytp-ce-expanding-image,
- .ytp-ce-element:hover .ytp-ce-playlist-count,
- .ytp-ce-element:hover .ytp-ce-playlist-title,
- .ytp-ce-element:hover .ytp-ce-video-duration,
- .ytp-ce-element:hover .ytp-ce-expanding-icon{
- opacity: 1 !important;
- }
- }