Skip to content

Commit

Permalink
Youtube Tweaks 1.2.11 release
Browse files Browse the repository at this point in the history
## v1.2.11 ... (22 NOVEMBER 21)

### Additions:
`+` Added an option to remove the border outline from `youtube subscription manager` for people who use it, including myself (this addition was mainly for myself)

### Changes:
`+` Updated code for `youtube subtitles to be more like netflix` option.
  • Loading branch information
JourneyOver committed Nov 23, 2021
1 parent 4e59627 commit 4caef49
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 16 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# YouTube Tweaks Changelog

## v1.2.11 ... (22 NOVEMBER 21)

### Additions:
`+` Added an option to remove the border outline from `youtube subscription manager` for people who use it, including myself (this addition was mainly for myself)

### Changes:
`+` Updated code for `youtube subtitles to be more like netflix` option.

## v1.2.10 ... (31 AUGUST 21)

### Fixes:
Expand Down
2 changes: 1 addition & 1 deletion css/optionals/min/netflix-subtitles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 43 additions & 3 deletions css/optionals/netflix-subtitles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,50 @@
/*::: Netflix subtitles with the drop shadow for the YouTube subtitles :::*/
@font-face {
font-family: "Netflix Sans";
font-weight: 100;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff) format("woff");
}

@font-face {
font-family: "Netflix Sans";
font-weight: 300;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Lt.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Lt.woff) format("woff");
}

@font-face {
font-family: "Netflix Sans";
font-weight: 400;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Rg.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Rg.woff) format("woff");
}

@font-face {
font-family: "Netflix Sans";
font-weight: 700;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Md.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Md.woff) format("woff");
}

@font-face {
font-family: "Netflix Sans";
font-weight: 800;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Bd.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Bd.woff) format("woff");
}

@font-face {
font-family: "Netflix Sans";
font-weight: 900;

src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Blk.woff2) format("woff2"), url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Blk.woff) format("woff");
}

.ytp-caption-segment {
padding-bottom: 5 !important;
/*margin-bottom: 4% !important;*/
font-family: "Netflix Sans", sans-serif !important;
font-weight: 700 !important;

/*font-size: 36px !important;*/
background: none !important;
text-shadow: rgba(0, 0, 0, 1) 0 0 .2em !important;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*::: Remove PocketTube Subscription Filter Border :::*/
#primary > ytd-section-list-renderer > div.ysm-subscription-filter.ysm-select-filters.branded-page-module-title.shelf-title-cell.ysm-subscription-filter-new.last-change {
border: none !important;
}
2 changes: 1 addition & 1 deletion css/theme/theme.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#copyright div::after {
white-space: pre;
content: "\aYoutube Tweaks - Version 1.2.10";
content: "\aYoutube Tweaks - Version 1.2.11";
}

::-webkit-scrollbar {
Expand Down
17 changes: 14 additions & 3 deletions css/usercss-template.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name Youtube Tweaks
@version 1.2.10
@version 1.2.11
@description Expands videos to fill all free space inside browser window.
@namespace https://github.com/StylusThemes
@author StylusThemes <https://github.com/StylusThemes>
Expand Down Expand Up @@ -50,16 +50,27 @@ FadePPCompN "No" <<<EOT
FadePPCompY "Yes" <<<EOT
{{fade++-compatibility}} EOT;
}
@advanced dropdown RemovePTSFB "Remove PocketTube Subscription Filter Border" {
RemovePTSFBN "No" <<<EOT
EOT;
RemovePTSFBY "Yes" <<<EOT
{{remove-pockettube-subscription-filter-border}} EOT;
}
==/UserStyle== */
@-moz-document domain("youtube.com") {
{{theme}}
/*[[WatchedBadge]]*/
/*[[NetflixSubtitles]]*/
/*[[WVC]]*/
/*[[FadePPComp]]*/
}

@-moz-document regexp("https?://www.youtube.com/watch.*") {
@-moz-document url-prefix("https://www.youtube.com/feed/subscriptions") {
/*[[RemovePTSFB]]*/
}

@-moz-document regexp("https?://www.youtube.com/watch.*"), regexp("https?://www.youtube.com/clip.*") {
/*[[NetflixSubtitles]]*/
/*[[SVTFP]]*/
/*[[VMaxWidth]]*/
}
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ gulp.task( 'usercss', function () {
'{{fade-watched}}': './css/optionals/min/fade-watched.min.css',
'{{wide-video-container}}': './css/optionals/min/wide-video-container.min.css',
'{{fade++-compatibility}}': './css/optionals/min/fade++-compatibility.min.css',
'{{netflix-subtitles}}': './css/optionals/min/netflix-subtitles.min.css'
'{{netflix-subtitles}}': './css/optionals/min/netflix-subtitles.min.css',
'{{remove-pockettube-subscription-filter-border}}': './css/optionals/min/remove-pockettube-subscription-filter-border.min.css'
} ) )
.pipe( rename( 'style.user.css' ) )
.pipe( beautify.css( {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "youtube-tweaks",
"title": "Youtube Tweaks",
"version": "1.2.10",
"version": "1.2.11",
"description": "Tweaks for Youtube!",
"license": "CC-BY-SA-4.0",
"repository": "StylusThemes/YouTube-Tweaks",
Expand Down
2 changes: 1 addition & 1 deletion sass/partials/_version.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
div {
&::after {
white-space: pre;
content: "\A Youtube Tweaks - Version 1.2.10";
content: "\A Youtube Tweaks - Version 1.2.11";
}
}
}
22 changes: 17 additions & 5 deletions style.user.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name Youtube Tweaks
@version 1.2.10
@version 1.2.11
@description Expands videos to fill all free space inside browser window.
@namespace https://github.com/StylusThemes
@author StylusThemes <https://github.com/StylusThemes>
Expand Down Expand Up @@ -32,7 +32,7 @@ WatchedBadgeN "No" <<<EOT
@advanced dropdown NetflixSubtitles "Change youtube subtitles to be more like netflix?" {
NetflixSubtitlesY "Yes" <<<EOT
.ytp-caption-segment{padding-bottom:5!important;font-family:"Netflix Sans",sans-serif!important;font-weight:700!important;background:0 0!important;text-shadow:#000 0 0 .2em!important} EOT;
@font-face{font-family:"Netflix Sans";font-weight:100;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff) format("woff")}@font-face{font-family:"Netflix Sans";font-weight:300;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Lt.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Lt.woff) format("woff")}@font-face{font-family:"Netflix Sans";font-weight:400;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Rg.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Rg.woff) format("woff")}@font-face{font-family:"Netflix Sans";font-weight:700;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Md.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Md.woff) format("woff")}@font-face{font-family:"Netflix Sans";font-weight:800;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Bd.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Bd.woff) format("woff")}@font-face{font-family:"Netflix Sans";font-weight:900;src:url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Blk.woff2) format("woff2"),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Blk.woff) format("woff")}.ytp-caption-segment{font-family:"Netflix Sans",sans-serif!important;font-weight:700!important;background:0 0!important;text-shadow:#000 0 0 .2em!important} EOT;
NetflixSubtitlesN "No" <<<EOT
EOT;
}
Expand All @@ -50,11 +50,18 @@ FadePPCompN "No" <<<EOT
FadePPCompY "Yes" <<<EOT
ytd-app #page-manager>ytd-browse:not([page-subtype=playlist]){display:block}ytd-app[guide-persistent-and-visible] #page-manager>ytd-browse:not([page-subtype=playlist]) ytd-two-column-browse-results-renderer.ytd-browse{margin-left:250px!important} EOT;
}
@advanced dropdown RemovePTSFB "Remove PocketTube Subscription Filter Border" {
RemovePTSFBN "No" <<<EOT
EOT;
RemovePTSFBY "Yes" <<<EOT
#primary>ytd-section-list-renderer>div.ysm-subscription-filter.ysm-select-filters.branded-page-module-title.shelf-title-cell.ysm-subscription-filter-new.last-change{border:none!important} EOT;
}
==/UserStyle== */
@-moz-document domain("youtube.com") {
#copyright div::after {
white-space: pre;
content: "\aYoutube Tweaks - Version 1.2.10";
content: "\aYoutube Tweaks - Version 1.2.11";
}

::-webkit-scrollbar {
Expand Down Expand Up @@ -93,12 +100,17 @@ ytd-app #page-manager>ytd-browse:not([page-subtype=playlist]){display:block}ytd-
}

/*[[WatchedBadge]]*/
/*[[NetflixSubtitles]]*/
/*[[WVC]]*/
/*[[FadePPComp]]*/
}

@-moz-document regexp("https?://www.youtube.com/watch.*") {
@-moz-document url-prefix("https://www.youtube.com/feed/subscriptions") {
/*[[RemovePTSFB]]*/
}

@-moz-document regexp("https?://www.youtube.com/watch.*"),
regexp("https?://www.youtube.com/clip.*") {
/*[[NetflixSubtitles]]*/
/*[[SVTFP]]*/
/*[[VMaxWidth]]*/
}

0 comments on commit 4caef49

Please sign in to comment.