使用方法
- 用css中的display:none方法;
- 用chrome浏览器,右键审查,获得css路径,在按右键,审查,copy-selector;
- 使用stylish等插件;
虎扑css
.hp-threeNav,
body > div.hp-header.hp-header-A,
#tabs_header,
#sort,
body > div.hp-header.hp-header-B,
body > div.bottom_tools,
div > div.floor_box > table > tbody > tr > td > small {
display: none !important
}
豆瓣css
.group-board,
#group-info,
#db-nav-group{
display: none !important;
}
#content > div.grid-16-8.clearfix > div.aside > div:nth-child(2) {
display: none !important;
}
#content > div.grid-16-8.clearfix > div.aside > div.mod.side-nav {
display: none !important;
}
网页字体修改
* {
font-family: ‘华文黑体‘ !important;
font-size: 15px !important;
}
全局文字字体阴影渲染css
/* 2019.09更新 */
/*字体阴影*/
* {
text-shadow: 0.0em 0.0em 0.13em #37F !important;
font-family: Optima, ‘华文黑体‘ !important;
background-color: rgba(0, 0, 0, 0);
-webkit-transition: all 0.4s ease;
font-weight: 300;
line-height: 1.625;
font-size: 16px !important;
}
/*去除链接下划线*/
a {
text-decoration: none !important
}
/*淡蓝色文字效果*/
a {
-webkit-transition: all 0.3s ease-out;
}
a:hover {
color: rgb(224, 7, 43) !important;
text-shadow: -5px 3px 18px #39F !important;
-webkit-transition: all 0.3s ease-out;
}
/* 2018.09更新.
*{
text-shadow:0.0em 0.0em 0.13em #37F !important;
font-family:Optima, ‘华文黑体‘ !important;
}
body{
background-color: #F7F7F7;
-webkit-font-smoothing: subpixel-antialiased !important;}
a{
text-decoration:none !important}
a{
-webkit-transition: all 0.3s ease-out;}
a:hover{
color: #39F !important;
text-shadow:-5px 3px 18px #39F !important;
-webkit-transition: all 0.3s ease-out;}
*::-webkit-selection {
background: #333333 !important;
color: #00FF00 !important; }
*/
虎扑,豆瓣等用css发屏蔽广告代码