Restores normal desktop sizing by shrinking text and spacing.
/* ==UserStyle==
@name YouTube normal-sized
@description Restores normal desktop sizing by shrinking text and spacing.
@namespace https://greasyfork.org/en/users/27283-mutationobserver
@version 1.0.3
==/UserStyle== */
/**** Videos ****/
@-moz-document url-prefix("https://www.youtube.com/watch") {
/* Header */
#page-manager.ytd-app { margin-top: 0; }
#masthead-container.ytd-app {
opacity: 0;
transition: 0.2s;
}
#masthead-container.ytd-app:hover {
opacity: unset;
}
#columns > #primary { padding-top: 2px!important; }
ytd-masthead #container { height: 10px!important; }
#masthead-container.ytd-app:hover ytd-masthead #container { height: unset!important; }
/* Desc */
ytd-video-primary-info-renderer { padding: 0; }
#info.ytd-video-primary-info-renderer { align-items: start; }
#count span { color: var(--yt-spec-brand-button-background); }
/* Comments + desc (#meta) */
#comments *:not(#button):not(paper-button):not(ytd-button-renderer):not(#header):not(button):not(#tooltip):not(paper-item),
#meta *:not(#upload-info):not(paper-button)
{
font-size: 13px!important;
padding: 0;
margin-top: 0!important;
margin-bottom: 0!important;
}
paper-button.ytd-button-renderer { padding: 3px; }
/* paper-item-body .item { padding: 10px; } */
#comments .ytd-comments > #header { margin-bottom: 15px!important; }
}
/**** Home page ****/
@-moz-document url("https://www.youtube.com/"), url-prefix("https://www.youtube.com/?") {
/* :root { --ytd-rich-grid-items-per-row: 5; } */
ytd-rich-item-renderer {
width: calc( 100% / 6 - var(--ytd-rich-grid-item-margin) - .01px )!important;
margin-bottom: 0;
}
html:not([class]) div, html:not([class]) yt-formatted-string, html:not([class]) a {
font-size: 14px!important;
line-spacing: normal;
}
#avatar-link.ytd-rich-grid-video-renderer { display: none; }
}
@-moz-document domain("youtube.com") {
body { zoom: 90%; }
}
@-moz-document url-prefix("https://www.youtube.com/watch"), url-prefix("https://www.youtube.com/embed") {
body { zoom: 100%; }
}