Last active
February 22, 2025 19:02
-
-
Save sameerasw/f8b91d825a75c9b9c8b34f516480b9b4 to your computer and use it in GitHub Desktop.
My YouTube CSS modifications for a minimal look
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ytd-mini-guide-renderer { | |
| display: none; | |
| } | |
| #page-manager{ | |
| margin-left: 0; | |
| } | |
| #masthead-container{ | |
| #background.ytd-masthead{ | |
| background-color: #00000000; | |
| backdrop-filter: blur(30px); | |
| } | |
| } | |
| #container.ytd-searchbox{ | |
| background-color: #00000000; | |
| } | |
| .ytd-two-column-browse-results-renderer #header{ | |
| display: none; | |
| } | |
| ytd-video-meta-block{ | |
| /* opacity: 0; */ | |
| } | |
| #content #dismissible:hover{ | |
| background-color: #00000000; | |
| ytd-video-meta-block{ | |
| opacity: 1; | |
| } | |
| } | |
| #header{ | |
| /* opacity: 0.01; */ | |
| /* border-radius: 1.5em 0 1.5em 0; */ | |
| /* background-color: #000; */ | |
| /* transition: opacity 0.3s ease-in; */ | |
| &:hover{ | |
| /* opacity: 1; */ | |
| } | |
| } | |
| #byline-container #channel-name a{ | |
| opacity: 0.6; | |
| } | |
| ytd-rich-item-renderer[rendered-from-rich-grid] { | |
| --ytd-rich-item-row-usable-width: calc(100% - var(--ytd-rich-grid-gutter-margin)* 1); | |
| } | |
| ytd-rich-item-renderer{ | |
| margin-bottom: 1em !important; | |
| } | |
| ytd-video-meta-block.grid #metadata.ytd-video-meta-block{ | |
| display:inline-flexbox; | |
| flex-direction: row; | |
| text-overflow:ellipsis; | |
| #metadata-line span:nth-child(3){ | |
| width: 2em; | |
| height: 1em; | |
| } | |
| } | |
| ytd-watch-flexy{ | |
| margin-top: 0; | |
| } | |
| html[data-page-type="video"][it-player-size="full_window"] ytd-watch-flexy[theater]:not([fullscreen]) #player-wide-container, html[data-page-type="video"][it-player-size="full_window"] ytd-watch-flexy[full-bleed-player]:not([fullscreen]) #full-bleed-container.ytd-watch-flexy{ | |
| height: 100vh !important; | |
| } | |
| #movie_player > div.html5-video-container video{ | |
| height: 100vh; | |
| width: 100vw !important; | |
| } | |
| div.wrapper.clickable-comment { | |
| background-color: #00000044; | |
| backdrop-filter: blur(15px); | |
| box-shadow: 0px 0px 10px #00000055; | |
| max-width: 20vw; | |
| border-radius: 10px; | |
| .comment{ | |
| font-size: 1.3em; | |
| } | |
| .likes, .author{ | |
| display: none; | |
| } | |
| .avatar{ | |
| border-radius: 6px; | |
| height: 45px; | |
| width: auto; | |
| } | |
| } |
Author
Author
Updated 12th April 2024
Author
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Made for ARC browser so might not appear correctly on others :)