Permanently locks YouTube font size to 100%
YouTube Font Size Lock by sid254

Details
Authorsid254
LicenseNo License
Categoryyoutube.com
Created
Updated
Size1.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Down with the 50% tyranny!
Source code
/* ==/* ==UserStyle== */
@name YouTube Font Size Lock
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Permanently locks YouTube font size to 100%
@author You
==/UserStyle== */
/* Base font size for all YouTube pages */
@-moz-document domain("youtube.com") {
html {
font-size: 100% !important;
}
body {
font-size: 100% !important;
}
/* Force all text elements to maintain size */
* {
font-size: inherit !important;
}
/* Target specific YouTube elements known to resize */
.ytd-watch-flexy,
.ytd-page-manager,
#content,
.ytd-rich-grid-renderer,
.ytd-video-meta-block,
.ytd-compact-video-renderer,
.ytd-comment-renderer {
font-size: 100% !important;
}
}
/* Handle YouTube accounts and cookies pages */
@-moz-document domain("accounts.google.com") {
html, body {
font-size: 100% !important;
}
}
@name accounts.youtube.com/RotateCookiesPage
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://accounts.youtube.com/RotateCookiesPage?origin=https://www.youtube.com&yt_pid=1") {
/* Insert code here... */
}