small thumbnails for youtube
当前为
// ==UserScript==
// @name Youtube Small Thumbnails
// @match https://www.youtube.com/*
// @description small thumbnails for youtube
// @version 1.0
// @author hdyzen
// @license MIT
// @grant GM_addStle
// @namespace https://greasyfork.org/users/821661
// ==/UserScript==
(function () {
"use strict";
GM_addStyle(`
ytd-rich-grid-renderer {
--ytd-rich-grid-items-per-row: 6 !important;
--ytd-rich-grid-posts-per-row: 6 !important;
--ytd-rich-grid-slim-items-per-row: 6 !important;
}
ytd-rich-grid-renderer > #contents > ytd-rich-grid-row,
ytd-rich-grid-renderer > #contents > ytd-rich-grid-row > #contents {
display: contents !important;
}
ytd-rich-item-renderer {
min-width: 210px !important;
}
#avatar-link {
display: none !important;
}
#video-title {
font-size: 1.4rem !important;
}
#channel-name.ytd-video-meta-block {
font-size: 1.3rem !important;
}
#metadata-line {
font-size: 1.3rem !important;
}
.ytd-video-renderer:not([use-prominent-thumbs]) ytd-thumbnail.ytd-video-renderer {
flex: none !important;
width: 246px !important;
height: 138px !important;
}
ytd-playlist-renderer[use-prominent-thumbs] ytd-playlist-thumbnail.ytd-playlist-renderer {
max-width: 246px !important;
min-width: 240px !important;
}
ytd-radio-renderer[use-prominent-thumbs] ytd-thumbnail.ytd-radio-renderer {
max-width: 246p !important;
min-width: 240px !important;
}
`);
})();