S1手机触屏版样式
S1手机触屏版样式 by meursau1t
Details
Authormeursau1t
LicenseNo License
Categoryuserstyles.world
Created
Updated
Size2.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
初始化
Source code
/* ==UserStyle==
@name S1触屏版样式
@namespace bbs.saraba1st.com
@description S1触屏版样式
@author Meursau1T
@version 0.1
==/UserStyle== */
@-moz-document domain("bbs.saraba1st.com") {
/** ------------------------------首页-------------------------------- */
.bg {
background: rgb(246, 248, 235);
}
.hdc {
background: rgb(45, 45, 45);
height: 63px;
}
.nav {
background: rgb(45, 45, 45);
padding: 20px 15px 20px 10px;
}
.category .name {
color: #fff;
}
.hdc img {
visibility: hidden;
}
/** 新标题 */
.hdc::before {
content: 'Saraba1st';
color: #fff;
font-size: 24px;
line-height: 36px;
position: absolute;
height: 36px;
font-weight: 800;
top: 20px;
left: 20px;
}
.bm_h:hover {
background: unset;
}
.bm_h {
background: unset;
}
/** 版块标题 */
.bm_h > h2 {
background: none;
position: relative;
}
/** 版块标题加黑色引导块 */
.bm_h > h2::after {
content: "";
background: #000;
width: 6px;
height: 18px;
position: absolute;
/** (lineheight 54 - fontsize 18) / 2 */
top: 18px;
border-radius: 2px;
}
/** 版块标题去掉展开按钮 */
.bm_h > span {
display: none;
}
/** 版块样式 */
.sub_forum {
background: unset;
border: unset;
}
/** 版块选项样式 */
.sub_forum li {
background: #fff;
margin: 4px 0 4px 0;
border-radius: 4px;
}
/** 新帖数字样式 */
.sub_forum li .num {
background: unset;
color: #000;
}
/** 新帖数字前加号 */
.sub_forum li .num::before {
content: "+";
}
/** ------------------------------版块页-------------------------------- */
.icon_tu {
display: none;
}
/** 帖子标题 */
.threadlist li {
background: #fff;
margin: 10px;
border-radius: 4px;
}
/** 帖子回复 */
.threadlist .num {
background: unset;
}
/** ------------------------------帖子详情页--------------------------- */
.nav .name {
color: #fff;
}
/** 回复按钮 */
.nav .y {
background: unset;
}
.plc {
background: #fff;
margin: 10px;
border-radius: 4px;
}
}