YouTube normal-sized

Restores normal desktop sizing by shrinking text and spacing.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

/* ==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%; }
}