Skip to content

youtube - customised by ewsgit

Details

Authorewsgit

LicenseNo License

Categoryyoutube ui

Created

Updated

Size6.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

a

Notes

a

Source code

/* ==UserStyle==
@name         youtube - customised
@version      20211130.06.21
@namespace    userstyles.world/user/ewsgit
@description  a
@author       ewsgit
@license      No License
==/UserStyle== */
@-moz-document domain("youtube.com") {
	#ab4yt-brand {
		display: none !important;
	}
	#avatar {
		border-radius: 0.5rem !important;
	}
	ytd-video-primary-info-renderer {
		padding: 10px 0 4px 0 !important;
	}
	yt-img-shadow.ytd-topbar-menu-button-renderer {
		border-radius: 0.5rem !important;
	}
	yt-chip-cloud-chip-renderer {
		border-radius: 0.5rem;
	}
	#img {
		border-radius: 0.5rem !important;
	}
	.ytd-thumbnail,
	#thumbnail {
		border-radius: 0.5rem !important;
		overflow: hidden;
	}
	#thumbnail,
	.ytd-rich-grid-media:before {
		border-radius: 0.5rem !important;
		background-color: #00000000 !important;
	}
	.tp-yt-paper-button.ytd-subscribe-button-renderer {
		border-radius: 1rem !important;
		overflow: hidden;
	}
	ytd-button-renderer {
		background-color: #313131;
		border-radius: 1rem;
	}
	yt-button-renderer.style-primary[is-paper-button] {
		--yt-spec-call-to-action: #0000;
	}

	ytd-button-renderer.style-destructive[is-paper-button] {
		--yt-spec-brand-button-background: #0000;
	}

	ytd-video-primary-info-renderer {
		border: none;
	}
	.html5-video-player .video-click-tracking,
	.html5-video-player .video-stream {
		border-radius: 1rem;
		overflow: hidden;
	}
	ytd-menu-renderer.ytd-video-primary-info-renderer > yt-icon-button {
		display: none;
	}

	.ytp-gradient-bottom {
		border-radius: 0 0 1rem 1rem;
	}

	ytd-topbar-logo-renderer#logo > span {
		display: none !important;
	}

	.branding-img-container {
		border-radius: 0.5rem;
	}

	.ytd-searchbox:first-child {
		border-radius: 1rem 0 0 1rem !important;
	}

	.ytd-searchbox:last-child {
		border-radius: 0 1rem 1rem 0 !important;
	}

	yt-icon-button[touch-feedback] {
		background-color: #313131 !important;
		border-radius: 1rem !important;
	}

	ytd-toggle-button-renderer#like-button {
		margin-right: 1rem;
	}

	#author-thumbnail {
		border-radius: 0.5rem !important;
	}

	#author-thumbnail > a > .ytd-comment-renderer {
		border-radius: 0.5rem !important;
	}

	ytd-author-comment-badge-renderer {
		border-radius: 0.25rem;
		margin-right: 1rem;
		margin-bottom: 1rem;
	}

	#author-text.yt-simple-endpoint.ytd-comment-renderer {
		margin-bottom: 0.5rem
	}

	tp-yt-paper-button {
		background-color: #313131 !important;
		border-radius: 1rem !important;
		overflow: hidden !important;
		margin-right: 0.5rem;
		color: white !important;
	}

	a.ytd-subscription-notification-toggle-button-renderer {
		background-color: #313131 !important;
		border-radius: 1rem !important;
	}

	tp-yt-paper-button#more,
	tp-yt-paper-button#less {
		margin-top: 1rem !important;
		padding: 1rem 2rem !important;
		background-color: #313131 !important;
	}

	tp-yt-paper-button#more > yt-formatted-string,
	tp-yt-paper-button#less > yt-formatted-string {
		margin: 0;
	}

	#vote-count-middle {
		margin: 1rem 1rem 1rem 0 !important;
	}

	#reply-button-end {
		margin-left: 1rem;
	}

	ytd-comment-replies-renderer {
		margin-top: 1rem;
	}

	ytd-comment-replies-renderer {
		background: #0000 !important;
	}

	.unstarted-mode {
		border-radius: 1rem;
	}

	a.ytd-toggle-button-renderer {
		background-color: #313131 !important;
		border-radius: 1rem !important;
	}

	yt-icon-button.style-text {
		background-color: #0000 !important;
	}

	#label.yt-dropdown-menu {
		padding: 1rem;
	}

	#count.ytd-comments-header-renderer {
		margin: auto 2rem auto 0;
	}

	tp-yt-paper-button.ytd-subscribe-button-renderer {
		margin: 0;
	}

	tp-yt-paper-button#more:hover,
	tp-yt-paper-button#less:hover {
		text-decoration: none !important;
	}

	.more-button.ytd-comment-renderer:hover,
	.less-button.ytd-comment-renderer:hover {
		text-decoration: none !important;
	}

	ytd-subscription-notification-toggle-button-renderer.style-text[is-icon-button],
	#creator-heart-button.ytd-creator-heart-renderer[disabled] {
		margin-left: 1rem;
	}

	ytd-guide-renderer > #sections > ytd-guide-section-renderer:nth-child(3) {
		display: none;
	}

	ytd-guide-renderer > #footer {
		display: none;
	}

	#expander > ytd-button-renderer > a > #button {
		padding: 1rem;
	}

	#top-row.ytd-video-secondary-info-renderer {
		padding-top: 0;
	}

	ytd-guide-collapsible-section-entry-renderer.ytd-guide-section-renderer:not(:first-child) {
		border-top: none;
		margin-top: 0;
	}

	#sections.ytd-guide-renderer > *.ytd-guide-renderer:not(:last-child) {
		border-bottom: 0;
	}

	#country-code.ytd-topbar-logo-renderer {
		display: none;
	}

	ytd-guide-renderer.ytd-app {
		width: 20rem;
	}

	#contentContainer.tp-yt-app-drawer {
		width: 20rem;
		transform: translate3d(0, -100%, 0);
	}

	#guide-section-title.ytd-guide-section-renderer {
		text-align: center;
		width: auto;
	}

	.ytp-gradient-top,
	.ytp-gradient-bottom {
		background-image: none;
		background-color: #0005;
	}

	.ytp-larger-tap-buttons .ytp-gradient-bottom {
		padding-top: 0;
		margin-top: 0;
	}

	#player-theater-container .video-stream {
		border-radius: 0;
	}

	.ytp-autohide .ytp-playlist-menu-button,
	.ytp-autohide .ytp-back-button,
	.ytp-autohide .ytp-title-channel,
	.ytp-autohide .ytp-title,
	.ytp-autohide .ytp-chrome-top .ytp-watch-later-button,
	.ytp-autohide .ytp-chrome-top .ytp-share-button,
	.ytp-autohide .ytp-chrome-top .ytp-copylink-button,
	.ytp-autohide:not(.ytp-cards-teaser-shown) .ytp-cards-button,
	.ytp-autohide .ytp-overflow-button,
	.ytp-autohide .ytp-chrome-bottom,
	.ytp-chrome-top[aria-hidden="true"],
	.ytp-chrome-bottom[aria-hidden="true"] {
		bottom: -100%;
		transition: all 1s ease-in-out;
	}

	.ytp-larger-tap-buttons .ytp-chrome-controls .ytp-button,
	.ytp-larger-tap-buttons .ytp-replay-button {
		width: unset !important;
	}

	.ytp-larger-tap-buttons .ytp-chrome-controls .ytp-button.ytp-mute-button {
		width: 48px !important;
	}

	button[title="Miniplayer (i)"] {
		display: none;
	}

	#playlist.ytd-watch-flexy:not([js-panel-height_]).ytd-watch-flexy:not([disable-upgrade]).ytd-watch-flexy {
		border-radius: 1rem !important;
		overflow: hidden;
	}

	ytd-continuation-item-renderer {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	ytd-video-secondary-info-renderer {
		border-bottom: 5px solid var(--yt-spec-10-percent-layer);
	}

	ytd-miniplayer {
		border-radius: 1rem 1rem !important;
		overflow: hidden !important;
	}
	
	tp-yt-app-drawer[persistent] {
		width: 240px !important;
	}
	
	ytd-guide-renderer.ytd-app {
		width: auto !important;
	}
	
	.ytp-gradient-top {
		background-color: #0000 !important;
	}

	@media all and (display-mode: fullscreen) {
		.html5-video-player .video-click-tracking,
		.html5-video-player .video-stream {
			border-radius: 0;
			overflow: hidden;
		}
		.branding-img-container {
			display: none;
		}
		.ytp-gradient-bottom {
			border-radius: 0 0 0 0;
		}
	}
}

Reviews

No reviews yet.