From d0d17ce3abf5e3bbd6d9e434e54074bdbe055919 Mon Sep 17 00:00:00 2001 From: Ewsgit Date: Tue, 7 Feb 2023 18:29:17 +0000 Subject: [PATCH] add styling to youtube.com --- youtube.com/all.css | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/youtube.com/all.css b/youtube.com/all.css index 01865dc..653e1ba 100644 --- a/youtube.com/all.css +++ b/youtube.com/all.css @@ -21,7 +21,7 @@ * SOFTWARE. */ -iron-selector>* { +iron-selector > * { border: none !important; margin: 0 !important; border-radius: 0.5rem !important; @@ -97,7 +97,7 @@ yt-icon-button:hover { background-color: var(--yt-spec-general-background-a) !important; } -yt-icon-button>yt-interaction { +yt-icon-button > yt-interaction { display: none !important; } @@ -127,7 +127,7 @@ yt-img-shadow.ytd-topbar-menu-button-renderer, margin-left: 0 !important; } -#buttons.ytd-masthead>*.ytd-masthead:not(:last-child) { +#buttons.ytd-masthead > *.ytd-masthead:not(:last-child) { margin-right: 0.25rem !important; } @@ -137,18 +137,43 @@ ytd-mini-guide-renderer { align-items: center !important; justify-content: center !important; } -ytd-mini-guide-renderer>#items>* { + +ytd-mini-guide-renderer > #items > * { transition: background-color 125ms !important; + border-radius: 0 !important; + background-color: #56565644; } -ytd-mini-guide-renderer>#items>*:first-child { +ytd-mini-guide-renderer > #items > *:first-child { border-radius: 0 1rem 0 0 !important; } -ytd-mini-guide-renderer>#items>*:last-child { +ytd-mini-guide-renderer > #items > *:last-child { border-radius: 0 0 1rem 0 !important; } -#chips-wrapper.ytd-feed-filter-chip-bar-renderer { - background-color: transparent !important; -} \ No newline at end of file +.yt-spec-button-shape-next--size-m { + border-radius: 1rem !important; +} + +#items > ytd-guide-collapsible-section-entry-renderer, +#sections > ytd-guide-section-renderer { + border-top: none !important; + margin-top: 0 !important; + padding-top: 0 !important; + margin-bottom: 0 !important; + border-bottom: none !important; +} + +#footer { + display: none !important; +} + +#sections > ytd-guide-section-renderer:nth-child(5) > #items > ytd-guide-entry-renderer:nth-child(3), +#sections > ytd-guide-section-renderer:nth-child(5) > #items > ytd-guide-entry-renderer:nth-child(4) { + display: none !important; +} + +#sections > ytd-guide-section-renderer:nth-child(4) { + display: none !important; +}