有老哥知道这个CSS吗?
emby吧
全部回复
仅看楼主
level 1
求这个CSS的代码
2025年07月10日 01点07分 1
level 12
仅隐藏封面图效果:
媒体标题占位效果:
/* 页面背景遮罩透明度 */
.backgroundContainer.withBackdrop {
background-color: rgba(0, 0, 0, 0.4) !important;
}
/* 隐藏详情页封面图 */
.detailImageContainer-main {
display: none;
}
/* 媒体名称空白占位间距 */
.detailNameContainer {
margin-top: 200px;
}
/* ————以下是进阶微调———— */
/* 仅隐藏媒体详情页遮罩层透明度 */
.backgroundContainer.itemBackgroundContainer {
/* 仅设置媒体详情页使用rgba精确控制颜色和透明度 */
background-color: rgba(0, 0, 0, 0.4) !important;
/* 禁用默认样式干扰 */
backdrop-filter: none !important;
}
/* 若遮罩由伪元素实现,单独调整其透明度 */
.backgroundContainer.itemBackgroundContainer::after {
opacity: 0.4 !important; /* 单独调节伪元素遮罩透明度 */
}
还特地入库个超级玛丽来测试~具体遮罩透明亮度、标题占位高度自己修改css数值调节
2025年07月10日 07点07分 4
感谢老哥,用上了
2025年07月10日 13点07分
只有网页版生效,APP端无效呢
2025年07月10日 13点07分
@东风行路 App的样式和web页面不太一样,可以自己看HTML,我不用app不太记得是啥元素了
2025年07月10日 13点07分
@Madison.V 话说老哥,标语那一行能隐藏吗?就是Not all heroes wear capes. Some wear overalls.这一行
2025年07月10日 14点07分
1