针对色影无忌新版(H5)论坛,调整界面元素比例。
色影无忌新版论坛界面调整 by butfly
Details
Authorbutfly
LicenseNo License
Category色影无忌
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 色影无忌新版论坛界面调整
@namespace github.com/openstyles/stylus
@version 1.0.1
@description 针对色影无忌新版(H5)论坛,调整界面元素比例。
@author butfly
==/UserStyle== */
@-moz-document domain("xitek.com") {
* {
font-family: "Yahei Consolas Hybrid"
}
}
@-moz-document regexp("https://(forum|h5).xitek.com/thread-\\d+-.*.html") {
/* 帖子内容 */
div.card.m-2.p-0 img {
max-width: 100%!important;
}
}
@-moz-document regexp("https://(forum|h5).xitek.com/forum-\\d+-.*.html") {
/* 帖子列表 */
span.series {
font-size: 12px;
}
thead th:nth-of-type(3) {
width: 60px;
}
thead th:nth-of-type(4) {
width: 60px;
}
thead th:nth-of-type(5) {
width: 40px;
}
thead th:nth-of-type(6) {
width: 30px;
}
thead th:nth-of-type(7) {
width: 100px;
}
td.text-center, td.text-end {
font-size: 8px;
}
}
@-moz-document regexp("https://(forum|h5).xitek.com/forum-\\d{1,4}-.*.html") {
/* 分论坛帖子列表忽略置顶 */
div.card.border-0:nth-child(1) {
display: none;
}
}
@-moz-document regexp("https://(forum|h5).xitek.com/forum-\\d{1,4}-.*.html") {
/* 分论坛帖子列表忽略置顶 */
div.card.border-0:nth-child(1) {
display: none;
}
}