Skip to content

Youtube Redesign Base by m7mde7egazy

Screenshot of Youtube Redesign Base

Details

Authorm7mde7egazy

LicenseApache License 2.0

CategoryYoutube

Created

Updated

Size29 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

The Base Design of The Modern new Youtube that can be compined with Youtube Pornhub Premium Dessiggn to create the final amazing option

Notes

/* ==UserStyle==
@name Youtube Redesign Base
@namespace https://github.com/M7MDE7EGAZY
@version 1.0.1
@author Mohamed E.Hegazy
@license Apache License 2.0
==/UserStyle== */

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name      Youtube Redesign Base
@namespace https://github.com/M7MDE7EGAZY
@version   1.0.1
@author    Mohamed E.Hegazy
@license   Apache License 2.0
==/UserStyle== */
@-moz-document domain("youtube.com") {
	@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

	:root {
		--accent-color: #FF0000 !important;
		--accent-color-hover: #BE0D08;
		--bg-color: #151719;
		--bg-color-dark: #101113;
		--bg-color-light: #18191C;
		--text-color: #F1F2F3;
		--text-color-2: #AEB1B9;
		--text-color-3: #9FA2A8;

		--font-family: 'Montserrat', sans-serif;
		--font-medium: 500;
		--font-semibold: 600;
		--font-bold: 700;
	}

	::-webkit-scrollbar {
		width: 12px !important;
	}

	::-webkit-scrollbar-thumb {
		background-color: #212223 !important;
	}

	ytd-mini-guide-renderer.ytd-app,
	a.ytd-mini-guide-entry-renderer {
		width: 62px;
        padding: 12px 0;
	}
    
    #items.ytd-mini-guide-renderer {
        margin: 0;
    }

	ytd-mini-guide-renderer,
	ytd-mini-guide-entry-renderer {
		background-color: var(--bg-color-dark);
	}

	.title.ytd-mini-guide-entry-renderer {
		display: none;
	}

	a.ytd-mini-guide-entry-renderer {
		padding: 10px 0 14px;
	}

	.guide-icon.ytd-mini-guide-entry-renderer {
		margin-bottom: 0;
	}

	ytd-mini-guide-entry-renderer[is-active] .guide-icon.ytd-mini-guide-entry-renderer,
	ytd-mini-guide-entry-renderer:hover .guide-icon.ytd-mini-guide-entry-renderer,
	ytd-mini-guide-entry-renderer:focus .guide-icon.ytd-mini-guide-entry-renderer {
		color: var(--accent-color);
	}

	ytd-mini-guide-entry-renderer:hover,
	ytd-mini-guide-entry-renderer:focus {
		background-color: transparent;
	}

	#container.ytd-masthead {
		padding-left: 0;
		background-color: var(--bg-color);
		height: 72px;
	}
	
	ytd-app[masthead-hidden] #page-manager.ytd-app {
		margin-top: 0;
	}

	#guide-button.ytd-masthead {
		height: 72px;
		width: 62px;
		background-color: var(--bg-color-dark);
	}

	#header.ytd-app {
		height: 72px;
	}

	#contentContainer.tp-yt-app-drawer,
	#guide-content.ytd-app {
		background-color: var(--bg-color-dark);
	}

	tp-yt-app-drawer[persistent],
	ytd-guide-renderer.ytd-app {
		width: 200px;
	}
    
    #endpoint.yt-simple-endpoint.ytd-guide-entry-renderer,
    tp-yt-paper-item.ytd-guide-entry-renderer {
        min-height: 48px;
    }

	ytd-guide-entry-renderer[active],
	#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer:hover,
	#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer:focus {
		background-color: transparent;
	}

	#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer {
		color: var(--text-color);
	}

	ytd-guide-entry-renderer[active] .guide-icon.ytd-guide-entry-renderer,
	#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer:hover .guide-icon.ytd-guide-entry-renderer,
	#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer:focus .guide-icon.ytd-guide-entry-renderer {
		color: var(--accent-color);
		transition: all .5s ease;
	}
    
    .guide-icon.ytd-guide-entry-renderer {
        margin-right: 32px;
    }

	.title.ytd-guide-entry-renderer,
	ytd-guide-entry-renderer[active] .title.ytd-guide-entry-renderer {
		font-family: var(--font-family);
		font-weight: var(--font-medium);
	}

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

	@media (min-width: 876px) {
		#logo.ytd-masthead,
		#logo.ytd-topbar-logo-renderer,
		ytd-yoodle-renderer.ytd-topbar-logo-renderer,
		.ytd-topbar-logo-renderer {
			width: 138px;
			height: 72px;
			display: flex;
			align-items: center;
		}
	}

	#page-manager.ytd-app {
		margin-top: 72px;
	}

    ytd-app .ytd-topbar-logo-renderer,
    ytd-app #guide-button.ytd-masthead {
        background-color: transparent;
	}

    ytd-app[mini-guide-visible] #guide-button.ytd-masthead,
    ytd-app[guide-persistent-and-visible] .ytd-topbar-logo-renderer,
    ytd-app[guide-persistent-and-visible] #guide-button.ytd-masthead {
		background-color: var(--bg-color-dark) !important;
	}

	ytd-app[guide-persistent-and-visible] ytd-page-manager.ytd-app {
		margin-left: 200px;
	}

	#page-manager.ytd-app,
	#chips-wrapper.ytd-feed-filter-chip-bar-renderer {
		background-color: var(--bg-color);
	}

	#chips-wrapper.ytd-feed-filter-chip-bar-renderer {
		border: 0;
		border-bottom: 1px solid #1A1B1E;
	}

	yt-chip-cloud-chip-renderer {
		font-family: var(--font-family);
		font-weight: var(--font-medium);
		background-color: transparent !important;
		font-size: 12px;
	}

	yt-chip-cloud-chip-renderer[chip-style=STYLE_DEFAULT],
	yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER],
	yt-chip-cloud-chip-renderer[chip-style=STYLE_REFRESH_TO_NOVEL_CHIP] {
		border: 0;
		border-bottom: 2px solid transparent;
		color: var(--text-color-2);
		margin-bottom: 0;
		padding: 0 6px;
		padding-bottom: 6px;
		border-radius: 0;
		transition: all .4s ease;
	}

	yt-chip-cloud-chip-renderer[chip-style=STYLE_DEFAULT][selected],
	yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER][selected],
	yt-chip-cloud-chip-renderer[chip-style=STYLE_DEFAULT]:not([selected]):hover,
	yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER]:not([selected]):hover,
	yt-chip-cloud-chip-renderer[chip-style=STYLE_REFRESH_TO_NOVEL_CHIP]:not([selected]):hover,
	yt-chip-cloud-chip-renderer[chip-style=STYLE_DEFAULT]:not([selected]):focus,
	yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER]:not([selected]):focus,
	yt-chip-cloud-chip-renderer[chip-style=STYLE_REFRESH_TO_NOVEL_CHIP]:not([selected]):focus {
		color: var(--text-color);
		border-bottom: 2px solid var(--accent-color);
	}

	#header.ytd-rich-grid-renderer {
		width: 97.5%;
		margin: 0 auto;
	}

	#left-arrow-button.ytd-feed-filter-chip-bar-renderer,
	#right-arrow-button.ytd-feed-filter-chip-bar-renderer {
		background-color: var(--bg-color);
	}

	#right-arrow.ytd-feed-filter-chip-bar-renderer {
		right: 0px;
	}

	#left-arrow.ytd-feed-filter-chip-bar-renderer {
		left: initial;
		right: 82px;
		z-index: 11111;
	}

	ytd-feed-filter-chip-bar-renderer[at-end] #right-arrow.ytd-feed-filter-chip-bar-renderer,
	ytd-feed-filter-chip-bar-renderer[at-start] #left-arrow.ytd-feed-filter-chip-bar-renderer {
		display: flex;
	}

	ytd-feed-filter-chip-bar-renderer[at-end] #right-arrow.ytd-feed-filter-chip-bar-renderer ytd-button-renderer[is-icon-button][has-no-text],
	ytd-feed-filter-chip-bar-renderer[at-start] #left-arrow.ytd-feed-filter-chip-bar-renderer ytd-button-renderer[is-icon-button][has-no-text] {
		color: var(--text-color-3);
		opacity: .7;
	}

	ytd-button-renderer.ytd-feed-filter-chip-bar-renderer {
		margin: 0;
	}

	ytd-feed-filter-chip-bar-renderer[is-dark-theme] #left-arrow.ytd-feed-filter-chip-bar-renderer:before,
	ytd-feed-filter-chip-bar-renderer[is-dark-theme] #right-arrow.ytd-feed-filter-chip-bar-renderer:after {
		background: linear-gradient(to left, var(--bg-color) 20%, rgba(33, 33, 33, 0) 80%);
		height: 100%;
		width: 50px;
		content: "";
		pointer-events: none;
	}

	ytd-feed-filter-chip-bar-renderer[is-dark-theme] #right-arrow.ytd-feed-filter-chip-bar-renderer:after {
		background: var(--bg-color) !important;
	}

	ytd-feed-filter-chip-bar-renderer[is-dark-theme] #right-arrow.ytd-feed-filter-chip-bar-renderer:before,
	ytd-feed-filter-chip-bar-renderer[is-dark-theme] #left-arrow.ytd-feed-filter-chip-bar-renderer:after {
		display: none;
	}

	#contents.ytd-rich-grid-renderer {
		background-color: var(--bg-color-dark);
		border-radius: 12px;
		padding: 24px;
        padding-top: 47px;;
		width: 94%;
		margin: 0 auto;
		margin-top: 24px;
	}

	yt-chip-cloud-chip-renderer.ytd-feed-filter-chip-bar-renderer {
		margin-right: 58px;
	}


	.sbdd_b,
	.sbsb_a,
	.sbfl_b {
		background: var(--bg-color-dark);
		border-radius: 12px;
		border: 0;
	}

	.sbsb_b {
		padding: 0 8px;
	}

	.gsfs {
		color: var(--text-color);
		border-radius: 12px;
	}

	.sbpqs_c {
		color: var(--text-color-2);
	}

	.sbsb_i,
	.sbpqs_a,
	.sbqs_c,
	.sbfl_b {
		font-family: var(--font-family);
		font-weight: var(--font-medium);
	}

	.sbpqs_a {
		color: var(--text-color);
	}

	.sbpqs_a:before,
	.sbqs_c:before {
		filter: brightness(0) invert(1);
	}

	.sbsb_d {
		background-color: #0A0B0C;
	}


	#scroll-container.ytd-feed-filter-chip-bar-renderer {
		align-items: flex-end;
	}

	ytd-feed-filter-chip-bar-renderer {
		height: 42px;
	}

	img.yt-img-shadow,
	ytd-thumbnail.ytd-rich-grid-media:before,
	#avatar.ytd-rich-grid-media,
	yt-img-shadow.ytd-topbar-menu-button-renderer {
		border-radius: 10px;
	}

	#details.ytd-rich-grid-media {
		padding-top: 8px;
	}

	#video-title.ytd-rich-grid-media,
	#video-title.ytd-video-renderer {
		color: var(--text-color);
		font-family: var(--font-family);
		font-weight: var(--font-bold);
		font-size: 14px;
	}

	yt-formatted-string[has-link-only_]:not([force-default-style]) a.yt-simple-endpoint.yt-formatted-string,
	ytd-video-meta-block[rich-meta] #metadata-line.ytd-video-meta-block,
	#text.ytd-thumbnail-overlay-time-status-renderer,
	#metadata-line.ytd-grid-video-renderer span.ytd-grid-video-renderer,
	#description-text.ytd-video-renderer,
	ytd-video-meta-block:not([rich-meta]) #metadata-line.ytd-video-meta-block {
		color: var(--text-color-2);
		font-family: var(--font-family);
		font-weight: var(--font-medium);
		font-size: 12px;
	}

	ytd-thumbnail-overlay-time-status-renderer {
		margin: 0;
		border-top-left-radius: 10px;
		padding-top: 4px;
		padding-left: 4px;
		min-width: 39px;
		height: 14px;
		display: flex;
		justify-content: center;
		background-color: rgba(16, 17, 19, 0.6);
		border-bottom-left-radius: 0;
	}

	ytd-thumbnail-overlay-bottom-panel-renderer,
	ytd-thumbnail-overlay-hover-text-renderer {
		background-color: rgba(16, 17, 19, 0.6) !important;
		font-family: var(--font-family);
		font-weight: var(--font-medium);
	}

	#text.ytd-thumbnail-overlay-time-status-renderer {
		color: var(--text-color);
		font-weight: var(--font-semibold);
		letter-spacing: .15rem;
	}

	ytd-rich-grid-row #contents.ytd-rich-grid-row {
		margin: 0;
	}

	ytd-multi-page-menu-renderer {
		border-radius: 10px;
		border: 0;
		backg...

Reviews

No reviews yet.