muzuiget / dualsub-support

Dualsub - Dual Subtitles for YouTube
https://www.dualsub.xyz/
281 stars 24 forks source link

在YouTube頁面上調整標準模式的「底部邊距」,怎麼做? #488

Closed Benlee1129 closed 1 year ago

Benlee1129 commented 1 year ago

Dualsub 標準模式下的字幕在YouTube 頁面上沒有呈現,原來是因為底部邊距差距70px,因此我在wildmonkey設置:

.dualsub-renderer .dialogue { padding-bottom: 70px; }

.dualsub-renderer .subtitle-1 { font-size: 140%; color: #fff; }

.dualsub-renderer .subtitle-2 { font-size: 70%; color: #ffa500; } 不幸的是字幕1跟字幕2的間距也差距70px,因此我想如何設置可以將字幕2抬高70px,且字幕1跟字幕2間保持在同一對話框中,並維持1.0行高差距呢?

muzuiget commented 1 year ago

底部边距不是可以在“快速设置“里改吗?

行高问题看 https://github.com/muzuiget/dualsub-support/issues/367

Benlee1129 commented 1 year ago

是的,我知道底部邊距可以在快速設置改,但改後是全域設置,會影響其他網站的設置。我只想要改YouTube 的底部邊距,但卻是將字幕一跟字幕二都抬高了70px。

muzuiget @.***> 於 2023年2月7日 週二 15:04 寫道:

底部边距不是可以在“快速设置“里改吗?

行高问题看 #367 https://github.com/muzuiget/dualsub-support/issues/367

— Reply to this email directly, view it on GitHub https://github.com/muzuiget/dualsub-support/issues/488#issuecomment-1420290581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZNYKAPWSNMRLRTRZQVR53WWHXWRANCNFSM6AAAAAAURAIYGM . You are receiving this because you authored the thread.Message ID: @.***>

Benlee1129 commented 1 year ago

我改好了,我這樣寫就可以了。謝謝! Screenshot_20230207-152748

.dualsub-renderer .subtitles { gap: 8px; align:center; margin-bottom:70px; }

.dualsub-renderer .subtitle-1 .contents { font-size: 1.3em; line-height:1.2; }

.dualsub-renderer .subtitle-2 { font-size: 1em; }