huya mobile web
huya-mobile-web by RITp9ac0atWo9C0gXBKN
Details
AuthorRITp9ac0atWo9C0gXBKN
LicenseNo License
Categoryhttps://www.huya.com
Created
Updated
Size1.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name huya-mobile-web
@version 20240409.15.36
@namespace https://userstyles.world/user/RITp9ac0atWo9C0gXBKN
@description huya mobile web
@author RITp9ac0atWo9C0gXBKN
@license No License
==/UserStyle== */
@-moz-document domain("huya.com") {
/*整体字体*/
#root {
font-size: 3vh;
}
#root * {
font-size: 3vh;
line-height: 3vh;
}
/*隐藏无关元素*/
.ssr-wrapper > *:not(.main-wrap) {
display: none!important;
}
.main-room > *:not(.room-core) {
display: none!important;
}
.room-player-main > *:not(.room-player) {
display: none!important;
}
/*去除视频及弹幕部分空白*/
.main-wrap {
padding: 0!important;
}
.main-room {
padding: 0!important;
min-width: unset;
}
.room-core {
flex-direction: column;
}
/*#视频区*/
.room-core > .room-core-l {
width: 100%;
}
.room-hd {
height: 8vh;
}
.room-player-wrap {
padding: 0;
height: 50vh;
}
.player-wrap {
height: 100%!important;
}
/*工具条*/
.player-report-btn {
display: none;
}
/*#弹幕区*/
.room-core > .room-core-r {
width: 100%;
height: 40vh!important;
position: static;
}
/*弹幕文案宽度*/
#watchChat_pub {
width: 100%;
}
/*弹幕输入*/
#tipsOrchat {
display: none;
}
}