Greasy Fork 支持简体中文。

YT Boost聊天室

Boost Chat專用版面調整

/* ==UserStyle==
@name           YT Boost聊天室
@namespace      https://greasyfork.org/zh-TW/users/4839
@homepageURL	https://greasyfork.org/zh-TW/scripts/521288
@version        1.2.2
@description    Boost Chat專用版面調整
@author         leadra
@license MIT
@preprocessor   stylus
@var checkbox   chat_pr       "聊天斷行"             1
@var checkbox   chat_cr       "聊天交叉背景色"       1
@var checkbox   chat_re       "YT提醒訊息"       	 1
@var number     chat_si       "聊天文字大小"         [18, 14, 26, 1, "px"]
@var number     chat_bo       "聊天底部間距"         [5, 0, 10, 1, "px"]
@var number     chat_lr       "聊天左右間距"         [0, -10, 10, 5, "px"]
@var number     chat_pf       "大頭貼大小"      		[26, 0, 30, 1, "px"]
@var number     chat_em       "貼圖大小"      		[24, 0, 30, 1, "px"]
==/UserStyle== */

@-moz-document url-prefix("https://www.youtube.com/live_chat") {
/*𝖢𝖸 𝖥𝗎𝗇𝗀腳本YouTube Boost Chat專用
https://greasyfork.org/zh-TW/scripts/520755
*/
    .bst-yt-main{
		margin:0px 0px 0px 0px !important;
		padding:0px !important;
    }
	/*聊天框架*/
	.bst-message-list{
		margin:0px chat_lr 0px 0px !important;
		padding:0px 0px 0px 0px !important;
		display: block!important;
		line-height:1em !important;
		background-color: rgba(0, 0, 0, 0);
		--bst-message-entry-pl:chat_pf+8!important;
        --yt-live-chat-profile-icon-size:chat_pf;
        //--yt-live-chat-first-line-height:1.4;
		//--bst-author-badge-mb: .2rem !important;
		//--bst-author-badge-size: 10px!important;
        --yt-live-chat-emoji-size: chat_em!important;
    }
	/*交叉背景色*/
	.bst-message-entry:nth-child(even) {
		background-color: rgba(100, 100, 100, .2)if chat_cr;
		margin:0px 0px 0px 0px !important;
	}
	.bst-paid-message .bst-message-entry-highlight[class]{
		margin:0px 0px 0px 0px !important;
		//line-height:1em !important;
		bottom: -0rem;
    	left: 0rem;
    	right: 0rem;
    	//top: 0rem;
		border-radius: 0px;
	}
	.bst-paid-message .bst-message-body-next-to-head{
		margin:0px 0px 2px 0px !important;
	}
	.bst-message-entry {
		margin:0px 0px 0px 0px !important;
	}
	.bst-message-entry[view-pos]{
		margin:0px 0px 0 0 !important;
	}
	.bst-message-body.bst-message-body-next-to-head{
		margin:0px 0px chat_bo chat_lr !important;
		//line-height:1em !important;
		//border-radius: 0px;
	}
	.bst-message-body{
		font-size:chat_si;
		margin:0px 0px 0px 0px !important;
		padding:0px !important;
		display: block!important if chat_pr;
		line-height:1em!important;
	}
	/*大頭貼*/
	body .bst-message-profile-anchor{
        //left: 0px;
    }
	.bst-message-profile-holder {
        margin-top:2px;
        top:8px;
    }
	.bst-profile-img{
		//width:26px !important;
		//height:26px !important;
		max-width:chat_pf !important;
		margin:0px 0px 0px 0px !important;
		padding:0px !important;
	}
	/*emoji提示*/
	bst-tooltip {
        font-size: 8px !important;
    }
	/*YT提醒訊息*/
	.bst-viewer-engagement-message {
		display: none if chat_re;
	}
	/*會員禮物*/
	.bst-gift-message .bst-message-body {
        display: inline!important;
		font-size: 16px ;
    }
	/*會員每月免費留言*/
	.bst-membership-message .bst-message-entry-body {
		margin:0px 0px 0px 0px !important;
		padding:0px 0px 0px 10px!important;
		}
	/*.bst-membership-message .bst-message-body-next-to-head{
		margin:0px 0px 5px 0px !important;
	}*/
	/*名稱name*/
	.bst-message-head{
		margin:0px 0px 0px -0px !important;
		padding:0px 0px 0px 0px!important;
	}
	/*SC回復不分行*/
	.yt-spec-button-view-model,
	.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal{
		display: inline!important;
	}
	/*
	.bst-message-body .emoji
	.bst-message-list[dark]
	.bst-paid-message .bst-message-head
	.bst-membership-message .bst-message-entry-body .bst-message-body
	//凸顯背景
	body .bst-message-entry-highlight{
        left:.65rem;
        right:-1.65rem;
    }
	*/
}