A lightweight, elegant user style snippet designed to clean up the YouTube desktop interface, remove distractions, and provide a polished viewing experience.
- Clean Background Gradient: Replaces the default background with a soft, modern gradient (
#ffffffto#e2e8f0). - Distraction-Free: Automatically hides the YouTube Shorts feed and annoying suggestion headers.
- Optimized Layout Grid: Adjusts the grid configuration to display precisely 4 video cards per row for better space utilization.
To use this CSS snippet, you need a user styles manager browser extension like Stylus. Follow the steps below to get set up:
Install the Stylus extension from the official links below:
- Click on the Stylus extension icon in your browser toolbar.
- Click Manage or create a new style.
- Set the target URL/domain to match
youtube.com. - Copy and paste the code from
youtube_web_custom.cssinto the editor. - Save the style and refresh your YouTube tab!
Feel free to fork this repository, submit issues, or create pull requests if you want to suggest improvements or add more custom tweaks!